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; I found out today, that if you have the "Anti Robot Registration Validation 1.0 + images " found at http://addons.oscommerce.com/info/1237 ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| " found at http://addons.oscommerce.com/info/1237 installed, then the validation image will not work, instead it will show the no image.gif This can be fixed, but it does remove the default no image function. I simply navigated to catalog/includes/functions/html_output.php under the new function introduced with "on the fly thumbnailer using GD library" called "the html image wrapper function" find: if no file exists display the 'no image' file if (!is_file($src)) { $src = "images/no_image.jpg"; } and change to: // if no file exists display the 'no image' file //if (!is_file($src)) { //$src = "images/no_image.jpg"; //} //above commented code breaks validation code when enabled!! This is just a workaround that works for me, Im not a programmer of php, if anyone can fix this so it also works with the no image function too, then it will be great! More...
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 01-13-2008 01:30 PM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 1 | 01-05-2008 11:13 PM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 10-08-2007 06:27 PM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 09-26-2007 05:11 PM |
| 'On the Fly' Auto Thumbnailer using GD Library | michael_s | New osCommerce Contributions | 0 | 03-12-2007 08:12 PM |