If this is your first visit, check our documentation. To post, register or login.
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

Started by timkroeger on 17 May 2006, 11:27 AM · Views: 2,513,738

Results 421 to 440 of 7,094
24 Sep 2006, 2:17 AM
#421
willalbro avatar

willalbro

New Zenner

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

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

Hi Knuckle_101!

Thanks for the reply. I tried just what you said and no go. This one has me scratching my head a little.

Thanks again,

Will

24 Sep 2006, 9:54 AM
#422
fricy avatar

fricy

New Zenner

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

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

willalbro:

Thanks for the reply. I tried just what you said and no go. This one has me scratching my head a little.

Hi there!
What browser do you use? AFAIK the zoom does not work in opera, but it works in Firefox & IE. I had an issue, when the rollovers showed up, but empty, with no images, just the product name. The fix was to set the folder permissions (again!! :blink: ) for the images and the bmz cache.
I have to do it every now and then, cause new images randomly get wrong permissions. Anyone had the same?

Best of luck,
fricy

24 Sep 2006, 12:01 PM
#423
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

getyourgameshere.com:

I just submitted an update to Image Handler to the downloads section that includes these fixes.

In regards to the two "update" versions of Image Handler 2 for 1.3x in the Zen Cart public downloads area (updates since Tim's final distribution on May 01, 2006):

@GYG-

Would you be kind enough to delimit the specific edits made in IH2 package update (image_handler__for_vx_2.0v0916.zip) dated 09-16-06. My brief observaton shows file date changes for the following three files from Tim's final version:

/admin/image_handler.php
/includes/classes/bmz_image_handler.class.php
/includes/templates/template_default/jscript/jscript_imagehover.js

@Joost-

  1. Your updated IH2 package upload dated 09-04-06 (image_handler__for_vx_2.0135.zip) shows one new additional file from Tim's final version:

/admin/includes/modules/category_product_listing.php.patch

After reading this thread, and the included readme-1.3.5.txt file, I do not see any reference to to this "patch" file or what to do with it. That is, does the patch need to be manually integrated into orginal IH2 category_product_listing.php file, not just uploaded? I do not observe any instructions on this.

In the patch file I observe:
@@ -4,7 +4,7 @@

And also:
@@ -324,6 +324,7 @@

Is this PHP method to merge the patch code into the called file at runtime (category_product_listing.php)?

  1. I understand html_output.php has been removed (use the ZC 1.35 core version instead).

  2. Although DrByte tried to enlighten us I still don't understand the comment as to removal of "duplicate images".

Thanks for the updates.

24 Sep 2006, 4:45 PM
#424
willalbro avatar

willalbro

New Zenner

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

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

fricy:

Hi there!
What browser do you use? AFAIK the zoom does not work in opera, but it works in Firefox & IE. I had an issue, when the rollovers showed up, but empty, with no images, just the product name. The fix was to set the folder permissions (again!! :blink: ) for the images and the bmz cache.
I have to do it every now and then, cause new images randomly get wrong permissions. Anyone had the same?

Best of luck,
fricy

Thanks for the input. I double checked the permissions on all the relevant directories and even pic files and they are all appropriate. Also, I saw what you meant by different browsers. I use both Linux and Windows so I double checked your site with Firefox and Opera in Linux and the rollover was there in Firefox but not Opera. However, for me, the following site properly displays rollover images in Opera, and Firefox using Linux or Windows:

http://handmade-invitations.com/index.php?main_page=shopping_cart

For me, the rollover images on https://www.brooksestore.com do not work in Windows or Linux regardless of the web browser. I.E. - FireFox, Mozilla, Internet Explororer, and Opera.

Thanks for the input! That definately helped me eliminate another couple of potential trouble spots.

Thanks again!

Will
Brooks eStore
https://www.brooksestore.com

24 Sep 2006, 4:59 PM
#425
willalbro avatar

willalbro

New Zenner

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

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

Just a side note: I checked my log files and all of the files/directories that would render the rollover image are getting called (cssjsmenuhover.css,style_imagehover.css,bmz_cache,jscript_imagehover.js, etc)

Don't know if this info is relavent to anyone having similar issues.

Laters,

Will
https://www.brooksestore.com

24 Sep 2006, 10:25 PM
#426
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

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

@Woodymon

I made the changes found in the first post of this page: http://forums.breakmyzencart.com/t68-couple-hints.html

A lot of users were having trouble with it since the original author of those fixes posted an incorrect line number (specifically this:)

Change to file: jscript_imagehover.js

Line 126 should be:

ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));

I made the change to prevent a javascript error in IE 6.x when using the IH Zoom small images feature...

It should be on line 124 instead, so I made that change on there, along with the following changes:

Change to file: bmz_image_handler.class.php

Line 643:

Insert $quality = (int)$quality/100;

This prevents crash on png images since the third parameter of imagepng function only accepts a value betwen 0-9.

Change to file: image_handler.php (under admin)

Search for this text: if ($page == 'preview')

Changes:

$pngimage = new ih_image($ihConf['dir']['admin']) . "/" . 'images/ih-test.png', intval($ihConf['small']['width']), intval($ihConf['small']['height'])

to

$pngimage = new ih_image(basename($ihConf['dir']['admin']) . "/" . 'images/ih-test.png', intval($ihConf['small']['width']), intval($ihConf['small']['height']));

$jpgimage = new ih_image($ihConf['dir']['admin']) . "/" . 'images/ih-test.jpg', intval($ihConf['small']['width']), intval($ihConf['small']['height']);

to

$jpgimage = new ih_image(basename($ihConf['dir']['admin']) . "/" . 'images/ih-test.jpg', intval($ihConf['small']['width']), intval($ihConf['small']['height']));

$gifimage = new ih_image($ihConf['dir']['admin']) . "/" . 'images/ih-test.gif', intval($ihConf['small']['width']), intval($ihConf['small']['height']);

to

$gifimage = new ih_image(basename($ihConf['dir']['admin']) . "/" . 'images/ih-test.gif', intval($ihConf['small']['width']), intval($ihConf['small']['height']));

These changes prevent a directory misalignment where the preview images were not being looked up in the correct location.

Hope the suggestions help.

--MM

Like I posted in the Readme1-3-5 file, I take no credit for finding the fixes (all credit goes to MM for that)

24 Sep 2006, 11:15 PM
#427
willalbro avatar

willalbro

New Zenner

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

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

Thanks for re-posting that info. I made the changes and it definately fixed the preview pics in admin. Im gonna play with the pic sizes and see if I can't get it to work now.

Thanks!

Will

24 Sep 2006, 11:54 PM
#428
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

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

willalbro:

Thanks for re-posting that info. I made the changes and it definately fixed the preview pics in admin. Im gonna play with the pic sizes and see if I can't get it to work now.

Thanks!

Will

No prob.. did you download the contribution update dated 9/16? if so they should have already been in there.. i'll have to double check to make sure i uploaded the right copy.. would hate to have uploaded a previous version without the update!

24 Sep 2006, 11:54 PM
#429
willalbro avatar

willalbro

New Zenner

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

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

Ok...WOOT!! That fixed it!! Thanks getyourgameshere.com

Now....does anyone know whats up with Opera?...Rollovers work in Firefox and IE explorer...lol!

Thanks for all the help folks!

Will
Brooks eStore
https://www.brooksestore.com

24 Sep 2006, 11:57 PM
#430
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

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

Update on that previous post: all the changes should be there.. just by checking the downloaded version :)

Also another update: the change to bmz_image_handler.class.php should be on line 645/646, not 643. It relates to the PNG files, not GIF. 643 has GIF stuff, while two lines below it are PNG

25 Sep 2006, 12:13 AM
#431
willalbro avatar

willalbro

New Zenner

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

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

Very grateful...just made the changes!

25 Sep 2006, 2:16 AM
#432
willalbro avatar

willalbro

New Zenner

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

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

getyourgameshere.com:

No prob.. did you download the contribution update dated 9/16? if so they should have already been in there.. i'll have to double check to make sure i uploaded the right copy.. would hate to have uploaded a previous version without the update!

I think it was earlier. Looks like I must have downloaded the wrong one?...oh well...either way I have enjoyed learning as I work.

https://www.brooksestore.com

Check it out..it works!! hehe great mod!

Thanks again,

Will

25 Sep 2006, 12:27 PM
#433
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

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

Hi, I made a search and didn't find anything about this, so excuse me if I'm repeating.

Using IH with 1.2.6 when a customer uploads an image, shows in the shopping cart that image. I remember you telling me how to do it because you didn't think people were using it a lot.

In 1.3+ we have the option from admin to choose "Show uploaded images in cart", but even I've set this parameter to true, the images won't show (it shows the uploaded image name though). Why?
Does anyone has the answer to this? Anyhow.... where is Tim?

IDEASLady
IDEAS Creative Studio

Your image... our business!

25 Sep 2006, 3:19 PM
#434
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

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

knuckle-101 - You nailed it! Show additional images was off! I did ask if there was a setting I needed to change, when I started this discussion, but I guess everyone missed that.... THANK YOU! Restoring the file I had edited. ~anne

25 Sep 2006, 3:31 PM
#435
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

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

glad to be of help :)

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

25 Sep 2006, 8:14 PM
#436
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

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

I use xsell....but when I open xsell in the admin. It will load all pictures in full size. I can change this with adding

, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

So the picture looks like the small image-size. But it will load from the original picture, that will be lots of bytes and load time.
How can asign them to the compressed images in the bmz-cache folder?

26 Sep 2006, 6:49 AM
#437
jeremy7786 avatar

jeremy7786

New Zenner

Join Date:
Jun 2004
Posts:
13
Plugin Contributions:
0

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

Hey all,

I have just installed the newest version and for whatever reason the popup image is displayed in the top left of my web page. Anyone know how to fix this?

https://www.bellableujewelry.com/shop/

Thanks!

-Jeremy

26 Sep 2006, 7:34 AM
#438
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

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

jeremy7786:

Hey all,

I have just installed the newest version and for whatever reason the popup image is displayed in the top left of my web page. Anyone know how to fix this?

https://www.bellableujewelry.com/shop/

Thanks!

-Jeremy

As in when you click on it? Seems to work fine for me in FireFox.. its being centered

26 Sep 2006, 1:17 PM
#439
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

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

What is the exact function of bmz_cache? Why some pictures show in here and other on their regular folders? Is there a way to avoid the system for looking those pictures instead of the regular folders? :unsure:

IDEASLady
IDEAS Creative Studio

Your image... our business!

26 Sep 2006, 2:02 PM
#440
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

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

Hi jeremy7786: I had the same problem with two different carts and installs of IH2. Both times, a reinstall of Image Handler fixed the problem.

~anne