
Originally Posted by
jaycode
No prob, will do,
dang its really, really hard to combine this with IH2. I think the best I can do for now is fish for IH2's high quality image resizing technique...
I hope I can help out here. If a few brave souls want to help test this hopefully we'll all benefit until Jay has some free time to work on the Image Handler integration.
I am having much better luck with the file I've attached. If anyone wants to try it out for themselves simply replace the ais_image_functions.php file found in admin->inclueds->functions->extra_functions . Then go into the image swapper manager and give it a shot on a test product.
PS, the first time I tried this I simply renamed the file that was on the server and then uploaded the one I'd edited and got this message when I went into the image swapper manager:
Fatal error: Cannot redeclare upload_resized_image() (previously declared in /admin/includes/functions/extra_functions/ais_image_functions_jay.php:14)
I simply backed up the file that was there then deleted it the replaced it with the new one and was fine.
If it doesn't work for you please create a php file with the following code and upload it to your server, then go to that page and copy and paste the results.
PHP Code:
<?php
var_dump(gd_info());
?>
For reference the version on my server is:
GD Version"]=> string(27) "bundled (2.0.34 compatible)
From what I understand about gd2, bundled is the key word for using some of their functions.
Good luck!
Bookmarks