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

Results 2,221 to 2,240 of 7,094
31 Jan 2008, 7:58 PM
#2221
tacoma avatar

tacoma

Zen Follower

Join Date:
Dec 2007
Posts:
125
Plugin Contributions:
0

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

tophand:

Get the latest version.

M

I will probably come back to it later. I thought I was out of luck, and now a little gun shy.

Being an older revision would help explain some install issues.

1 Feb 2008, 10:31 AM
#2224
davale avatar

davale

Zen Follower

Join Date:
Apr 2006
Posts:
117
Plugin Contributions:
0

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

Would it be possible/useful to incorporate the manufacturers name and/or product name into the filenames IH generates within the bmz_cache directory? I'm asking because I was wondering if this could have an affect with regard to SEO.

Maybe if IH could rewrite a path like
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.image.135x89.JPG
to (for example)
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.microsoft.image.135x89.JPG
or
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.microsoft.vista.image.135x89.JPG
searchengines would pick up on this and perhaps reward us with a higher ranking.

Not sure if this could work (or even backfire) but is there someone out there who has already tried this and is willing to share his or her experiences with us (and perhaps some coding on how to do this)?

1 Feb 2008, 1:16 PM
#2225
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

This is the mod I was thinking about when I posted earlier.
http://www.zen-cart.com/index.php?ma...roducts_id=616

M

Oh, ok. I have that installed.
But the thing is that I like the hoover image better, Because it forces the image to be larger instead of a click.

I have tried to get "Click To Enlarge" to appear under the image, But I cant figure out how to do that.

http://www.allforyourwedding.com/~noah/index.php?main_page=product_info&cPath=245&products_id=1883

Click Options to see what I mean.
Those option images are just to small.

1 Feb 2008, 2:49 PM
#2226
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

milobloom:

Oh, ok. I have that installed.
But the thing is that I like the hoover image better, Because it forces the image to be larger instead of a click.

I have tried to get "Click To Enlarge" to appear under the image, But I cant figure out how to do that.

http://www.allforyourwedding.com/~noah/index.php?main_page=product_info&cPath=245&products_id=1883

Click Options to see what I mean.
Those option images are just to small.

Hi milobloom jut wondering how did you achieve the tab pages in product info page?
Did you use a separate mod for that puppose?

marksu

2 Feb 2008, 12:44 PM
#2227
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

davale:

Would it be possible/useful to incorporate the manufacturers name and/or product name into the filenames IH generates within the bmz_cache directory? I'm asking because I was wondering if this could have an affect with regard to SEO.

Maybe if IH could rewrite a path like
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.image.135x89.JPG
to (for example)
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.microsoft.image.135x89.JPG
or
bmz_cache/d/d8418ec3b6e231502512ada44ec5ed62.microsoft.vista.image.135x89.JPG
searchengines would pick up on this and perhaps reward us with a higher ranking.

Not sure if this could work (or even backfire) but is there someone out there who has already tried this and is willing to share his or her experiences with us (and perhaps some coding on how to do this)?

Pointless IMO.

marksu:

Hi milobloom jut wondering how did you achieve the tab pages in product info page?
Did you use a separate mod for that puppose?

marksu

Try this one:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=146

6 Feb 2008, 10:31 PM
#2229
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 testuser,

There seems to have a frenzy of issues; I sympathize, but I have a question.

I fired up a fresh 1.3.8a and installed the IH2 for 1.3.7, and for the most part it works.

I'm dealing with images that I have to copy from another site. I have to believe that they've been optimized and are as good as they are going to get. Due to the items themsleves, the image sizes are a mixed bag. I've been copying them directly into images/products/*.png

Then selecting them when I add the products to the catalog.

The small images do zoom when I hover over them, but only if the small image size set admin>configuration>images is set to (width x height) (100x80). If I change one of these parameters the zooming stops.

Any insight on why this would be the case?
I can't seem to get it to display larger thumbs on the product list, since I can't change the small image size.

7 Feb 2008, 1:40 AM
#2230
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

Zinfandel:

The small images do zoom when I hover over them, but only if the small image size set admin>configuration>images is set to (width x height) (100x80). If I change one of these parameters the zooming stops.

Have you tried using odd numbers --> 101x81, 125x105 ?
This is what I had to do but I know of others that had to use even numbers.

M

7 Feb 2008, 4:06 AM
#2231
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

Zinfandel:

Hello testuser,

There seems to have a frenzy of issues; I sympathize, but I have a question.

I fired up a fresh 1.3.8a and installed the IH2 for 1.3.7, and for the most part it works.

I'm dealing with images that I have to copy from another site. I have to believe that they've been optimized and are as good as they are going to get. Due to the items themsleves, the image sizes are a mixed bag. I've been copying them directly into images/products/*.png

Then selecting them when I add the products to the catalog.

The small images do zoom when I hover over them, but only if the small image size set admin>configuration>images is set to (width x height) (100x80). If I change one of these parameters the zooming stops.

Any insight on why this would be the case?
I can't seem to get it to display larger thumbs on the product list, since I can't change the small image size.

In order for the zoom to work, the dimensions of that image would need to match the small dimensions.

http://www.zen-cart.com/forum/showpost.php?p=477527&postcount=2036

7 Feb 2008, 4:46 PM
#2232
shelshell avatar

shelshell

New Zenner

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

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

I've got a few items in the cart that are named similarly, and since installing image handler, it's putting the recommended matching items below the initial product image. Problem is, it's using a huge image below it.

See here
http://www.zyliedesigns.com/index.php?main_page=product_info&cPath=65&products_id=190

How can I adjust this to either make it use the thumbnail image, or remove it entirely?

7 Feb 2008, 6:51 PM
#2233
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

shelshell:

I've got a few items in the cart that are named similarly, and since installing image handler, it's putting the recommended matching items below the initial product image. Problem is, it's using a huge image below it.

See here
http://www.zyliedesigns.com/index.php?main_page=product_info&cPath=65&products_id=190

How can I adjust this to either make it use the thumbnail image, or remove it entirely?

It's not IH it's Zen.

Zen looks for additional images that match the suffix of your product image, which in your case they're probably the same for each product.

So if you have two product images, each for different products:

product_wood.gif
product_hammer.gif

Zen will actually think the above is an additional image and the other the product image.

To fix it, rename you images like:

productwood.gif
producthammer.gif

Then respectively your additional images would look like so:

productwood_01.gif
producthammer_01.gif

7 Feb 2008, 10:50 PM
#2234
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

testuser:

Zen looks for additional images that match the suffix of your product image, which in your case they're probably the same for each product.This is in the right direction, but not quite right.

Zen Cart actually looks for image files that extend the basename of a product's main image file and treats them as additional images. The basename is the bit with the filetype extension removed. e.g. the basename for teeshirt.jpg is teeshirt. Thus teeshirt1.jpg, teeshirt_1.jpg and teeshirt_front.jpg would all be treated as additional images. In fact teeshirt<virtually-anything-at-all>.jpg would be an additional image for this product.

However, product_wood.gif and product_hammer.gif would not be linked, unless there was a product with image product.gif, in which case they would both be treated as additional images for that product.

9 Feb 2008, 12:10 AM
#2235
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

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

Any chance there is a way to get IM2 to set the width of additional images? Never came across this problem until now, and don't want to resize images for every single product. :yuck:

9 Feb 2008, 2:25 AM
#2236
zirconx avatar

zirconx

New Zenner

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

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

I added some products today, and am having all kinds of problems. The add new image area is gone, and sometimes the front-end website doesn't work either - when it tries to load one of todays products. Anyone seen this before (screen shot attached)? Could a corrupt image cause all this trouble?

Also when I click on an image to edit it, nothing happens. (should load up something where the add new image link was).

Most of the other products are ok.

Edit: looking through the generated html source, it looks like its crashing somewhere. So the add new image area is not getting displayed at all.

Here is the last portion of the generated html. Does anyone know what goes on around this point, that may be crashing? I don't know why there isn't anything in the error log.?!

<h2>
  Product: #13  Red & Clear Glass Bracelet   
  Model: DD50         
      </h2>
<table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="dataTableHeadingRow">

  <td class="dataTableHeadingContent">Image name</td>
  <td class="dataTableHeadingContent" align="center">Default size</td>
  <td class="dataTableHeadingContent" align="center">Medium size</td>
  <td class="dataTableHeadingContent" align="center">Large size</td>
  <td class="dataTableHeadingContent" align="right">Action </td>
</tr>
<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://www.mysite.com/admin/image_handler.php?products_filter=13&imgName=DD50blue&action=layout_info'">
  <td class="dataTableContent">DD50blue</td>
  <td class="dataTableContent" align="center" valign="top">
    <img src="/bmz_cache/5/55917a6c410350cc7a600a48d3ed39a3.image.50x33.jpg" border="0" alt="" width="50" height="33"><br />        100x66<br /><strong>3.05Kb</strong>      </td>
  <td class="dataTableContent" align="center" valign="top">
    <img src="/bmz_cache/0/0f20758bfccefd275f39a0d3b4457ad0.image.50x33.jpg" border="0" alt="" width="50" height="33"><br />150x99<br /><strong>5.23Kb</strong><br />      </td>

  <td class="dataTableContent" align="center" valign="top">
    <img src="/bmz_cache/b/bdd4b7e5971d12da310819a58f09ad1d.image.50x33.jpg" border="0" alt="" width="50" height="33"><br />598x396<br /><strong>129.83Kb</strong><br />      </td>
  <td class="dataTableContent" align="right"><a href="http://www.mysite.com/admin/image_handler.php?products_filter=13&imgName=DD50blue&action=layout_info"><img src="images/icon_info.gif" border="0" alt="Info" title=" Info "></a> </td>
</tr>
9 Feb 2008, 2:28 AM
#2237
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

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

That's weird I've been having problems today to. Keep getting a Warning: imagejpeg() [function.imagejpeg]: Unable to open /public_html/store/bmz_cache/6/6f5a36bd410398a73a30351ba41c5b09.image.70x98.jpg' for writing: Permission denied in /store/includes/classes/bmz_image_handler.class.php

But everything on the front end shows up fine. Just getting the error in Admin. I don't even know what that 70x98 image is. I have no images that size... Tried reinstalling too, didn't work.

This happened after trying to replace existing pictures with updated ones on one product.

9 Feb 2008, 2:50 AM
#2238
zirconx avatar

zirconx

New Zenner

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

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

Ok, I've found where the problem is, its in the loop starting on line 719 of admin/image_handler.php. Its making it through the first loop, but then crashing (with no errors or warnings, man I love php) on the second iteration.

The image is valid, I pulled it off the server and am able to view it. But when PHP or ImageHandler tries to do something with it, it bombs.

I believe this is the line its crashing on: $tmp_image_file = $tmp_image->get_local();

Any ideas how to fix?

9 Feb 2008, 3:11 AM
#2239
zirconx avatar

zirconx

New Zenner

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

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

I fixed it! The problem was the PHP script was running out of memory. I bumped up the max memory in my php.ini file from 16M to 48M.

It would be nice if this could be avoided - maybe Image Handler could look at what the max memory setting is, then guestimate the largest image that can be processed with that setting. If a larger image is attempted to be loaded - exit with an error.

Is there any other issue with very large images? They aren't resized all the time are they? Just once and then used from the bmz_cache area?

One of the reasons we wanted to use something like Image Handler was so we could just use images straight from the camera without having to worry about resizing. But that does take up space on the webhost. It would be great if the original image could be resized automatically...

9 Feb 2008, 7:16 PM
#2240
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

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

That's weird I've been having problems today to. Keep getting a Warning: imagejpeg() [function.imagejpeg]: Unable to open /public_html/store/bmz_cache/6/6f5a36bd410398a73a30351ba41c5b09.image.70x98.jpg' for writing: Permission denied in /store/includes/classes/bmz_image_handler.class.php

But everything on the front end shows up fine. Just getting the error in Admin. I don't even know what that 70x98 image is. I have no images that size... Tried reinstalling too, didn't work.

This happened after trying to replace existing pictures with updated ones on one product.

So, I still can't get this fixed. Kept trying to reset the file permissions, but then I see that it says "could not change permissions. operation not allowed"

Driving me nuts!