Quote:
Originally Posted by TelaFirma
This is something that I have thought about but it is not as easy as outlined above. Since this is done as a Smarty Plugin, most of the parameters that are used are fed to it at the time the template is called. It would be a very complicated routine to go through all the templates, look for all calls to the plugin, log all the parameters that were passed, add those to the config parameters and come up with a list of MD5 hashes and then compare them against the actual files, deleting those that are lot listed.
|
Hmmm...that's about what I figured you would have to do, I guess I just didn't see it as being all that complicated, especially since there are only certain templates (which you know ahead of time, unless somebody has hacked the mod into other places) that actually make calls to the plugin and only a few different config parameters that impact the generated images. Admittedly, I don't know the guts of the code and may be overlooking something that complicates matters. Not a big deal, though, just a thought.
Quote:
Originally Posted by TelaFirma
I would need to write a routine that deleted all .jpg, .gif and .png files. This - of course would force the mod to have to regenerate all the images again, plus this is something that can easily be done via FTP.
|
Yeah, I definitely wouldn't want that. A routine that lists which ones are not used would be useful, but not so much a routine that just deletes all images.
Quote:
Originally Posted by TelaFirma
Lets back up a little on what is going on. If you only have one product image, this should be loaded ad the product thumbnail (not the product image). If you ALSO want the small thumbnail of this displayed below the main product image on the actual product page, you will need to check the option to "Display Main Product Thumbnail as first Detail Image thumb below the main product image on the product page".
|
Right--you told me this before, and that's exactly what I did, but I still do not get image thumbs below the product image
unless there is also a Detailed Image specified for that product.
Quote:
Originally Posted by TelaFirma
In addition as we have talked about before, if you only have ONE image, it should be loaded as the Product Thumbnail (as defined by X-Cart). If you want this image to also be displayed as a thumbnail below the main product image on the product page, then check the third option listed above (Display Main Product Thumbnail as first Detail Image thumb below the main product image on the product page).
|
Again, that's exactly what I did.
Quote:
Originally Posted by TelaFirma
Keep in mind - this goes right back to the other question about why there are two popup images that are identical. If you choose to display the Product Thumbnail again below the product image on the product page - you are duplicating images and you will have two popups that are the same. There is no way around this since they are the same image.
|
I understand that, but why can't the code easily figure out that these are the same image and only use one of them in the pop-up image list? If, for some reason that I am not grasping, the code can't figure that out to get rid of the redundancy in the pop-up dialog, I would prefer to never have a pop-up from the product image, but only from the thumbnail...and, of course (as discussed previously), I wish the thumbnail would always display, even in the absence of a Detailed Image being defined in X-Cart.
Thanks for your time! I hope that was clear, but let me know if you don't understand what I'm saying here.