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

Results 2,341 to 2,360 of 7,094
6 Mar 2008, 1:05 AM
#2341
dave_mc avatar

dave_mc

New Zenner

Join Date:
Apr 2007
Location:
Coventry, West Midlands
Posts:
36
Plugin Contributions:
0

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

Hi, I wonder if someone could help? Am setting up a new site and have just installed IH2 at https://www.gardenproducts4u.com. My checkout is located on a different domain where I have a dedicated certificate. Before I installed IH2 I was able to get get images in my sideboxes ok - now I can not get them when I go to my secure domain. The images are exactly where they were when they did work. Is there some code I have to change to tell IH that my secure site is located elsewhere?

6 Mar 2008, 10:52 AM
#2342
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

kbmets7:

Please help. When I go to tools and now try and access IH2, I get this:

Warning: require(includes/ih_manager.php) [function.require]: failed to open stream: No such file or directory in /home2/postocom/public_html/elocin/image_handler.php on line 153

Warning: require(includes/ih_manager.php) [function.require]: failed to open stream: No such file or directory in /home2/postocom/public_html/elocin/image_handler.php on line 153

Fatal error: require() [function.require]: Failed opening required 'includes/ih_manager.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/postocom/public_html/elocin/image_handler.php on line 153

I think it was and still is working correctly, as I have the hover image. Can someone check this page and tell me if Image Handler appears to be working, and what the above image means. I did check and the image_handler.php file does seem to be in the directory.

http://209.85.34.64/index.php?main_page=index&cPath=11_42_81

Thanks.

IH works ok in your store.

You are reading the error wrong.
The first part of each error is telling which file you need to look at.

You are missing the ih_manager file or it is corrupt.

This file needs to be in

admin/includes/

M

8 Mar 2008, 3:23 AM
#2343
sweetjaime avatar

sweetjaime

New Zenner

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

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

Hopefully someone can help me with this- ive installed everything, and added additional images. But when i go to click on them and and enlarge, it just brings up a large image of my main image ? Also , im not sure how I can install the hover addition, where you can roll your mouse over the image ?
Can anyone help me please ? Ive been reading the forums for 2 days trying to fix this !

8 Mar 2008, 7:41 AM
#2344
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

sweetjaime:

Hopefully someone can help me with this- ive installed everything, and added additional images. But when i go to click on them and and enlarge, it just brings up a large image of my main image ? Also , im not sure how I can install the hover addition, where you can roll your mouse over the image ?
Can anyone help me please ? Ive been reading the forums for 2 days trying to fix this !
Link/URL of your site would help, so we can view problem.

8 Mar 2008, 7:43 AM
#2345
sweetjaime avatar

sweetjaime

New Zenner

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

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

Misty, ive fixed this problem, but now my additional images sit a little higher than my main image, and the product name and descriped start in the center, instead of below the mail image... heres a link to show what I mean
http://www.bella-bijou.com/index.php?main_page=product_info&cPath=2&products_id=136

8 Mar 2008, 7:53 AM
#2346
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

Visited site, using IE7, don't see Image Handler installed, but looking
at source, you have 1 Image Handler file missing...i.e. you should have
the following files installed...

includes/templates/nameofyourtemplate/css/style_imagehover.css
includes/templates/template_default/jscript/jscript_imagehover.js

8 Mar 2008, 8:01 AM
#2347
sweetjaime avatar

sweetjaime

New Zenner

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

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

ok ive installed that, but i still havent figured out how to make my addition images sit nicely alligned with my main image, and make the product name and description start underneth the main image, not halfway through the page.
Any ideas?

8 Mar 2008, 8:04 AM
#2348
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

sweetjaime:

ok ive installed that, but i still havent figured out how to make my addition images sit nicely alligned with my main image, and make the product name and description start underneth the main image, not halfway through the page.
Any ideas?
This is not really the forum for what you require..only deals
with Image Handler 2. Suggest you post in forum that deals
with customisation/css.

8 Mar 2008, 10:40 AM
#2349
samortensen avatar

samortensen

New Zenner

Join Date:
Jan 2008
Location:
Minnesota
Posts:
87
Plugin Contributions:
0

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

Barco57 - Thanks for that info. Does this only work on the featured products or am I missing something. It works on the featured products, but thats it.

8 Mar 2008, 4:54 PM
#2350
teberle avatar

teberle

New Zenner

Join Date:
Sep 2005
Posts:
3
Plugin Contributions:
0

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

Hi IH2 Community,

I've been pulling my hair out searching for a solution to my IH2 problem. Here's the issue:

When clicking the small thumbnail image to bring up the pop-up window with the large image (store mode), the large image displayed is not the bmz_cache image but the default image (not scaled). Clicking properties of the image show that it's the image from the Image folder not the bmz_cache folder. Now when in the Admin -> Tools -> Image Handler2 area, I can click on the large image and a window pops-up with the cached version properly scaled to the correct size. Clicking properties of this image I see the path to the bmz_cache folder and the correct scaled pixel dimensions.

Here's some important information:
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
v1.3.8 [2007-12-20 21:02:18] (Version Update 1.3.7->1.3.8)
v1.3.7 [2007-12-20 21:02:08] (Version Update 1.3.6->1.3.7)
v1.3.6 [2007-12-20 21:02:00] (Version Update 1.3.5->1.3.6)
v1.3.5 [2007-12-20 21:01:51] (Version Update 1.3.0.2->1.3.5)
v1.3.0.2 [2006-07-14 15:19:06] (Fresh Installation)

Using Image Handler 2.0 for Zen-Cart v1.3.x

ImageMagick & GD librariesis installed

Here's what Ive done to try to fix this problem:

  1. Removed Image handler from the database

  2. Deleted the bmz_cache directory and individually deleted all IH2 files from the server.

  3. Manually uploaded all individual files/directories from the IH@ download (Image Handler 2.0 for Zen-Cart v1.3.x) to the server.

  4. Coppied the contents of includes/templates/template_custom into my custom templates folder.

  5. Went to admin->Tools->Image Handler 2->Admin and clicked "Install Image Handler".

The behavior of the large image displayed is the same...

Does anyone have any ideas what else I can try to fix this problem?

The site is: https://www.gemquarry.com

Thanks,

Tom

8 Mar 2008, 5:44 PM
#2351
cdelab avatar

cdelab

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

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

Hello,

two proposed small contributions :

  1. To avoid conflict between IH2 and some other mods. Specifically swap_image_mouseover.
  2. To avoid the annoying display of the "standard img alt" text above the "fancy hover" popup image.

Edit functions_bmz_image_handler.php and :

  1. Modify $parameters line (1st // CdLB comment)
  2. Add the "if clause" after second //CdLB comment :
    if ($ih_image) { 
      $src = $ih_image->get_local();
      // CdLB - 03/2008 - correct a bug that erase $parameters in some case
    //Before : $parameters = $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);
      $parameters .= ' ' . $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);

      $parameters = $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);

	    // CdLB - 03/2008 - set $alt to '' if image is managed by IH for fancy image hover only
		if ($ih_image->sizetype == 'small') {			   
			   $alt = '';
		    }
    }

That's it.

8 Mar 2008, 9:22 PM
#2352
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

cdelab:

Hello,

two proposed small contributions :

  1. To avoid conflict between IH2 and some other mods. Specifically swap_image_mouseover.
  2. To avoid the annoying display of the "standard img alt" text above the "fancy hover" popup image.

Edit functions_bmz_image_handler.php and :

  1. Modify $parameters line (1st // CdLB comment)
  2. Add the "if clause" after second //CdLB comment :
if ($ih_image) { 
  $src = $ih_image->get_local();
  // CdLB - 03/2008 - correct a bug that erase $parameters in some case
//Before : $parameters = $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);
  $parameters .= ' ' . $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);

  $parameters = $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters);

    // CdLB - 03/2008 - set $alt to '' if image is managed by IH for fancy image hover only
    if ($ih_image->sizetype == 'small') {               
           $alt = '';
        }
}

Instead of altering the code to remove the Heading in the popup, this would go in your CSS:

.trailimage h1 {display:none;}

That might not be the actual style but it's correct other than that. This is actually a better way of removing the headers, it leaves the ALT tags in place for SEO purposes.
9 Mar 2008, 3:27 AM
#2353
xman888 avatar

xman888

Zen Follower

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

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

Hello,

Does this mod work with zen1.38?

Kind regards,
Anthony

9 Mar 2008, 4:23 AM
#2354
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

xman888:

Hello,

Does this mod work with zen1.38?

Kind regards,
Anthony

Yes it does.

9 Mar 2008, 11:24 AM
#2355
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

teberle:

Hi IH2 Community,

I've been pulling my hair out searching for a solution to my IH2 problem. Here's the issue:

When clicking the small thumbnail image to bring up the pop-up window with the large image (store mode), the large image displayed is not the bmz_cache image but the default image (not scaled). Clicking properties of the image show that it's the image from the Image folder not the bmz_cache folder. Now when in the Admin -> Tools -> Image Handler2 area, I can click on the large image and a window pops-up with the cached version properly scaled to the correct size. Clicking properties of this image I see the path to the bmz_cache folder and the correct scaled pixel dimensions.

The site is: www.gemquarry.com

Thanks,

Tom

Did you set the large image size in admin/configuration/images?

M

9 Mar 2008, 2:48 PM
#2356
teberle avatar

teberle

New Zenner

Join Date:
Sep 2005
Posts:
3
Plugin Contributions:
0

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

tophand:

Did you set the large image size in admin/configuration/images?

M
Hi tophand,

Yes, image settings in admin/configuration/images are set to:

IH large image maximum width 750
IH large image maximum height 550

Any other ideas would be appreciated. I'm getting desperate... :(

Tom

9 Mar 2008, 7:59 PM
#2357
pokerdis avatar

pokerdis

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

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

Hello, I relatively new to zencart so please bear with me.

I just installed IH2 and all seemed well when I left my small image sizing @ 125 x 125 (the way I had it before installing IH2), then I changed the small image size to 80 x 80 and I no longer have any hovering effect....change it back to 125 x 125 and all is well. I have no idea what to do to correct this. You can see at http://www.selfdefensesupplies.net

Just would like to clarify a few other things that I'm sure others are wondering and I could not find the answer in the forum:

  1. When installing ALL the files via ftp should I be creating a custom folder for each of the areas where the files should be installed so when I upgrade there will be no issues.

  2. If My default images are lets say 300 x 300 then when the larger image is displayed it will only show a max of 300 x 300..correct. If I want a larger image to show I will need to change all of my default images to 600 x 600 and re-upload.?

  3. When I re-uploaded some of my images after resizing they were over 120 kb, will this be a problem in page load time?

Sorry for all of the questions.

Regards,
Tom
http://www.selfdefensesupplies.net
http://www.pokerdiscount.net

10 Mar 2008, 1:06 AM
#2358
ellie avatar

ellie

New Zenner

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

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

Can someone please tell me if any one has an issue with the cart messing up after loading up more then one product for sale while using image handler 2?

I installed a fresh zen cart, then installed this plug in and all worked fine with one product but if I add more then one product I lose most of my side boxes - all listings will not show - well actually zero content shows on the site.

Anyone???? :frusty:

Thanks Ellie

10 Mar 2008, 1:32 PM
#2359
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

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

IH2 features are not working for me.

The install looks good the admin settings are there but my additional images are not showing up. The watermark feature is not working. The hover does not work. the hotspot does not work. Could there be a file I missed or is in the wrong folder? Could this be a lightbox issue?

1.3.7.1
has GD
cache file works
additional images setting turned on
Light box installed

New image uploads using IH2 are setup right but existing are not converted.

10 Mar 2008, 2:56 PM
#2360
samortensen avatar

samortensen

New Zenner

Join Date:
Jan 2008
Location:
Minnesota
Posts:
87
Plugin Contributions:
0

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

rjspomer - as just a newbie myself - just off the top of my head, you did go in and add additional images through the admin/tools/image handler...correct?