Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Adding Image Uploader to HTML Code (or to a website)
Rank: Newbie
Groups: Member
Joined: 2/14/2011(UTC) Posts: 5
Thanks: 3 times
|
Hi, I just Download and Install the Image Uploader 6.5 and I just dont know how to start. How am I be able to add it to my site? I read some procedure like... Quote:Adding Image Uploader to HTML Code Different browsers have different syntax to insert Java applets. None of browsers except of Internet Explorer can work with ActiveX controls. Hence, you may think that it is necessary to write different codes for different browsers to work with Image Uploader.
Fortunately, you do not need to do it. Image Uploader comprises a special helper JavaScript file called iuembed.js. This JavaScript unifies work with different browsers, as well as provides some handy features. You can learn about this script more detailed in the Image Uploader Embedding Scripts Library Reference.
So, to insert Image Uploader to the page, follow these steps:
Copy these files to your web server: ImageUploader6.cab ImageUploader6.jar iuembed.js Link iuembed.js with the page by inserting the following line in the beginning of the page: JavaScript <script type="text/javascript" src="iuembed.js"></script> Add JavaScript block in the position where you want to insert Image Uploader. This JavaScript should do the following: Create an instance of ImageUploaderWriter. If you do not want to use ActiveX or Java version, set the activeXControlEnabled or javaAppletEnabled correspondingly to false. If ActiveX version is enabled, specify URL to the ImageUploader6.cab file via the activeXControlCodeBase property. You can use relative URL. If Java version is enabled, specify URL to the folder where ImageUploader6.jar file is located via the javaAppletCodeBase property. You can use relative URL. If the JAR file is located in the same folder with the page, use ./. Configure Image Uploader by adding parameters using the addParam method. Call the writeHtml method. Here is an example of JavaScript that embeds Image Uploader into the page.
JavaScript <script language="javascript" src="iuembed.js"> </script> <script language="javascript"> var iu = new ImageUploaderWriter("ImageUploader", 650, 450);
// If you do not want to use ActiveX or Java version, set the appropriate // property to false. iu.activeXControlEnabled = true; iu.javaAppletEnabled = true;
iu.activeXControlCodeBase = "ImageUploader6.cab"; iu.javaAppletCodeBase="./";
// ... initialize params as described in the next topic ...
// As soon as you call this method, all necessary HTML code is inserted // into the page on the current position. Alternatively, you can // get the string with appropriate HTML code using the getHtml method, // and write it to the necessary position manually (maybe with some modifications). iu.writeHtml(); </script> But still I don't know where and how to begin with.. Help please! |
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, I created simple application, and attached it for your reference. Basic demo/ folder contains index.htm, upload.aspx, and gallery.aspx pages. Image Uploader 6 is embedded into the index.htm page as it is described in the documentation section quoted by you. Upload.aspx page is necessary to save uploaded files on the server, and gallery.aspx one is used to displayed uploaded images. Scripts/ directory includes ImageUploader6.jar (Java applet), ImageUploader6.cab (ActiveX control), and iuembed.js (client scripts). All of these files are necessary to add Image Uploader control to the web page. Uploaded files are saved in the Gallery/ folder. Please try this sample, and let me know if you have any additional questions. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Rank: Newbie
Groups: Member
Joined: 2/14/2011(UTC) Posts: 5
Thanks: 3 times
|
Hello Dmitry, Thanks for the reply. your attachment contains these: Quote:Basic Demo folder Gellery folder Scripts folder Common.ccs Web.config
Basic Demo - gallery.aspx - index.htm - upload.aspx
Gallery - Thunbnails
Scripts - ImageUploader6.cab - ImageUploader6.jar - iuembed.js Do I have to extract the ImageUploader6.cab? On the documentation section says that I need to copy these files: mageUploader6.cab ImageUploader6.jar iuembed.js Just copy? where to paste them? how or should I upload those files to my site? I really don't know where & how to begin with :( sorry.. Maybe I need a step by step procedure.. Could you help me with these? And sorry for my english too.. I know I'm not good at it! PS. What is a web server? do I have to buy a web server? Is it the same as web browser? or like weebly? coz I'm creating a site using weebly. Thanks a lot Dmitry, your help is very much appreciated. Don't get tired for helping me please :) |
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, Please read detailed information on web servers here. Could you please clarify for what purposes you need to use Image Uploader on your site? Actually, I am not sure (rather I do not think) that weeble.com service allows to add third-part software. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Rank: Newbie
Groups: Member
Joined: 2/14/2011(UTC) Posts: 5
Thanks: 3 times
|
Hello,
Ok, to clarify things, I want my member to upload their Images and profile Picture using my site. How can they do that? I think the ImageUploader is to be use for that. Is that possible? |
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello,
Thank you for sharing this details with me.
I checked weebly.com service myself. Unfortunately, it is impossible to add Aurigma Image Uploader to web pages, which are created with the help of weebly. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 2/14/2011(UTC) Posts: 5
Thanks: 3 times
|
Thank you so much Dmitry, So it's Impossible for me to add ImageUploader to my site? how about Wix.com? or If I created another website, could you advice me where to start or a free Host maybe? for me to be able to add ImageUploader. :) Cher :) Edited by user Thursday, February 17, 2011 5:10:27 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, Quote:So it's Impossible for me to add ImageUploader to my site? how about Wix.com? Unfortunately, it is impossible to add Image Uploader to any similar service, which allows creating sites using prepared elements. Quote:or If I created another website, could you advice me where to start or a free Host maybe? Please read information on Image Uploader in the How Does Image Uploader Work article. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Adding Image Uploader to HTML Code (or to a website)
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.