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

Results 761 to 780 of 7,094
14 Dec 2006, 3:01 PM
#761
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

You're welcome for the help and you bring up another good point. When you made you post I got the impression it was not a 3rd party site, but your site.

When a site belongs to Client and they state they did not do anything, always best to double check first -- as we can see in this example. :wink2:

As a Hoster, we can get similar Support issues regarding logins. Then we find the Client changed their login but forgot to mention that or somebody else they gave permission to do so, made the change and forgot to tell the Client.

Gotta love this Web stuff. :lamo:

15 Dec 2006, 9:15 AM
#762
kansai_mike avatar

kansai_mike

New Zenner

Join Date:
Dec 2006
Posts:
48
Plugin Contributions:
0

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

Hi everyone. I can't wait to get this mod working. Could you lend a helping hand?

Fatal error: Call to undefined function: bmz_needs_update() in /home/worldne/public_html/admin/image_handler.php on line 482

I'm geting this error when I click on Admin in the menu for IH2. I think I need to get in there in order to install the mod, right?:smile:

Thanks in advance.

15 Dec 2006, 9:38 AM
#763
kansai_mike avatar

kansai_mike

New Zenner

Join Date:
Dec 2006
Posts:
48
Plugin Contributions:
0

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

I'm having trouble undersanding how to merge this file into my custom template.

Could someone tell me how to merge this:

 
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
 
<?php
  if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>
<?php
 /**
  * prepares and displays header output
  *
  */
  require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
<div id="mainWrapper">

with this:

<body id="popupAdditionalImage" class="centeredContent" onLoad="resize();">
<div>
<?php
// $products_values->fields['products_image']
  echo '<a href="javascript:window.close()">' . zen_image($_GET['products_image_large_additional'], $products_values->fields['products_name'] . ' ' . TEXT_CLOSE_WINDOW) . '</a>';
?>
</div>
</body>

It seems everyone else has got this figured out. I must be getting old.:P

16 Dec 2006, 9:15 AM
#764
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

Kansai_mike:

Hi everyone. I can't wait to get this mod working. Could you lend a helping hand?

Fatal error: Call to undefined function: bmz_needs_update() in /home/worldne/public_html/admin/image_handler.php on line 482

>  
> I'm geting this error when I click on Admin in the menu for IH2. I think I need to get in there in order to install the mod, right?:smile: 
>  
> Thanks in advance.

You shouldn't need to. I recommend you start again by re-uploading the IH2 files and double check that you've followed the installation instructions to the letter.

> I'm having trouble undersanding how to merge this file into my custom template.
It's a while since I was last "inside" the IH2 mod, but as far as I recall, you don't need to "merge" code in the way your suggesting; however, some files do need to be placed in your overrides system.
17 Dec 2006, 2:12 AM
#765
kansai_mike avatar

kansai_mike

New Zenner

Join Date:
Dec 2006
Posts:
48
Plugin Contributions:
0

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

OK. It works. So far.

Here's what I did.

I reverted everything back to the beginning and then reuploaded all of the files again.

Then I simply added the CSS file to my CSS folder in my custom template directory, I had merged them before. I did the same for the additional popups image directory where I just uploded the directory instead of adding the code to my main template.

Thanks for your help Ryk. Just needed the push. :D

19 Dec 2006, 10:35 PM
#766
13moons avatar

13moons

Zen Follower

Join Date:
Nov 2003
Posts:
111
Plugin Contributions:
1

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

Well I've gone through most of the pages about IH and I'm still a bit confused. I'm just about finished my upgrade from 1.2. I've tested with just a few images and IH seems fine. Since I was using the previous version of IH I have all those medium, large, original folders and files. I'd like to clean this up with only what's necessary for the new version. So does anyone know if the following will work.

After installing IH 2 upload all of the files in the original folder and still keeping it in the original folder. Go to IH2 admin and run "Scan for old IH 0.x and 1.x original images". I should then be done and all small, medium and large images should run from bmz cache. This way I'm not uploading all the old medium and large images. Anybody know if I got it right?

20 Dec 2006, 9:10 AM
#767
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

13moons:

Well I've gone through most of the pages about IH and I'm still a bit confused. I'm just about finished my upgrade from 1.2. I've tested with just a few images and IH seems fine. Since I was using the previous version of IH I have all those medium, large, original folders and files. I'd like to clean this up with only what's necessary for the new version. So does anyone know if the following will work.

After installing IH 2 upload all of the files in the original folder and still keeping it in the original folder. Go to IH2 admin and run "Scan for old IH 0.x and 1.x original images". I should then be done and all small, medium and large images should run from bmz cache. This way I'm not uploading all the old medium and large images. Anybody know if I got it right?

Thats whats meant to happen..
However backup your images first as each time I have tried this with 1.3.6 it deleted all the files in the original directory and none ended up in the images directory. I ended up having to restore the files and then manually copying the files from the images/original to images.
Also before it will cache the images you will have to delete them from the medium and large directories. If you leave them there these images will be used instead.

20 Dec 2006, 4:40 PM
#768
toykilla avatar

toykilla

New Zenner

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

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

I installed this contribution, now I am getting blank pages on the store and the admin :(

20 Dec 2006, 5:18 PM
#769
toykilla avatar

toykilla

New Zenner

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

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

Nevermind. I found the answer in this thread.

20 Dec 2006, 8:37 PM
#770
13moons avatar

13moons

Zen Follower

Join Date:
Nov 2003
Posts:
111
Plugin Contributions:
1

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

Thanks gilby. When I do it I'll post the results. Hopefully it'll be positive!

21 Dec 2006, 9:19 PM
#771
thetankgirl avatar

thetankgirl

New Zenner

Join Date:
Jul 2005
Posts:
33
Plugin Contributions:
0

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

Does someone have Image Handler and Tabbed products working together? My images won't zoom as soon as I placed the jscript for Tabbed Products Lite :(

22 Dec 2006, 11:38 PM
#772
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

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

Hi everybody,

I have just installed IH2 on zen cart 1.3.5 and everything seems to be working fine except zooming on mouseover. Nothing is happening when I hover over the smal product image. What is wrong?

Plrase, help

Thanks

Andy

23 Dec 2006, 7:32 AM
#773
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

OK, I installed IH2 on my site with no problems...but now I'm trying to install it on someone else's site, and whenever I install it, all of her product images disappear. Anyone had this happen? I've checked and the permissions are all good...I just don't know where else to look :(

24 Dec 2006, 6:40 PM
#774
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

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

On a different idea, I find png's hard to make transparent for the watermark in the way that the zencart one is..

But simple transparent gif's I know how to do...

If you want to use a watermark.gif (watermark_LRG.gif, watermark_MED.gif)
the function in the IH2 classes file 'includes\classes\bmz_image_handler.class.php' is

 function initialize_overlays($sizetype) {

and in there you will see references to 'watermark' followed by

'.png' : '';

I changed the png to gif, and it watermarked a large picture with my new 'watermark_LRG.gif' file (put into the 'large' images directory) -so I assume this is all one needs to do.

25 Dec 2006, 2:59 AM
#775
hankliu avatar

hankliu

New Zenner

Join Date:
Nov 2006
Posts:
28
Plugin Contributions:
0

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

I transfered my site to a new domain and the product info page is not working, the following message shows:

Fatal error: Call to undefined function: zen_image_lightbox_ih2_url() in ../templates/tpl_modules_main_product_image.php on line **17

**Any idea on this? Thanks!

27 Dec 2006, 7:38 AM
#776
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

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

I have installed IH2; and it works just fine. One thing i cannot figure out - what is the size of the LRG images that IH generates by default? Even, if I do not make _LRG files, the image handler creates large images anyway. It seems that it creates a double size of the small images. Is it correct?

27 Dec 2006, 9:24 AM
#777
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

andy1234:

I have installed IH2; and it works just fine. One thing i cannot figure out - what is the size of the LRG images that IH generates by default? Even, if I do not make _LRG files, the image handler creates large images anyway. It seems that it creates a double size of the small images. Is it correct?

You set the size of LRG images in admin>configuration>images

27 Dec 2006, 11:30 AM
#778
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

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

Ryk,

Which setting relates to the LRG image?
I can see small image width & height and Product Info image width & height, which corresponds to the MED image. Where is the LRG one?

Thanks,

Andy

27 Dec 2006, 11:34 AM
#779
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

Towards the bottom - "IH large image maximum width" and the next line

27 Dec 2006, 11:48 AM
#780
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

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

I have IH large image maximum width/height 750/550px accordingly. However, all the existing LRG images (before IH installation) are 200x160 or 300x240. Those are generated by IH as I have not created large images.

My question remains the same: where are the above settings 200x160 or 300x240? I just cannot find such numbers in the configuration->images