What I do for situations like what you’re describing is use a combination of PHP Thumb (
http://phpthumb.sourceforge.net) which is great for resizing images (creating Thumbnails, etc.) and then for enlarging the image, I always use lightbox and PHP Thumb together. Here’s an example of a page on a site I designed where the client uploads their image through the T.V., then the thumbnail is created by PHP thumb. Then for resizing the image for enlargement, PHP thumb resizes the image and lightbox puts it up. See an example here:
http://finelinewood.com/57.html ... most of the site has images resized and enlarged using this process.
Now if the client doesn’t want the product to have a large image the visitor can click on, this is where PHx comes in handy (
http://modxcms.com/PHx-1006.html). It allows you to set conditions. You may by default have:
<a href="[*img large*]">[*img small*]</a>
And by the way, are you having the client upload a small and large image? It would be easier to just have them upload the image (large one), and have it resized by PHP Thumb. In the example below, I’m going to assume we remove a T.V. for both a small and large image b/c only 1 is actually needed (i.e. [*image*]). Hope that makes sense.
If you set a selection T.V. for this image, you can set a select box or radio options for the client to choose from for that image. So if the client doesn’t want for that image to be enlarged, you would have a T.V. they choose. Based on what they choose, PHx would output the appropriate code for example here:
[*image_switch:is=`off`:then=`{{chunk_thumbnail_no_link}}`:else=`{{chunk_enlarge}}`*]
If you are using PHP Thumb and lightbox as in the example link I provided above, the chunks would have the following value:
{{chunk_thumbnail_no_link}} would have:
<img src="assets/snippets/phpthumb/phpThumb.php?src=[*image*]&w=100&h=100&zc=1" alt="[*pagetitle*]" />
{{chunk_enlarge}} would have:
<a href="assets/snippets/phpthumb/phpThumb.php?src=[*image*]&w=700" rel="lightbox" title="[*pagetitle*]"><img src="assets/snippets/phpthumb/phpThumb.php?src=[*image*]&w=100&h=100&zc=1" alt="[*pagetitle*]" /></a>
And by the way, why exactly do you need a whole other page to list out all the images? You can easily (using the info I provided above) have thumbnails listed out on the page with the product. Again, using PHx, PHP Thumb and lightbox, you can have it set so the client can have say for example 8 images. If they don’t need that many, maybe only 1, PHx can handle that. I can see a similar situation as to what you’re describing on another site I designed awhile back. The client wanted to be able to put up pictures of their property on the page itself (see here:
http://rent2ownhomesonline.com/10085-Canyonwood-Lane.html) ... I set up 7 image T.V.’s for them to be able to upload the images. If they didn’t use all 7 (or only 1 for that matter), PHx would not output anything for that image.
Hope that helps.