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

Results 941 to 960 of 7,094
28 Feb 2007, 10:04 AM
#941
haim96 avatar

haim96

New Zenner

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

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

haim96:

just install IH2 on ZC1.3.7
override some files (got backup) and used the default template.
when goto tools->IMAGE HANDLER-> Install Image Handler
got the error:

Fatal error: Call to undefined function: install_image_handler() in /home/content***/html/admin/image_handler.php** on line 171

check for files - overrided as needed.
check for GD lib - it's fine (2+)
check for permission - looks good.

realy need help here... thanks!

any one? please....... :cry:

28 Feb 2007, 11:25 AM
#942
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

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

haim96:

just install IH2 on ZC1.3.7
override some files (got backup) and used the default template.
when goto tools->IMAGE HANDLER-> Install Image Handler
got the error:

Fatal error: Call to undefined function: install_image_handler() in /home/content*****/html/admin/image_handler.php on line 171

check for files - overrided as needed.
check for GD lib - it's fine (2+)
check for permission - looks good.

realy need help here... thanks!

That function is in...
admin/includes/functions/extra_functions/functions_bmz_image_handler_update.php

Check & see if this file is actually there

1 Mar 2007, 4:25 PM
#943
fepb avatar

fepb

New Zenner

Join Date:
Mar 2007
Posts:
75
Plugin Contributions:
0

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

Hi, thanks for this great contribution. I just installed Image Handler 2 and it's great, but i do have one question:

How do I move the additional images up in the product into page so that they appear before the attributes?

If this has already been addressed elsewhere in the thread, I would appreciate it if someone could point me to the right place. I've tried searching both this thread and the old one but maybe I've missed it.

Thanks in advance!

1 Mar 2007, 4:44 PM
#944
fepb avatar

fepb

New Zenner

Join Date:
Mar 2007
Posts:
75
Plugin Contributions:
0

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

Oops, sorry. I just figured out the solution to my question. In case anyone else was wondering the same thing though, the file to edit is tpl_product_info_display.php in your template folder.

1 Mar 2007, 7:27 PM
#945
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

There seems to be a misunderstanding for some people so let me try to clear it up...

Image Handler works ONLY on product images... not category images, not header images and not banners. Problems with anything other than product images are most unlikely to be anything whatsoever to do with IH.

2 Mar 2007, 12:58 AM
#946
mresende avatar

mresende

New Zenner

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

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

Hi guys and gals,

I've got Image Handler 2 installed and it's not resizing the images (small, medium and large appear with the same dimensions). I can also see this in the preview section as all sample images are the same.

Now, I have an exact backup of the whole site running on my machine and IH seems to work fine, which made me suspect that the GD libraries aren't installed properly on the live server, maybe.
Upon raising a support ticket I'm assure by the hosting company the GD libs are installed (gd-2.0.28) and compiled into PHP (php-gd-4.3.9).

So I'm at a loss... I still suspect the problem is related with GD libraries but I'm told all's as it should be...

Any body come across this sort of thing? Any tips would be mighty useful!

Thanks
Mario

2 Mar 2007, 1:58 AM
#947
mresende avatar

mresende

New Zenner

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

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

It just occurred to me that the problem above might be due to our live server running with PHP Safe Mode = On!

I've asked for it to be switched off just in case...
Any thoughts on this?

2 Mar 2007, 9:18 AM
#948
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

Not sure whether it'll help or not, but I've found that sometimes going to IH admin, clearing the cache and uninstalling/reinstalling IH there (along with FTP emptying of bmz_cache) will do the trick.

Don't know about the safe mode - but do report back.

2 Mar 2007, 9:27 AM
#949
haim96 avatar

haim96

New Zenner

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

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

gilby:

That function is in...
admin/includes/functions/extra_functions/functions_bmz_image_handler_update.php

Check & see if this file is actually there

that do the trick!!! thanks! :laugh: :laugh:

2 Mar 2007, 2:09 PM
#950
mresende avatar

mresende

New Zenner

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

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

Ryk:

Not sure whether it'll help or not, but I've found that sometimes going to IH admin, clearing the cache and uninstalling/reinstalling IH there (along with FTP emptying of bmz_cache) will do the trick.

Don't know about the safe mode - but do report back.

I've made progress in that I reset the permissions of the bmz_cache and image folders and IH does now resize the images... I'm guessing that the main problem was that IH just couldn't write to one (or both) of those folders.

BUT!
Whereas on my test site, a wide image is shown properly (the remaining regions above and below the actual image are rendered into the file with the appropriate colour specified in the configuration section, as I understand it...), it's not quite working on the live site!
The image is vertically stretched... the rendered file doesn't have the extra bits filed in, resulting still in a wide file that gets distorted when appearing in the pre-defined image areas.

Why is IH not filling in the blank bits? Maybe a further permissions issue...? Please help!

P.S.: Regarding safe mode, i'm still waiting to hear from the hosting company... in the meantime, i tried setting my own dev server to safe mode and it all seems to work fine, so I'm at a loss

4 Mar 2007, 9:35 PM
#951
mresende avatar

mresende

New Zenner

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

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

Ryk:

Not sure whether it'll help or not, but I've found that sometimes going to IH admin, clearing the cache and uninstalling/reinstalling IH there (along with FTP emptying of bmz_cache) will do the trick.

Don't know about the safe mode - but do report back.

My hosting company have today disabled PHP Safe Mode on the account and all is fine!

So it looks like, at least in my case, that IH2 doesn't play nice with safe mode enabled.

:thumbsup:

4 Mar 2007, 10:04 PM
#952
stenrique avatar

stenrique

Zen Follower

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

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

I have posted a message some time ago on a problem I encountered with IH2 here but didn't get any response hence I am posting my latest finding here, hopefully I can get some help here.

I found that when I utilize IH2 to add new image files, the "Owner" is set to "Nobody" and subsequently when I try to ftp these files, I wld get a server error stating "Insufficient privileges to perform the operation."

My question is, is it possible to configure IH2 such that images it creates inherit the default ownership? TIA

PS, my GD support is enabled, safe mode is off (Local and Master value)

5 Mar 2007, 7:49 PM
#953
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Hello Fellow Zenners, Merchants and Purveyors,

IH2 is a good thing, and I would like to ask a question, or two, if I may.
Yes..., thanks, here I go.

  1. When on "the" product page, can we get IH2 to handle poping up the largest image on file with a mouseover as it does with the thumbs?
    The click is slow and tedious.

  2. Does anyone know if IH can dynamically resize the large image to be even larger than the original without degredation, if at all?

Any info would be a good thing.

Thanks,
~Zin, loves good grapes!

5 Mar 2007, 10:00 PM
#954
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

Zinfandel:

  1. When on "the" product page, can we get IH2 to handle poping up the largest image on file with a mouseover as it does with the thumbs?
    The click is slow and tedious.

That is not part of the functionality of IH2. There is a mod called Swap Images on Mouse Over, but I can't recall if it was compatible with IH2 or even if it was brought up to ZC1.3 standard.

  1. Does anyone know if IH can dynamically resize the large image to be even larger than the original without degredation, if at all?

Not as it is - and anyway, nothing will enlarge a jpg without degradation - jpgs are saved by "lossy compression" which means data is removed...and you can't put that back

5 Mar 2007, 11:54 PM
#955
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Argh!

Thanks Ryk.

6 Mar 2007, 5:33 AM
#956
jenred avatar

jenred

New Zenner

Join Date:
Jul 2004
Location:
Australia
Posts:
48
Plugin Contributions:
0

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

I downloaded this because I specifically want the mouseover effect - showing the larger images in the fancy hover when mousing over the thumbnails. I don't really need or want the ability to create thumbnails automatically etc.

I have it installed etc but when I click on a subcategory and the thumbnails for those products come up, nothing happens and there is no javascript happening in the HTML code for the page. Yes I have the javascript bits added into my custom template folder.

When I do "View Source" for the page, I have these in the head:

<link rel="stylesheet" type="text/css" href="includes/templates/handmade/css/style_imagehover.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/handmade/css/stylesheet.css" />

<script type="text/javascript" src="includes/templates/handmade/jscript/jscript_imagehover.js"></script>

and yet there is no javascript being called in the thumbnail links.

Am I missing something here?

Any help much appreciated! :)

Jen

6 Mar 2007, 10:15 AM
#957
tasmania avatar

tasmania

New Zenner

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

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

I had a same problem as yours like additional images weren't displayed. I did the mod below and the problem resolved. First thanks for that. But now in the category listing page or in the homepage --> featured products section onmouseover doesn't work. No pop-up display when the mouse over small images. Do you have a solution for this problem ?

dandan:

I've just found why the additional images were not displayed. Image Handler has an error in includes/classes/bmz_image_handler.class.php
Replace this line:
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
with this line:
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';

Additional images are now displayed.

Daniel

6 Mar 2007, 2:08 PM
#958
tofi73 avatar

tofi73

New Zenner

Join Date:
Jan 2005
Posts:
2
Plugin Contributions:
0

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

hey there.

i´ve a problem with the permissions. both folders "images" and "bmz_cache" have "777". when i upload a image with ih2 it sets the image "600" and i have to set it manually to "755" to get it displayed on the page.

Can anyone help me please?

7 Mar 2007, 7:24 AM
#959
tasmania avatar

tasmania

New Zenner

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

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

tasmania:

I had a same problem as yours like additional images weren't displayed. I did the mod below and the

problem resolved. First thanks for that. But now in the category listing page or in the homepage --> featured products

section onmouseover doesn't work. No pop-up display when the mouse over small images. Do you have a solution for this problem

?

Actually yesterday i found the problem but my coding knowladge is not good enough to fix buggy codes. If anyone helps me

about fixing i'll be grateful.

The problem arise from added backslashes in the bmz_image_handler.class.php line 702.

onmouseover="showtrail (' . "\'$products_image_zoom\',\'$alt\',$width,$height 

If i remove this backslashes all pages work fine (shows popup images on mouse over) except product_info_display. When the

backslashes are removed product_info_display.php doesn't ever shows additional images.

The code detail of two different pages are below:

product_info_display.php --> The Code with Backslashes - Work Fine

 <script language="javascript" type="text/javascript"><!--
document.write('<a 
href="javascript:popupWindow(\'http://localhost/yeni3/index.php?main_page=popup_image_additional&pID=187&pic=0&pr
oducts_image_large_additional=images/outwear_01.jpg\')"><img 
src="bmz_cache/2/27f3969a344502c357df2741750239ad.image.78x80.jpg" alt=" " title=" " width="78" height="80" style="position:relative" onmouseover="showtrail(\'bmz_cache/7/7dddd9592ad5ce26631be343b2c9224d.image.270x273.jpg\',\'SportHilL Windshield Vest\',78,80, 270,273,this,0,0,78,80);" nmouseout="hidetrail();"  /><br />büyüt</a>');

/index.php?main_page=index&cPath=54 (Category Listing Page) --> The Code with Backslashes - Doesn't Work Fine

 <div class="dc main_cell_c1" ><br><a 
href="http://localhost/yeni3/index.php?main_page=product_info&cPath=54&products_id=134"><img 
src="bmz_cache/a/afe23b0e59406cf3795ed237bd9e331e.image.80x80.jpg" alt=" " title=" " width="80" height="80" 
style="position:relative" onmouseover="showtrail('images//sss.jpg','Mens GORE-TEX Jacket',80,80, 110,110,this,0,0,80,80);" 
onmouseout="hidetrail();"  /></a></div>

Because of the document.write code in product_info_display.php there must be backslashes on the other side these backslashes must be removed in order to other listing pages work fine.

All the pages use the code in the bmz_image_handler.class.php (line: 702).

How can i fix the problem. I spent a full day to resolve but no success. Apologize for the long explanation.

7 Mar 2007, 11:08 PM
#960
jubei avatar

jubei

New Zenner

Join Date:
Mar 2007
Posts:
1
Plugin Contributions:
0

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

Guys I'd like to REMOVE the image hover effect. How do I do that?:)