PDA

View Full Version : oscThumb



michael_s
02-22-2010, 11:00 AM
If anyone wants to apply this great add-on to the pop-up images from the Product Info page as well, there are 2 simple steps to follow:

(1)Insert 2 new rows into the MySQL database 'configuration' table:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Pop-Up Image Width','POP_UP_IMAGE_WIDTH','450','The pixel width of the pop-up images from the product information page',4,11,NULL,'2010-02-22 01:01:00',NULL,'');
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Pop-Up Image Height','POP_UP_IMAGE_HEIGHT','','The pixel height of the pop-up images from the product information page',4,12,NULL,'2010-02-22 01:01:00',NULL,'');

(2)Open catalog/popup_image.php and change this line:



to this:



Note: the file attached is only a text file containing these 2 updates, and is NOT the full package. Make sure you install the full package before applying this change.

More... (http://addons.oscommerce.com/info/5491)