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

Notification

Icon
Error

Options
Go to last post Go to first unread
Nathans  
#1 Posted : Wednesday, September 29, 2010 11:17:54 PM(UTC)
Nathans

Rank: Newbie

Groups: Member
Joined: 9/29/2010(UTC)
Posts: 8

Thanks: 3 times
Thank you for this Great Tool for Photographers!

We want to buy this version for Joomla and VirtueMart!


I am currently testing the plugin for virtuemart and joomla!
Everything is OK but I can not send images resized

My question is:
Is it possible to send resized images with the version of Aurigma for VirtueMart and Joomla, (not the Source File)!

If Yes, please send me the procedure to do this!!!

Thank you very much in advance for your answers

Dmitry.Obukhov  
#2 Posted : Thursday, September 30, 2010 4:03:05 PM(UTC)
Dmitry.Obukhov

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 Nathan,

Thanks for posting your question.

As far as I understand, you need to send thumbnails (resized images) but not source files. It is simply to implement this.
You should change imageuploader.tpl.php file, which is located: administrator\components\com_aurigmaphotoorder\templates\.To send thumbnails you should disable source file replacing this line:
Code:
iu.addParam("UploadSourceFile", "<?php print $options['upload_source']; ?>");

with the new one:
Code:
 iu.addParam("UploadSourceFile", false);

Then you should configure thumbnails. Just add these strings to your script:
Code:

iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "500");
iu.addParam("UploadThumbnail2Height", "500");

Also, you need to change server script a bit. Please open aurigmaphotoorder.php file (administrator\components\com_aurigmaphotoorder\classes\) and replace:
Code:

$file = JRequest::getVar("SourceFile_$i", '', 'files', 'array' );

with:
Code:
$file = JRequest::getVar("Thumbnail2_$i", '', 'files', 'array' );

Please note that Thumbnail1 has been already used by design reason. You can use Thumbnail2, and Thumbnail3 only.

If you have any additional questions, please feel free to let me know.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Nathans  
#3 Posted : Thursday, September 30, 2010 5:57:11 PM(UTC)
Nathans

Rank: Newbie

Groups: Member
Joined: 9/29/2010(UTC)
Posts: 8

Thanks: 3 times
Hello Dimitry and thank you for this quick answer!
We are very happy to know that it is possible to send resized images! We have already tested and everything is ok again! (Even if the conversion rate can not exceed 1700x1700, with the standard version of course)
Now our choice is almost done to buy your plugin Aurigma pourVirtuemart!
One last question:
Is it possible that the file name (the name of the photo) received either only SourceFile? Because we receive in the folder something like SourceFile_Thumbnail2. So we just need the original file name SourceFile!
Thank you again for this wonderful tool!
Regards Nathan!
Dmitry.Obukhov  
#4 Posted : Thursday, September 30, 2010 6:46:33 PM(UTC)
Dmitry.Obukhov

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 Nathan,

Thanks for your comments.

Unfortunately, it is not possible to save thumbnails with source file name. Only this way: SourceFile_Thumbnail2.jpg.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.