Web Photo Gallery only using last image dimensions for all images

D
Posted By
Durghan
Oct 15, 2005
Views
323
Replies
2
Status
Closed
Hello to everyone from newbie me! I am adapting the Table 1 Web Photo Gallery for use with a dreamweaver plug in called Just So Picture Window 3 from Valley Web Designs (www.valleywebdesigns.com). I have almost everything working as well as I think can be expected with one exception. Even though image thumbnails get generated and setup with correct dimension, the larger dimensions are aquired from only the last image in the list and those diemsions are applied to ALL the images.

For an example of what I mean, look here <http://www.vorteximaging.com/davew/problems/>

Any help would be greatly appreciated. Thank you!

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

L
LenHewitt
Oct 16, 2005
Your script is opening a new window at 795 x 615 for every image.

The script in jspw3_pop.htm is sizing the image to that size minus a padding allowance.

You would need to change the code in your thumbnail page to open the window at an appropriate size and aspect ratio for the image.
D
Durghan
Oct 16, 2005
Hi Len, that is exactly what I’m getting at. In the locations where you see the dimension values, my thumbnail template file used by Photoshop has %IMAGE_HEIGHT_NUMBER% and %IMAGE_WIDTH_NUMBER% in those places and yet it only inputs the values from the very last image even though it enters the corrects values for all the thumbnails. I noticed that even though I don’t want to use them, the SubPages are still being generated and they are getting the correct values. Are these Image tokens not usable in the thumbnail file? Why would it make a differance, it get’s at least one value correct?

Thanks!

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections