Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
vimala  
#1 Posted : Saturday, January 8, 2011 1:01:46 AM(UTC)
vimala

Rank: Member

Groups: Member
Joined: 11/16/2010(UTC)
Posts: 11

Hi,

I am using the aurigma image uploader 6.0. In that part is used the $imageUploader->addClientBeforeUpload("getAlbum"); function to change the action url during runtime.

Code:
<script type="text/javascript">
		function getAlbum() 
		{
			$.ajax({
				type : "POST",
				url	 : g_site_path+"/galleryupload/getactionurl",
				data : 'rand='+Math.random(),
				dataType : 'html',
				success: function(html){
					document.getElementById('actionUrl').value = html;
					getImageUploader("ImageUploader1").setAction(document.getElementById("actionUrl").value);
				}
			});
		}
		</script>


What is the alternate function for the addClientBeforeUpload() in aurigma image uploader 7.0. Also shall i use the above script function to change the action url. If not means how can i change it?

Regards,
Vimala

Edited by moderator Saturday, January 8, 2011 2:07:29 AM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Saturday, January 8, 2011 2:12:04 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,556

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Quote:
I am using the aurigma image uploader 6.0. In that part is used the $imageUploader->addClientBeforeUpload("getAlbum"); function to change the action url during runtime.


Please check BeforeUpload event:

Code:
$imageUploader->getClientEvents()->setBeforeUpload("getAlbum");
Best regards,
Fedor Skvortsov
Users browsing this topic
Similar Topics
Aurigma Image Uploader Issue (Discussions – ActiveX/Java Uploader)
by vimala 1/7/2011 6:16:01 AM(UTC)
Aurigma Image Uploader issue in firefox (Discussions – ActiveX/Java Uploader)
by vimala 12/2/2010 11:54:37 PM(UTC)
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.