Forums / General Questions / Problem with Image Handler

Problem with Image Handler

Started by gamenano on 3 May 2009, 3:47 PM · Views: 3,420

Results 1 to 19 of 19
3 May 2009, 3:47 PM
#1
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Problem with Image Handler

Hello All,

I seems to have problem with the image handler. Some of my product's images are correctly "handle" but some are not. The problem I have now is that the image are showing correctly from the admin as you can see in the scrren shot below, but the image are not showing on the site. I have the same problem for 2 products now. All other are fine at the moment.

Is there anyone out there know the solution.

Thank you very much in advance for any help or suggestion.

3 May 2009, 8:32 PM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Problem with Image Handler

First things to try are clearing the cache for Image Handler through the admin menu. Then, ensure you delete the contents of bmz_cache folder, in your store root. There will be a number of folders called a, b, c etc. These should all be removed. Then ensure that the bmz_cache folder is set to 0777 permissions.

Finally, if you then try to view the images, and they still don't appear, I would suggest openning the files in an image editor, and then re-saving them as the same format. There are a couple of JPEG types where extroneous data is stored within the file, and this has an effect on certain browsersand with the GD_image library. Normally re-saving these files removes this data, and you images should then display.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

4 May 2009, 1:33 AM
#3
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

Firstly, Thank you very much for your quick reply.

I have do everything you said but the same problem still arised. I have problem for only 2 of the products. All the others were correctly displayed. I have even changed the trouble ones to a different format of image. (From jpg to png). Picture shown perfectly fine from admin but just won't show in my shop...... sorry to ask again, but is there any other possible casued or I am just being thick :frusty:

4 May 2009, 3:29 PM
#4
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Problem with Image Handler

Can you post a URL to your store?

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

4 May 2009, 11:27 PM
#5
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

of course Absolute! Thank you thank you.

It's https://www.gamenano.com. Do you need to login to admin as well? I can provide the user name and password via PM. Not all product has got link images, but the couple following links are products have link images.

http://www.gamenano.com/index.php?main_page=product_info&products_id=21

and also this one,

http://www.gamenano.com/index.php?main_page=product_info&cPath=5_14&products_id=11

Many thanks

4 May 2009, 11:51 PM
#6
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Problem with Image Handler

Your image files are all referenced to as URLs with an additional '/'. You need to remove this, before image handler will work correctly. See the code for product 21, and you will see that the image URL is along the lines of src="images//IMAGE_NAME.jpg"

This is either the URL of the file within the database, or it is due to the way your config file is setup.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

5 May 2009, 1:20 AM
#7
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

Thank you very much

I can see that the url is with an additional , but that image are fine. In fact, all product default logo displayed without any problem. Problem I have got is the related images shown in the buttom of the product screen, take the SONY M2 card as an example, (Shown on the original post) The product screen suppose to show a related link image as well, (hand holding the card image) But if you have a look at the following URL, that image was not shown.

http://www.gamenano.com/index.php?main_page=product_info&cPath=2_22&products_id=17

most others work fine, like the Kingston SD Card http://www.gamenano.com/index.php?ma...products_id=21

So what could be the possible cause of this? Thanks again.

5 May 2009, 8:09 AM
#8
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Problem with Image Handler

Some of your images you have ending with upper case "JPG".
Good chance that in your Admin-->Config-->Images you have set the file extension to "jpg" lower case.
You can not mix upper/lower case file extensions.
Also it looks like you do not have IH turned on. The images I look at was not being processed by IH.
And you do not have all of IH files installed, you are missing at least a css file.

5 May 2009, 9:54 AM
#9
garethrooney avatar

garethrooney

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: Problem with Image Handler

Arrrr you are also have the same issue as me with aditional images not wrapping properly within the box frame?

Does anyone know how to fix this?

See my attached image and game nano's product 21

Cheers

Gareth

6 May 2009, 12:10 AM
#10
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

:hug:

Thank you absolute! After changing the jpeg file extension from upper case to lower case, problem solved! Many thanks.

Got one more question, It's rather annoying that the Register screen having the privacy statement check box on the top of the screen, many user would forget to tick the box before they press the sumbit button. I once tried to have the box ticked as default, but 2 minute later I decide to undo it as it's unfair to assume the user agreeed to my pravicy statement and it maybe illegal. Since all other fields and radio buttons on the register page have a message box function telling user that they have to enter something or enter something valid once they click submit, however, for the privacy statement check box, the page will start loading then shows a warning message on the top of the screen. That was not a problem, the problem is all user input i.e. name address, phone number ... everything will be gone! I think is a bit strange comparing this to other websites. Have you got a solution regarding this?

To garethrooney, Hi mate. When I gone into admin and turned on SEO, all additional images were not wrapped correctly. Once I turned SEO off then they look fine again. I know is not a very good answer, but that is what happen to me. Good luck.

6 May 2009, 7:52 AM
#11
garethrooney avatar

garethrooney

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: Problem with Image Handler

gamenano thanks, just trid that but it didnt work i still cant get that frame to pull fown over all the aditional images. Its like it wont pull down over the last row of additonal images.

I would even welcome knowing where i can turn it off if i cant fix it. It it just bugging me that it visually only half works!

Cheers

Gareth

6 May 2009, 8:56 AM
#12
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Problem with Image Handler

Gamenano - you don't have Image Handler working on the store side. Right click on any of your product images, and you'll see that the image being shown is bigger than the pixel size being displayed. For example, the product image on http://www.gamenano.com/index.php?main_page=product_info&cPath=2_22&products_id=19 is being shown at 120 x 120, but the actual image being used is 500 x 500. You need to ensure that Image Handler is set to resize images under Configuration >> Images in the admin. Also ensure that the bmz_cache folder is set to 0777 permissions. When this works, your image should be re-sized, and should be pointing to the bmz_cache folder, where a re-sized copy of the original image is stored.

garethrooney - you need to add a <br class="clearBoth" /> to the box after the additional images have been added. The reason the box doesn't extend all the way down to where it should, is because the float isn't clearing properly.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

6 May 2009, 10:04 AM
#13
garethrooney avatar

garethrooney

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: Problem with Image Handler

Cheers Absolute, you wouldnt happen to know which page thats in?

Cheers

Gareth

6 May 2009, 10:25 AM
#14
garethrooney avatar

garethrooney

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: Problem with Image Handler

Arrrrrrrrrrrrrrrrrrr found it in tpl_modules_additional_images.php

In the template dir

between the end of the php code and the /div tag around line 24ish if anyone wants to know

Thanks again absolute

Cheers

Gareth

6 May 2009, 10:35 PM
#15
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

Thank you absolute.

I remember you said in the previous post that I have not got the IH2 installed properly on my zen cart and missing a CSS file. Now what should I do first, remove the IH2 mod from somewhere first and reinstall or just overwrite the old files.

Many thanks

6 May 2009, 11:03 PM
#16
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Problem with Image Handler

furthermore, if I need to reinstall my IH2, which version do you recommand? After I seach on the free addons, this is what comes up for image handler

Cherry Zen Template
Last Updated by: Jade True - SageFish.com Jul 26 2008 v1.3.8 1.7
Image Handler 2 for v1.2.7
Last Updated by: Tim Kroeger Jun 02 2006 v1.2.7 2.0
Image Handler 2 for v1.3.x
Last Updated by: yellow1912 Jan 16 2009 v1.3.7 2.0 for zen 1.3.7+
Image management for dummies
Last Updated by: Patrick Green Jul 17 2006 v1.3.0 All ZC
PopUp on Attribute Images
Last Updated by: Colinr Nov 27 2006 v1.3.6 1.0
Zen Lightbox
Last Updated by: Alex Clarke Dec 18 2008 v1.3.8 1.5

Displaying 1 to 6 (of 6 products)

Many thanks

7 May 2009, 7:34 AM
#17
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Problem with Image Handler

gamenano:

Thank you absolute.

I remember you said in the previous post that I have not got the IH2 installed properly on my zen cart and missing a CSS file. Now what should I do first, remove the IH2 mod from somewhere first and reinstall or just overwrite the old files.

Many thanks

You are using a Monster template.
You might never get IH or any other mod to work with this template.
If you paid money for this template you need to contact Monster for support.

Do a search here for Monster templates.

10 Jun 2009, 9:43 PM
#18
ronnino2 avatar

ronnino2

New Zenner

Join Date:
Jun 2009
Posts:
1
Plugin Contributions:
0

Re: Problem with Image Handler

Hi there,

the files show ok to me in the website, but, I have some problems in the backend. In the admin panel, the thumbs break and do not show at all. Looking at their properties, they are linked to the /root url, but my shop is under /test folder, so they just break... How is this possible?

I use ZC 1.3.8b and IH2.0.

Thanks.

8 Mar 2011, 9:01 PM
#19
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: Problem with Image Handler

I am having the same problem. My images are showing up great on the site, but not visible in the admin.

ZC 1.3.7
http://www.monumentsplus.com