Author Topic: Need a smaller size picture display on the detail page...  (Read 6873 times)

0 Members and 1 Guest are viewing this topic.

Offline fz6yamaha

  • Pre-Newbie
  • Posts: 2
    • View Profile
Need a smaller size picture display on the detail page...
« on: March 31, 2009, 10:57:13 PM »
Hi All, Great forum, thanks to all moderators and V@no that seems to answer every request in this forum as well.

I have search for this and I have found few options but so far no the one I need. I think I found a link with an example of exactly what I needed but I do not recall where the site is at.

What I want to accomplish is having smaller size pictures when they are display under details.html (smaller than the original)BUT I do not want to upload 3 sizes pictures (thumnail-midsize -original size) to accomplish  this. Right now when you click on a picture, if it is big you will have to scroll all over the screen to see it all.

Our images are about 2000pxs(w)x2000(h), sometimes bigger. I upload the photos manually and then create the thumbnails.
I've seen the big/ folder option, and another mode that will let me click on the image and open the photo certain size on a different window, but this is not what I want.

What I need is having a smaller picture size for display (on the detail page)  (lets say 500xsomething) and if you decide to download it you will get the original file 2000xbunch.

I know you may send me to the search and to FAQ, I have done it , but so far i have not seen a site with that example implemented.
Thank you all.




Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: Need a smaller size picture display on the detail page...
« Reply #1 on: April 01, 2009, 04:50:30 AM »
hi,
     you need to change the jpg.html  which is located in templates\xxxx\media folder.

after change :

Code: [Select]
<img src="{media_src}" border="0" alt="{image_name}" width="650px" /><br />


hope this helps...

Offline fz6yamaha

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Need a smaller size picture display on the detail page...
« Reply #2 on: April 01, 2009, 06:57:19 PM »
Batu544 you ROCK!!!!,

That is all I needed, you saved me a lot of time, I tried every other mod but was doing what I needed but this is great.

Thank you, Thank you much.


Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: Need a smaller size picture display on the detail page...
« Reply #4 on: April 02, 2009, 05:06:26 AM »
Hi,

and what's about smaller images :?:

http://www.ciccomputech.com/4images/data/media/2/IMG_2844.jpg
http://www.ciccomputech.com/4images/details.php?image_id=10


KurtW,
            I do not remember exactly !!! but I think long back you or some one in this forum has provided the modified jpg.html  to handle the smaller images.. just added some conditions in the same line ...

Now I am not finding that .. in this forum .. :(

 

Offline whosthis.ee

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Need a smaller size picture display on the detail page...
« Reply #5 on: April 08, 2009, 08:28:41 PM »
this is nice

but the height also has to change proportionately

ex if the original size of the image is 800x800 and im changing the width to 400px in the jpg.html, but the height is not changing it will be in 800px only

and the image will not look good

hey just crack this

it will be a wonderful effort  Smile