Product Attribute Pictures

Product Attribute Pictures (PAPs) For oscMax and osCommerce carts. 


This contribution is for any seller who is offering products using the Products Attributes feature that comes bundled with the oscMax distribution.If you have photos of the different product attributes (e.g you might have an item available in different colors), then this contribution provides a quick and easy way for your customers to look at all the different attribute pictures on the product_info page using automatically generated thumbnails without having to refresh the whole page each time they click a thumbnail.


It can handle multiple attribute names and values. There is no need for any Admin section configuration. Adding new product attribute pictures is simply a matter of naming and saving a file.


Requirements To use this contribution, you must meet the following prerequisites:

  • Your server must have the GD graphics library installed
  • You must have the Products Attributes contribution installed in osCommerce (most, if not all distributions of oscMax have it)
  • This version will only display cleanly with stores that use the full width of a 1024 pixel-wide screen. If your store is narrower than this, you will have to tweak the html code that will be added to product_info(.tpl).php. 4) You must be using product model numbers for your products.
  • All product attribute image files must be .jpg 

This version was tested using oscMax2 RC2 and RC3.0.1 with PHP v5.1.1 . It should work on other versions also. No database access is required. Filenames are used as metadata for images.



User List