This is a discussion on 'On the Fly' Auto Thumbnailer using GD Library within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This update correct a bug in the product_thumb Catalog file. Without this fix you will not be able to see ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| This update correct a bug in the product_thumb Catalog file. Without this fix you will not be able to see the product images but just create them. Here is the fix: // create thumbnail directory if does not exist //$tmp_path = str_replace(basename($filename), '', $filename); //if (is_dir($tmp_path) == false) mkdir($tmp_path); function modify_tn_path($file) ....... As you can see the $filename variable isn't yet assigned in this point of the code and so the code fails. Sorry for my english I hope you have understood what I have made. However I have attached the patched file so you have just to replace this in your catalog (or root) directory. Bye More...
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 03-25-2007 07:11 AM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 03-23-2007 11:00 AM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 03-12-2007 08:12 PM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 03-11-2007 11:00 AM |
| Dynamic Images / Auto Thumbnailer / Zoom Image Module? | cTak | osCMax v2 Customization/Mods | 2 | 01-16-2006 11:56 AM |