4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: nurz on October 01, 2007, 05:14:11 PM

Title: Different sizes / versions of image
Post by: nurz on October 01, 2007, 05:14:11 PM
Hi, I did not find any mod so I wonder if one exists that offers this:

I have large pictures and I want to have a dropdown box on the details page right beside the image. Users can choose between different sizes and when they click on a button then a popup appears with the new / resized image.

For example: I have a 800 x 600 pixel image but user wants it in 640 x 480. So all he has to do is select the size from the dropdown and click on the OK button and then a script automatically creates a new image "on-the-fly" in 640 x 480 pixels.

Does such a mod exist? Also, which variable contains the actual image (eg. http://www.mydomain.com/data/media/myimage.jp) on details page?
Title: Re: Different sizes / versions of image
Post by: thunderstrike on October 01, 2007, 09:21:12 PM
This might help:

http://www.4homepages.de/forum/index.php?topic=1861.msg7846#msg7846
Title: Re: Different sizes / versions of image
Post by: nurz on October 02, 2007, 01:51:28 PM
Thanks but this mod does not actually change the image size "on-the-fly", or am I wrong? Because when I click the download button to download a 75x75 pixel for example (original image size is 100 x 100) I can download the file BUT when I try to open it ... it is empty, which means the data is corrupt?!
Title: Re: Different sizes / versions of image
Post by: n3w on October 02, 2007, 03:26:06 PM
nurz

Thunderstrike will make this mod if you offer $$$ ;)

Other try using some external script like: PHP Image Resize Script (http://tech.mikelopez.info/2006/03/02/php-image-resize-script/)

Just upload one big picture and resize on the fly with above script.

Thats all i know about this buddy
Title: Re: Different sizes / versions of image
Post by: mawenzi on October 02, 2007, 04:11:17 PM
http://www.4homepages.de/forum/index.php?topic=17870.0
Title: Re: Different sizes / versions of image
Post by: thunderstrike on October 02, 2007, 11:50:53 PM
Quote
Thunderstrike will make this mod if you offer $$$

Incorrect. This topic is no about charge after I post the topic ... I found solution after it.