Author Topic: [Detail Page] Resize detail picture  (Read 6066 times)

0 Members and 1 Guest are viewing this topic.

Offline Youkai

  • Pre-Newbie
  • Posts: 3
    • View Profile
[Detail Page] Resize detail picture
« on: May 05, 2003, 11:47:18 AM »
I would like to fix the width of the image at 640 pixel when the image is biger than 640 (on Width)

for exemple:

If  orginal_image_size >640 (pixel)
than resized orginal_image_size's Width to 640 (for display on detail page)
else if orginal_image_size <640(pixel) on this case, do nothing and display the image with his original size


anyone know do it?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Detail Page] Resize detail picture
« Reply #1 on: May 05, 2003, 12:01:42 PM »
AdminControlPanel -> auto image resizing
or
install a MOD "Auto image resize on upload"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Youkai

  • Pre-Newbie
  • Posts: 3
    • View Profile
[Detail Page] Resize detail picture
« Reply #2 on: May 05, 2003, 12:37:20 PM »
Quote from: V@no
AdminControlPanel -> auto image resizing
or
install a MOD "Auto image resize on upload"


Thank V@no, that's i know but my question isn't about image resize on uplaod

BUT,  I would like  to apply the resize function only on html templat and not on image physical size

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Detail Page] Resize detail picture
« Reply #3 on: May 05, 2003, 12:53:19 PM »
long time ago I have posted little tutorial how to do so...
http://4homepages.de/forum/viewtopic.php?t=2890
then u'll need edit /templates/<yourtemplate>/media/  templates.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Youkai

  • Pre-Newbie
  • Posts: 3
    • View Profile
[Detail Page] Resize detail picture
« Reply #4 on: May 05, 2003, 01:45:33 PM »
Thank very much V@no
That's Works!  :D

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
[Detail Page] Resize detail picture
« Reply #5 on: May 08, 2003, 06:01:41 AM »
hey vano -

does the routine shown here affect the original image's size (as stored online) or only how it is displayed in the detail page??

http://4homepages.de/forum/viewtopic.php?t=2890

this appears to be what i want to use if so .. otherwise i guess i need to follow the coding that you showed me in this thread:

http://4homepages.de/forum/viewtopic.php?t=3236

thx
bruce

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Detail Page] Resize detail picture
« Reply #6 on: May 08, 2003, 08:16:56 AM »
Quote from: bgmurphy
does the routine shown here affect the original image's size (as stored online) or only how it is displayed in the detail page??

http://4homepages.de/forum/viewtopic.php?t=2890

No, it doest affect the original size, just the way it displayed.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)