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.htmsetDropFilesHereImageFormat 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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 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.phpIt 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
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/7/2010(UTC) Posts: 12
|
Awesome Fedor. I will dig into that sample. Thank you!
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/7/2010(UTC) Posts: 12
|
Worked like a charm! Thanks again.
|
|
|
|
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.