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,545

Results 1,601 to 1,620 of 7,094
21 Sep 2007, 12:51 AM
#1601
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

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

Actually it is not my suggestion - I just quoted a part of the material on the IH2 site.

What version of ImageMagick is your server supporting. It is a long shot, but maybe the problem is with the server...

I am sorry I could not help you,
jund

21 Sep 2007, 1:15 AM
#1602
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

Rob905:

Well, what can I tell you. I have read the info included with the program and had originally setup the program as you suggest. It's not working! Any other suggestions?

Robert E
If you're not part of the solution......

So your watermark images are named:
watermark.png
watermark_MED.png
watermark_LRG.png

Or

watermark.gif
watermark_MED.gif
watermark_LRG.gif

Also has Jund brought up a point. There has been reports of a version of ImageMagick breaking png files. There are posts in this thread about it I believe.

M

21 Sep 2007, 1:45 AM
#1603
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

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

jund:

Actually it is not my suggestion - I just quoted a part of the material on the IH2 site.

What version of ImageMagick is your server supporting. It is a long shot, but maybe the problem is with the server...

I am sorry I could not help you,
jund

I looked through the server info page that is in ZC and could not see anything to do with ImageMagick.
But would that then not affect the entire IH program? The small images get the watermark no problem.

Thanks anyway.

Robert E

21 Sep 2007, 1:47 AM
#1604
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

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

tophand:

So your watermark images are named:
watermark.png
watermark_MED.png
watermark_LRG.png

Or

watermark.gif
watermark_MED.gif
watermark_LRG.gif

Also has Jund brought up a point. There has been reports of a version of ImageMagick breaking png files. There are posts in this thread about it I believe.

M

Thanks

The original images are JPG. Should then the watermark be renamed to JPG also? They are still PNG the way they came and I've tried setting JPG, PNG or no_change in the program and the only image that gets the watermark is the small image.

Robert E

21 Sep 2007, 2:49 AM
#1605
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

The watermark image needs to be either in a gif or png format.
There is no setting in admin other then no/yes for watermarking.
Since you have watermark on the small image, you have it turned on.
What about the medium and large settings? Do you it set to "Yes" for watermarking?
What about watermark_MED image? Is it in the images/medium folder?
What the watermark_LRG image? image/large folder.
Also have you check the permissions both on the folder and image?
We know that the watermark.png small is fine so copy it the medium folder and rename to watermark_MED.png.

M

21 Sep 2007, 3:49 AM
#1606
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

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

tophand:

The watermark image needs to be either in a gif or png format.
There is no setting in admin other then no/yes for watermarking.
Since you have watermark on the small image, you have it turned on.
What about the medium and large settings? Do you it set to "Yes" for watermarking?
What about watermark_MED image? Is it in the images/medium folder?
What the watermark_LRG image? image/large folder.
Also have you check the permissions both on the folder and image?
We know that the watermark.png small is fine so copy it the medium folder and rename to watermark_MED.png.

M

Thank you, I had checked these settings as per the installations instructions but could not get it to work "out of the box".
So on a whim, I opened the _MED and _LG watermark .PNG files and "Save for Web" as a GIF instead and uploaded to the appropriate folders on the server. I told IH2 to use the "no_change" format (not realizing this was referring to the watermark) and it worked. :clap:

Thanks folks

Robert E

21 Sep 2007, 3:55 PM
#1607
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

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

IH watermark is not working on some images. Watermark is enabled for medium, large images in options. Any help is appreciated!

21 Sep 2007, 4:19 PM
#1608
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

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

james739:

IH watermark is not working on some images. Watermark is enabled for medium, large images in options. Any help is appreciated!

I had a similar issue. The small image would watermark but the med and large would not.
The way I found that it started working for me was to change the .PNG watermark files, (_MED and _LRG) to .GIF and upload those to the appropriate folders. I opened up Photoshop, loaded the .PNG and then did a Safe for Web as a GIF for each of the two files.

Not sure why this fixed it since the small image is still using the original .PNG watermark file, but it works. :smile:

I have watermark small, medium and large set to "Yes"
I have the file type for small, medium and large set to "no_change"
I have watermark gravity to Center (default)

I have also found that since adding my first second image for a product as an inset using IH2, it now seems to add all the xxxinset.jpg files itself when I add the image xxx in inventory, gotta love that. (If you have a need for it that is.)

Hope this helps.

Robert E

23 Sep 2007, 1:38 AM
#1609
srw134 avatar

srw134

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

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

I just installed IH2 in a testbed, installed two images and seemed to work, changed the images and the small zoom stopped working. I checked the settings under the Config-Images small zoom is set to true. At the moment I have tracked it to the point where the get_additional_parameters function asks whether the $this->sizetype variable is set to small, it is not on any small image it is set to generic, on the medium and small images it shows correct as medium and large. Any one more familiar with this code know where I should be looking for this 'small' to be set?

thanks in advance.

-sean

23 Sep 2007, 5:18 AM
#1610
srw134 avatar

srw134

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

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

ok, found the problem.

-seab

srw134:

I just installed IH2 in a testbed, installed two images and seemed to work, changed the images and the small zoom stopped working. I checked the settings under the Config-Images small zoom is set to true. At the moment I have tracked it to the point where the get_additional_parameters function asks whether the $this->sizetype variable is set to small, it is not on any small image it is set to generic, on the medium and small images it shows correct as medium and large. Any one more familiar with this code know where I should be looking for this 'small' to be set?

thanks in advance.

-sean

23 Sep 2007, 1:24 PM
#1611
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

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

Sean,

Please share your solution - thank you.

jund

23 Sep 2007, 2:13 PM
#1612
veazer avatar

veazer

New Zenner

Join Date:
Apr 2005
Posts:
51
Plugin Contributions:
0

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

EDIT: Disregard! I just noticed the IH2 plugin is listed for 1.3.5, so i'll assume the files are from there.

I've got the latest IH2 at the time of writing - 2.0 v0916

I'd like to know what version of ZC did the files that get overwritten come from (ie main_product_image.php, additional_images.php, header_php.php, etc.)?

I'd like to do a winmerge comparison of the IH mod compared to the original file, then apply those mods to the ZC 1.3.7.1 files.

Is this overkill? It seems like the best way to have IH2 and make sure all files are current.

23 Sep 2007, 2:31 PM
#1613
gothstone avatar

gothstone

Zen Follower

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

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

Those who are haveing trouble with the hover images should try this replacement javascript.

23 Sep 2007, 6:37 PM
#1614
srw134 avatar

srw134

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

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

I had enlarged the small image width and height but not the other ones lower on the images config (product listing, new product listing...). Because of this the image on the main screen was 80x80 but the small width and heights were set to 100, this made the image show as a 80x80 picture on the main screen, however, in the im2 code there is a statement matching the image dimensions to the small settings if they didn't match (image dim = small image dim) the $this->sizetype variable is set to 'generic'. since later in the code this variable is used to insert the popup code ($this->sizetype == 'small') the popup code didn't get inserted. Once I changed all of the other values to 100 the images was changed from 80x80 to 100x100 as I wanted and the popup code was inserted correctly. thus problem solved.

hope this help anyone having similar problems.

-sean

jund:

Sean,

Please share your solution - thank you.

jund

24 Sep 2007, 2:45 AM
#1615
yuchant avatar

yuchant

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

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

Hi, please forgive me if this is the wrong place to post this.

I have IH2 running right now and it looks great except it looks like I need to only use a single original because my current images are being converted into exact same dimentions but 50x larger file size.

Unfortunately my small images are actually not clones of the MED and LRG so I'm thinking i'll just continue making 3 images per product, BUT this zoom feature is great and i CANT forget about it. I've been searching for a few hours but cant find any information on using ONLY the zoom.

Is there a quick way to edit this contribution to skip the "IH resize images" true/false check? I dont want it to resize images but I want the zoom function working with the images I already have...

Should I just post this in the general forum because i guess it could be more about templating in general?

24 Sep 2007, 3:02 AM
#1616
srw134 avatar

srw134

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

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

I would repost this to the main Image Handler 2 Thread and change the Title so it gets the attention it needs, I am not a IM2 expert (yet), I would just chase the code, personally.

-sean

Yuchant:

Hi, please forgive me if this is the wrong place to post this.

I have IH2 running right now and it looks great except it looks like I need to only use a single original because my current images are being converted into exact same dimentions but 50x larger file size.

Unfortunately my small images are actually not clones of the MED and LRG so I'm thinking i'll just continue making 3 images per product, BUT this zoom feature is great and i CANT forget about it. I've been searching for a few hours but cant find any information on using ONLY the zoom.

Is there a quick way to edit this contribution to skip the "IH resize images" true/false check? I dont want it to resize images but I want the zoom function working with the images I already have...

Should I just post this in the general forum because i guess it could be more about templating in general?

24 Sep 2007, 6:34 AM
#1617
yuchant avatar

yuchant

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

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

srw134:

I would repost this to the main Image Handler 2 Thread and change the Title so it gets the attention it needs, I am not a IM2 expert (yet), I would just chase the code, personally.

-sean

Thanks. I know nothing about php and javascript but ive decided to change it myself w/o anything fancy. (probably with tons of redundant code).

I just need to know how to call the_path_to_medium_png so I can have every product load its particular MED graphic for the rollover...

24 Sep 2007, 7:08 AM
#1618
srw134 avatar

srw134

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

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

As far as I know if you add the three separate images through the IM2 Admin it should allow you to do this.

-sean

Yuchant:

Thanks. I know nothing about php and javascript but ive decided to change it myself w/o anything fancy. (probably with tons of redundant code).

I just need to know how to call the_path_to_medium_png so I can have every product load its particular MED graphic for the rollover...

24 Sep 2007, 3:42 PM
#1619
yuchant avatar

yuchant

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

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

For some reason my file sizes go from 5kb to 100kb and my mediums go from 10kb to 1mb when I upload my own images. I'll start asking in the other forum how to modify the template. I think it wont be pretty but i'll have static code in my html_header.php and new_products, product_listing templates.

Thanks!

24 Sep 2007, 7:53 PM
#1620
edwinlloyd avatar

edwinlloyd

New Zenner

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

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

I have a working test version of my shop. When I install the latest version of IH2 (not the one from Tim's site) I cannot see additional images on the product page, but I can see them in the IH admin pages.

I have read this thread all day (literally) and followed every suggestion on how to get these additional images to show in the product page and none solve this problem.

I note that the product pages display with one error (using Firefox) for each additional image that should have been displayed. An example follows:

Error: missing ) after argument list
Source File: http://ed.homelinux.com/index.php?main_page=product_info&products_id=129
Line: 264, Column: 159
Source Code:
90cd509740b2.image.100x66.jpg" alt="Efergy Smart Meter" title=" Efergy Smart Meter " width="100" height="66" style="position:relative" onmouseover="showtrail('images//mod Efergy 3.jpg','Efergy Smart Meter',100,66,100,66,this,0,0,100,66);" onmouseout="hide

If it helps, the Firefox error console has a green arrow running underneath each error, which ends up pointing to the letter "i" of images following the showtrail command.

Having tried every other solution under the sun (and now moon) to solve this problem, I can only assume that this missing bracket might be the cause.

Do any wiser owls have any suggestions please?
Edwin