osCommaniak Posted May 12, 2009 Posted May 12, 2009 Image Mix This contribution contains: 1. oscThumb (v1.0.1), which offers: - server caching - watermarking - security against URL manipulations - some display options, like: frame around your images or buttonize them - new size of parent image on product_info.php page (http://addons.oscommerce.com/info/5491) 2. More Pics 6 (v1.4.3), which offers: - adding up to 6 images - deleting images from products/server - various display settings on Product Info page (location, grouping, size of table with extra images) (http://addons.oscommerce.com/info/1611) NOTE: This version is prepared for a fresh installation of osCommerce 2.2RC2a Here you can see how it works: http://www.novaxim.linuxpl.com/oscDemo/index.php Quote
sitespt2 Posted August 1, 2009 Posted August 1, 2009 Hi! I'm having a problem here with my XAMPP installation on MAC. No pictures are visible if I turn oscThumb on I checked and phpThumb/cache is 777 but I don't see any pictures there when I add a product. Maybe a wrong path? I have define('DIR_FS_CATALOG', '/Applications/XAMPP/xamppfiles/htdocs/store/'); Can be a problem from something related to this? Thanks to all, JM Quote
osCommaniak Posted September 9, 2009 Author Posted September 9, 2009 Maybe a wrong path? Yes, this is problem with path. I found this solution for XAMPP on the MAC: 1. Open catalog/phpthump/phpThumb.config.php and find this line: $PHPTHUMB_CONFIG['document_root'] = DIR_FS_CATALOG; // oscThumb: added osCommerce directory and change to //$PHPTHUMB_CONFIG['document_root'] = DIR_FS_CATALOG; // oscThumb: added osCommerce directory and after this add this liine: $PHPTHUMB_CONFIG['document_root'] = here input your full real path If you have problems still, then do it: 2. Open catalog/oscthumb.php and find this line: chdir(DIR_FS_CATALOG); and change to //chdir(DIR_FS_CATALOG); This is all to work properly. Please, notify me when I committed mistakes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.