Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,513,033

Results 1 to 20 of 7,094
17 May 2006, 11:27 AM
#1
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Just found out the new forums are in effect ;-) Here's the new support thread for Image Handler 2 picking up where the old support thread left. I assume you have read the IH2 documentation already.

Cheers,
Tim

18 May 2006, 4:04 AM
#2
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Heeelp Tim!!:cry:

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.

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

When I enter my front end, I receive this orror:

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

Can you help me out with this one?

Thanks!
Mike

18 May 2006, 5:16 AM
#3
prellis avatar

prellis

New Zenner

Join Date:
Jul 2005
Posts:
46
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

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....

thank you

18 May 2006, 12:39 PM
#4
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I also added this to the IH forums, just to cover my bases.

Thanks for the terrific addon. I won't waste your time. I have B'd-up my site as suggested and have read carefully about not overwriting files. But before I push the IH files to my site via FTP, I wanted to be get some clarity on a something.

If within the IH install .zip, there are files, (.gif's, .jpg's, .php files, css', etc.) that have the very same file name as files currently housed in identical directories on the site, I should move ONLY those files that are different in the IH install .zip to my site?

Naturally, moving identical files over will overwrite what is currently on the site, but I see under the admin/includes/... (purely for example) even images in the IH install .zip are duplicate files names - in some cases - to those on the site.

For instance, does IH need me to upload "icon_xxx.gif" to my site if I already have, in the very same directory, a file named, "icon_xxx.gif?"

This question applies to all duplicate files names I am seeing - not just images. As a matter of fact, icon images are my last concern.

I just don't want to replace even a single file that has a special purpose within my existing site that could be replaced by an IH file that, though named the same, has an entirely different IH-specific function and is thus intended to impact an entirely different string of events.

Thank you in advance.

18 May 2006, 12:55 PM
#5
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thanks anyways, I found the answer in the old thread. I pasted it here so anyone who has the same problem, could be helped.

"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."

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.

Mike:smile:

18 May 2006, 1:33 PM
#6
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Why did I open my mouth? Lol!

Problem here:

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:

Fatal error: Call to undefined function: zen_calculate_image_size() in /admin/includes/modules/product/collect_info.php on line 474

Any ideas?

Thanks for your help!
Mike

18 May 2006, 10:18 PM
#7
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

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.

Kind regards,
Tim

18 May 2006, 10:46 PM
#8
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I'm a dope. Forgot to ask a followup question. With IH for v1.3, I can display multiple images for each product and have each have hover enlargement behavior?

(I need 4 per product in most cases) It's a sports memorabilia frameshop and the client wants the frame and matting choices (4 per product) to have a hover effect. This is doable?

18 May 2006, 11:05 PM
#9
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

You can have as many additional images as you want. It is just like stock Zen Cart with server side resizing and a convenient interface to add the additional images.

Cheers,
Tim

18 May 2006, 11:09 PM
#10
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

timkroeger:

You can have as many additional images as you want. It is just like stock Zen Cart with server side resizing and a convenient interface to add the additional images.

Cheers,
Tim

Thanks for being johnny on the spot with the replies. Yeah, I haven't gotten my head around how this stock multi-image thing works, but it appears I need to name them with the same suffix and put them in respctive folders named, med and lrg. This is my guess anyhow. Hopefully, your UI is money in this area and helps this grasshopper find his way. DANKE!

18 May 2006, 11:47 PM
#11
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Have a look at this section of the documentation It features a partial screenshot of the manager page. The first row is the base image (various sizes), the second and third row are the additional images. If you click the add button (the one to the right which is cut off, so you can't actually see it), you are able to specify another additional image. You can delete the images, too or upload a different image instead of it.

Cheers,
Tim

edit: You can provide custom suffixes or have them automatically created. No need to rename your files prior to uploading them as additional images.

edit: As long as you don't want images with different content to show for medium and large images, you needn't worry about _MED and _LRG extensions.

19 May 2006, 12:32 AM
#12
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

The written word is being lost on me here. I'll try to simplify my explanation. I have more than one image uploaded to the site via IH for this product: http://legendsgallery.net/ecomm/catalog/index.php?main_page=product_info&products_id=180

Yet, I see only one displayed and I only see the hover behavior from the general products listing page - not when I visit a single product page, which is where I would like to have multiple images displayed, with each having the hover behavior.

This way I don't need to define framing and matting attributes for every last product I put up here.

I'm trying to understand, so please be patient with me. Thanks in advance.

19 May 2006, 1:37 AM
#13
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I got it! Took 3-wks to achieve this result, but I got it! Thanks Tim. Feel free to see the result of my toil and your headache dealing with me.

http://legendsgallery.net/ecomm/catalog

Not much there yet, and the css needs some love, but it's getting there.

21 May 2006, 5:57 AM
#14
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thanks Tim! you are very good explaining things :smile:

I messed up my cart three times this week, trying to install IH, lol. Luckily I had previous backups so it was not a major problem. I will try what you say and report back.

Cheers,
Mike

22 May 2006, 11:27 PM
#15
rotozuk avatar

rotozuk

New Zenner

Join Date:
Apr 2006
Posts:
27
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Just thought I'd share my success with IH2. Sometimes it is nice to hear the good.

I just downloaded it today, backed up everything, followed the directions, and had it up and running on the first try. Great job!

Thanks, and will send a donation when the store goes active.

-Wayne

23 May 2006, 3:15 AM
#16
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

is anyone else having issues with IH2 & getting html area to activate?

related post:

http://www.zen-cart.com/forum/showthread.php?t=36094

it is possibly an issue with html_ouput file???

23 May 2006, 12:24 PM
#17
labrat avatar

labrat

Zen Follower

Join Date:
Apr 2004
Location:
Australia
Posts:
136
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Please look at my site https://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.

Thanks, Rob

24 May 2006, 3:03 AM
#18
muddler avatar

muddler

Zen Follower

Join Date:
May 2006
Location:
Connecticut
Posts:
118
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I have two hopefully simple questions for IH2.

  1. Can you, and if so how do you change the size of the medium image ? My small image hoover displays a medium image popup nearly identical to the small image's size.

  2. The hoover popup displays the product name also (this looks great) but another product name popup is overlaid on top of it. Can I somehow turn the second popup with just the product name off ?

Adv<thanks>ance

24 May 2006, 3:36 PM
#19
ben_golant avatar

ben_golant

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

If I have 'IH zoom small images' set to Yes - my whole site jumps and down.

Also - I have a product here http://www.jtsmotosports.com/zenshop/index.php?main_page=product_info&cPath=12_83&products_id=723

with 2 addditional images loaded. If you click on the 'larger image' link for those images - they display the large image for the primary product image not their own larger image.

Thanks

24 May 2006, 6:05 PM
#20
graham avatar

graham

New Zenner

Join Date:
Apr 2006
Posts:
7
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I've installed IH2 and everything seemed OK - got the message it had installed OK, etc. However, the only thing that appears to be working is the automatic re-sizing of images when I upload them. [My php does have the GD libraries.]

I don't see the small icon between the copy and the attributes icon to access the manager page of Image Handler for any product via Admin → Catalog → Categories/Products.

Also, watermarks don't show up on any image size and none of the hover effects appear to be working. [I've checked that I have the relevant feature selected via Zen Cart Admin Panel Configuration → Images.]

I'm a newbie to Zen Cart so I may have overlooked something really simple.

Can anyone advise, please?