Author Topic: Different sizes / versions of image  (Read 4626 times)

0 Members and 1 Guest are viewing this topic.

Offline nurz

  • Newbie
  • *
  • Posts: 20
    • View Profile
Different sizes / versions of image
« 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?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nurz

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Different sizes / versions of image
« Reply #2 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?!

Offline n3w

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Different sizes / versions of image
« Reply #3 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

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

Thats all i know about this buddy

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Different sizes / versions of image
« Reply #5 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.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?