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,510,664

Results 2,721 to 2,740 of 7,094
9 Jun 2008, 12:19 AM
#2721
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

alanekilauea:

This is an awesome mod! I am a bit confounded with my presentation however and I hope someone can help me out. The hover effect is working on my sideboxes (featured, what's new) but not on the product listing or new products center box. I have made sure all the contrib's files were transferred and it is working beautifully resizing and where it does hover but I don't know how to get it show the hover on the product listing.

Catalog: http://www.dichroicdesign.com/catalog/

Help, please?

Thank you,
Alane

Please check that the Small Image Dimensions match the dimensions of the image your hovering over.

Options are under Configuration :: Images.

Example:

The following settings won't allow a hover to be shown for the "New Products" area:

> Small Image Width: 150px

Small Image Height: 120px

Image - New Products Width: 120px
Image - New Products Height: 100px
But by changing your settings to one of the following two ways, will:

> Small Image Width: 150px

Small Image Height: 120px

Image - New Products Width: 150px
Image - New Products Height: 120px

OR

Small Image Width: 120px
Small Image Height: 100px

Image - New Products Width: 120px
Image - New Products Height: 100px
Notice how the settings now match ... Which one you choose is based on your need.

9 Jun 2008, 12:22 AM
#2722
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

Porkyboy:

Hi, I was wondering how I can remove the IH2 files from my install.
Currently I have to copy and rename 2 image files each and every time i add a product and this is annoying to say the least.
I dont want to fix it- just remove it.

Many Thanks

Why do you have to copy/rename 2 images files every time?
What are you doing that you have to do this?
Help me understand.

You can turn-off IH -->Admin-->Tools-->Image Handler-->Admin and click the link that says "Remove Image Handler From Database".
This does not remove or delete any files, just turns IH off.
You will want to click on "Clear image cache" also.

Look at your IH download to see where and what files you can remove.
When you installed IH, IH overwrites some Zen-Cart files so just replace with the copies you made of the those files.

M

9 Jun 2008, 1:01 AM
#2723
alanekilauea avatar

alanekilauea

New Zenner

Join Date:
Jul 2007
Posts:
17
Plugin Contributions:
0

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

Thanks so much! I changed all my small images (small, listing, new, all, featured) to use the same dimensions and it's working perfectly.
Thanks again!
Alane

9 Jun 2008, 1:08 AM
#2724
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

alanekilauea:

Thanks so much! I changed all my small images (small, listing, new, all, featured) to use the same dimensions and it's working perfectly.
Thanks again!
Alane

:cool: Your welcome ...

9 Jun 2008, 2:23 PM
#2725
porkyboy avatar

porkyboy

New Zenner

Join Date:
Jul 2007
Location:
NR Colchester UK
Posts:
17
Plugin Contributions:
0

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

Ok, I will try removing it in that way.
My backup is corrupt- so are the files that IH2 overwrites generic zencart (meaning I can just download the zencart zip and replace overwritten files) or do they get configured to each particular zencart install?
Many Thanks

9 Jun 2008, 4:57 PM
#2726
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

Porkyboy:

Ok, I will try removing it in that way.
My backup is corrupt- so are the files that IH2 overwrites generic zencart (meaning I can just download the zencart zip and replace overwritten files) or do they get configured to each particular zencart install?
Many Thanks

The way the module package is setup, yes there's two files that are core files that are overwritten - three actually, one in the admin as well.

includes/modules/additional_images.php
includes/modules/main_product_image.php

The above would need to be replaced with default core files for the default functionality of Zen Cart to be restored.

9 Jun 2008, 8:27 PM
#2727
serena avatar

serena

New Zenner

Join Date:
Jun 2005
Posts:
6
Plugin Contributions:
0

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

doodlebee:

Okay - now we're getting somewhere :)

I deleted all the images - including folders of images I had on the server that actually contained all the images i was planning to use (why did I do that? i dunno.) I then uninstalled IH2 (again) and cleared the cache (again). The small image size was already set to 200x168 - so I didn't bother with it. But I reinstalled IH2 - then I used the IH2 area under "Tools", rather than editing from the Categories/Products area. When I put in the small image, it uploaded and did fine - BUT the large and medium images were showing up as "?". So I also uploaded the optional Large and Medium sizes, and now it's working fine.

However, in the IH2 area, under "Tools", I know have an error showing. Same two lines repeating itself over and over again (actually, it's a warning):

Warning: strstr() [function.strstr]: Empty delimiter. in /home/public_html/shop/includes/classes/bmz_image_handler.class.php on line 126

Warning: strstr() [function.strstr]: Empty delimiter. in /home/public_html/shop/includes/classes/bmz_image_handler.class.php on line 128

And my little pink "i" icon that supposed to show up in the Categories/Products area still isn't there.

I can work with this - as long as it works! - but I was wondering if you (or someone) knew what this could mean?

Did someone answer this? I have looked and saw no reply, just answers the the following question. I am having the same problem and would like to know the answer. Please.

9 Jun 2008, 8:34 PM
#2728
porkyboy avatar

porkyboy

New Zenner

Join Date:
Jul 2007
Location:
NR Colchester UK
Posts:
17
Plugin Contributions:
0

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

Thanks testuser.
I have replaced those files and still each product requires a image in both the main image folder, MED and LARGE folder for it to display propperly.
What other files need to be changed?

9 Jun 2008, 11:57 PM
#2729
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

Porkyboy:

Thanks testuser.
I have replaced those files and still each product requires a image in both the main image folder, MED and LARGE folder for it to display propperly.
What other files need to be changed?

Wait, what are you actually trying to do. You've confused me a bit.

10 Jun 2008, 12:13 AM
#2730
billmad avatar

billmad

New Zenner

Join Date:
Feb 2007
Posts:
12
Plugin Contributions:
0

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

Is there any way to add this code to image handler to sharpen up the images a bit?

http://vikjavev.no/computing/ump.php?id=35

10 Jun 2008, 10:50 AM
#2731
porkyboy avatar

porkyboy

New Zenner

Join Date:
Jul 2007
Location:
NR Colchester UK
Posts:
17
Plugin Contributions:
0

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

Sorry if I am confusing you.:oops:
Basically I want instructions on how to restore the fulll functionality of my zencart to BEFORE I installed IH2.

10 Jun 2008, 4:31 PM
#2732
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

billmad:

Is there any way to add this code to image handler to sharpen up the images a bit?

http://vikjavev.no/computing/ump.php?id=35

You can set the quality of the images Image Handler outputs under Configuration -> Images. Believe the default value is 85.

Porkyboy:

Sorry if I am confusing you.:oops:
Basically I want instructions on how to restore the fulll functionality of my zencart to BEFORE I installed IH2.

First you'd need to remove Image Handler from the database. Do this by going to Tools -> Image Handler 2 and uninstalling from the DB. Then you'd need to work out the files that were included in the download package. Restoring the files stated earlier.

10 Jun 2008, 6:20 PM
#2733
porkyboy avatar

porkyboy

New Zenner

Join Date:
Jul 2007
Location:
NR Colchester UK
Posts:
17
Plugin Contributions:
0

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

Thanks, I think I have done it now- fingers crossed!:clap:

11 Jun 2008, 12:03 AM
#2734
momokui avatar

momokui

New Zenner

Join Date:
Jan 2007
Posts:
32
Plugin Contributions:
0

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

I installed ih2 and added new image as the additional image, but I don't see the additional image in the front end and the hover doesn't work even though I've matched the size.

Can anyone please tell me what mistake I have done?

Thanks.

11 Jun 2008, 12:20 AM
#2735
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

Momokui:

I installed ih2 and added new image as the additional image, but I don't see the additional image in the front end and the hover doesn't work even though I've matched the size.

Can anyone please tell me what mistake I have done?

Thanks.

It's possible you didn't upload the "jscript" folder to your custom template folder.

Did you add the additional image via the Image Handler manager under Tools -> Image Handler 2?

11 Jun 2008, 2:58 AM
#2736
momokui avatar

momokui

New Zenner

Join Date:
Jan 2007
Posts:
32
Plugin Contributions:
0

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

yes, i did add them via ih manager.
i don't know what's wrong with my zencart, but any script that i save in jscript folder, won't be read automatically, so for my custom template i had to create link to the js files manually 1 by 1. I will try to create link to ih's js files, hopefully it will fix the prob. Thanks so much.

11 Jun 2008, 9:00 AM
#2737
blackhalo avatar

blackhalo

Zen Follower

Join Date:
Feb 2008
Posts:
118
Plugin Contributions:
0

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

testuser:

If you have the Opera browser, you can see how many image are loading in your browser to the right of the address bar.

If your using FireFox and have the Web Developer tools installed, you can view the Document Size and this will tell you how big your page loads are. Excluding any Flash of course.

Thank you testuser...
I've been looking for something like Web Developer tools for Firefox...AMAZING!!

I have one IH2 problem though, it's pretty serious...
where can I find the logic that generates the <img> with the "ALT" and "TITLE" tags?

Why?

I sell t-shirts...every product has the word "t-shirt" in the name.
So if I've got 100 t-shirt designs on my home page, that immediately turns into 500 instances of the word t-shirt on one page!!

Between the href's for both the product image and the text below it,
the visible text within the link, then the auto-generated ALT and TITLE tags...

No sir, I don't like it...(Ren & Stimpy anyone?)

So how can I remove/stop the "TITLE" tag from generating with the images?
I'm semi-familiar with the guts of ZenCart, I just need to know where to find the logic that's generating this tag...which file?

Thank you!!

11 Jun 2008, 3:23 PM
#2738
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

blackhalo:

Thank you testuser...
I've been looking for something like Web Developer tools for Firefox...AMAZING!!

I have one IH2 problem though, it's pretty serious...
where can I find the logic that generates the <img> with the "ALT" and "TITLE" tags?

Why?

I sell t-shirts...every product has the word "t-shirt" in the name.
So if I've got 100 t-shirt designs on my home page, that immediately turns into 500 instances of the word t-shirt on one page!!

Between the href's for both the product image and the text below it,
the visible text within the link, then the auto-generated ALT and TITLE tags...

No sir, I don't like it...(Ren & Stimpy anyone?)

So how can I remove/stop the "TITLE" tag from generating with the images?
I'm semi-familiar with the guts of ZenCart, I just need to know where to find the logic that's generating this tag...which file?

Thank you!!

Personally I don't like to edit core files, but here's what you'd need to do:

Open > /includes/functions/html_output.php
Replace line 200 - 202 with the following:

/*if (zen_not_null($alt)) {
    $image .= ' title=" ' . zen_output_string($alt) . ' "';
  }*/

Now save this file as html_output.php.bak and also html_output.php, this will preserve your change in the instance you do an upgrade (a direct upgrade will overwrite your html_output.php file - then work your changes back into that file using the .bak file)

Also, at line 198 is your alt tag as well ... You can remove that if you'd like.

I'd personally suggest removing the word T-Shirt from all your products though as the title tag is pretty significant for SEO purposes, can be a task with a bunch of products though. But fully understand your point with the weight of "T-Shirt."

11 Jun 2008, 4:08 PM
#2739
momokui avatar

momokui

New Zenner

Join Date:
Jan 2007
Posts:
32
Plugin Contributions:
0

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

I fixed the hover problem by reinstalling zencart but I still can't get the additional image working, can someone tell me what I should check or turn on?

11 Jun 2008, 4:44 PM
#2740
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

Momokui:

I fixed the hover problem by reinstalling zencart but I still can't get the additional image working, can someone tell me what I should check or turn on?

Are you using a custom template? The additional image should show once added.

Do you have a link?