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

Notification

Icon
Error

Options
Go to last post Go to first unread
Brainwrek  
#1 Posted : Friday, April 9, 2010 1:23:00 PM(UTC)
Brainwrek

Rank: Member

Groups: Member
Joined: 4/7/2010(UTC)
Posts: 12

I'm testing Image Uploader, and it's fantastic. But I haven't been able to figure out the proper syntax for the DropFilesHereImage. This is what I have:
Code:
$imageUploader->setDropFilesHereImageFormat("Url=gfx/drag-n-drop.gif;width=65;height=105;position=TopCenter");

But this is the error I'm getting:
Code:
Fatal error: Call to undefined method ImageUploader::setDropFilesHereImageFormat() in /web/sites/sdfgweg356/000000.com/uindex2.php  on line 48

According to this page:

http://www.aurigma.com/docs/iu/...ryImageUploaderClass.htm

setDropFilesHereImageFormat should be valid, so my syntax must be wrong.

Any ideas?

Edited by user Friday, April 9, 2010 7:30:49 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Friday, April 9, 2010 7:37:29 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Thank you for the problem report.

We confirm the mistake in the documentation.

If you want to check the DropFilesHereImage then please Robust Upload sample:

<Image Uploader Installation Folder>\Samples\PHP_Library\RobustUpload\index.php

It shows how to specify image format of buttons. You can use a similar code for DropFilesHereImage:

Code:
$f = $iu->getDropFilesHereImageFormat();
$f->setWidth(65);
$f->setHeight(105);
$f->setPosition('TopCenter');
$f->setUrl('gfx/drag-n-drop.gif');

Best regards,
Fedor Skvortsov
Brainwrek  
#3 Posted : Friday, April 9, 2010 9:22:39 PM(UTC)
Brainwrek

Rank: Member

Groups: Member
Joined: 4/7/2010(UTC)
Posts: 12

Awesome Fedor. I will dig into that sample. Thank you!
Brainwrek  
#4 Posted : Friday, April 9, 2010 9:31:32 PM(UTC)
Brainwrek

Rank: Member

Groups: Member
Joined: 4/7/2010(UTC)
Posts: 12

Worked like a charm! Thanks again.
Users browsing this topic
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.