I just installed your last version of IH for ZenCart 1.2.7 and I cannot access my admin site.
When I try to enter my ZC admin, I receive this error.
When I enter my front end, I receive this orror:Code:Fatal error: Cannot redeclare zen_get_small_image() (previously declared in /home/mysite/public_html/shop/includes/functions/extra_functions/functions_images.php:302) in /home/mysite/public_html/shop/includes/functions/extra_functions/functions_bmz_image_handler.php on line 86
Can you help me out with this one?Code:Fatal error: Cannot redeclare zen_get_large_image() (previously declared in /home/mango05/public_html/compras/includes/functions/extra_functions/functions_bmz_image_handler.php:95) in /home/mango05/public_html/compras/includes/functions/extra_functions/functions_images.php on line 226
Last edited by MikeX; 18 May 2006 at 05:06 AM.
I downloaded the IH2 with a few promblems but was able to go back through and fix them (I had a previous version installed)...
I have been able to add photos (super quick thank you)...However, I haven't figured out how to add additional images. If I add them like I do the base images, it renames them correctly base_01....but they aren't showing up ???? I searched but couldn't find an answer via the forum or your site....
Thanks anyways, I found the answer in the old thread. I pasted it here so anyone who has the same problem, could be helped.
I had the old release of Image handler (I didnt even know that). So I just deleted the files indicated above and everything is perfect now."You seem to have an old Image Handler 1.x installation before installing IH2. You need to delete the old includes/functions/extra_functions/functions_images.php and admin/includes/functions/extra_functions/functions_images.php."
Why did I open my mouth? Lol!
Images in my site have dissapeared! In my homepage, they are gone, they just appear if I enter a category and not all of them. In the products info pages, I have lost my images too.
In the admin, Im receiving this error when I enter to Catalog/ Categories / Products/ Product:
Any ideas?Code:Fatal error: Call to undefined function: zen_calculate_image_size() in /admin/includes/modules/product/collect_info.php on line 474
Thanks for your help!
I'm sorry there is no easier way to update from an old image handler installation to the new one. Some files are not needed anymore and since the resizing went from admin side to the catalog side (on page request), some files in the admin section need to be replaced by their stock zen-cart equivalents.
The most generic way to update from a previous image handler installation would be as follows (I suppose):
Have a look at the old image handler zip. If you don't have it anymore, you should be able to retrieve the latest of the old 1.x releases on the breakmyzencart attic page. Replace every file on your server which matches the ones found inside the zip with it's stock zen-cart version. If there are no stock equivalents, delete them. (Pretty much a deinstallation). You shouldn't need to replace your template files as some functions have been added for backwards compatibility. Then go ahead and install the IH2 release.
I know, this is quite tedious and you might not need to replace all the files but as I said there is no easy way and I just can't know every possible problem that might surface since the possibilities of customizations are many. So apply the steps above with caution and backup your system before you start!
@Scott:There is just one additional icon which image handler needs, the other icons are modified to provide a more consistent look. All other binaries are needed. You can safely skip the duplicate icons and you can safely overwrite those icons, it's your choice. You should check your php files though, if they are already on your server. Image Handler 2 won't work if you miss a file provided in the zip, so you need to either overwrite or merge the matching php files. You can't just upload a part of it.
Please look at my site www.musicplace.com.au/catalogue
Can anyone enlighten me as to why the no_picture.gif will not show on the index page but it does show on the product page?
I have my no_picture.gif in the root of the image directory.
Just refresh your screen until you find a product without an image. I have left the image field blank for products without an image and have set up IH2 correctly...I think.
My Zen site:
The Music Place
I sell lingerie and need to display different photos for the verious colours of my products.
I want this to display on the more information page of my products.
I had it working without this add on, but now I can't work out how to get the additional images to show up.
Can anyone help on this issue. It's a big one for me.
Much thanks in advance.
This is covered in the readme BTW... Here is the LIKELY problem.. If your main product image and your additional images are not all the same filetype, then your additional product images WILL NOT DISPLAY. Image Handler DOES NOT KNOW the difference between a JPG or PNG file.. It merely uploads the files you select and re-names correctly them to follow Zen Carts rules for additional product images.. IF your images are of all different filetypes (Main image is PNG and additional images are JPGs for example) then your additional product images WILL NOT WORK
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
They are all already named properly as well because I originally had them all working (additional images to) without using IH2.
PI5038 (main image)
PI5038_01 (second image)
When I installed IH2 I removed all of my images from my server that I had originally uploaded so that I could upload them using IH2.
I uploaded my main image via IH2.
Then I clicked on (Click to add a new image to this product) to upload the additional image for my product.
It is showing under IH2 but not under the products more information page.
I also have ADMIN > CATALOG > PRODUCT TYPES ... Product - General (Click Edit Layout button), setting for: Show Product Additional Images
... is set to 1.
Do you have any other ideas as to why it would not be showing up?