Re: Image Handler 4 Support Thread
I've got a site running Zen Cart v1.5.4 (quite modified), IH-4, PHP 5.6.16, GD version "bundled (2.1.0 compatible)", PHP memory limit 128MB
All's been working quite nicely ... then a new product was introduced with an image that's 1,280,074 bytes (the previous largest one was 889,894 bytes). Attempting to (a) display that product in a listing, (b) display that product's details and (c) view that product's images in Tools->Image Handler-4 all result in a partially-rendered page with no debug-log generated.
I remember seeing a report of such an issue (perhaps by @delia) within the past year, but can't locate that posting now. Any suggestions on the proper corrective-action (other than resizing the image down)?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
lat9
I've got a site running Zen Cart v1.5.4 (quite modified), IH-4, PHP 5.6.16, GD version "bundled (2.1.0 compatible)", PHP memory limit 128MB
All's been working quite nicely ... then a new product was introduced with an image that's 1,280,074 bytes (the previous largest one was 889,894 bytes). Attempting to (a) display that product in a listing, (b) display that product's details and (c) view that product's images in Tools->Image Handler-4 all result in a partially-rendered page with no debug-log generated.
I remember seeing a report of such an issue (perhaps by @delia) within the past year, but can't locate that posting now. Any suggestions on the proper corrective-action (other than resizing the image down)?
Size of file wasn't the issue, resolution of the image is/was. Posting describing the above and appears to have some troubleshooting tips is in the following thread: https://www.zen-cart.com/showthread....ings&p=1269892
Re: Image Handler 4 Support Thread
Thanks for that, mc12345678! At least I've now got a starting point for figuring out how to tackle this programmatically.
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
mc12345678
Quote:
Originally Posted by
lat9
Thanks for that, mc12345678! At least I've now got a starting point for figuring out how to tackle this programmatically.
It IS possibly a filesize issue.. There are some documented GD limitations based on filesize.. That thread is a source of the info I found.. Notably:
Quote:
One other potential problem you may run into is to do with memory. It seems that GD holds all images in memory as bitmaps once they've been opened. This means that a 5MB image can actually consume more memory than a single PHP thread is allowed, resulting in a fatal error. I had this problem with some image uploads and had to reduce the maximum file size I allowed to get around the problem.
Re: Image Handler 4 Support Thread
Hello, I would like to format the hover function of this addon - particularly the position of the larger 'floating' image when displayed. I wondered if that was simple to acheive?
I have disabled the hover function for all pages except Product Info, so when hovering over the small additional images a large image is displayed. I would ideally like for this to be displayed over the main product image, rather than alongside the mouse pointer / cursor. Or perhaps limit the size and have in a fixed position rather than following the mouse.
Thanks for any help!
Re: Image Handler 4 Support Thread
Hi,
Hope this isn't a dumb question but... how often does BMZ cache rebuild?
I am adding some pages and would like to copy/paste category grids into source. For instance:
Quote:
<table align="center" border="0" cellpadding="1" cellspacing="15" width="100%">
<tbody>
<tr>
<td align="center" valign="top" width="32.5%">
<div class="categoryListBoxContents" style="width:100%;">
<a href="/Solder_Fluxes_Chemicals/Solder_Paste/Lead_Free"><img alt="Lead Free" height="150" src="bmz_cache/5/52004ec3453bf98d01fe0f7ae8026da9.image.150x150.JPG" title=" Lead Free " width="150" /><br />
Lead Free</a></div>
</td>
<td class="vDotLine" rowspan="4">
</td>
<td align="center" valign="top" width="32.5%">
<div class="categoryListBoxContents" style="width:100%;">
<a href="/Solder_Fluxes_Chemicals/Solder_Paste/No_Clean"><img alt="No Clean" height="150" src="bmz_cache/c/c0833ee64e8a63a882782f8b4cbd4879.image.150x150.jpg" title=" No Clean " width="150" /><br />
No Clean</a></div>
</td>
<td class="vDotLine" rowspan="4">
</td>
<td align="center" valign="top" width="32.5%">
<div class="categoryListBoxContents" style="width:100%;">
<a href="/Solder_Fluxes_Chemicals/Solder_Paste/Rosin_Based"><img alt="Rosin Based" height="150" src="bmz_cache/c/c8c89121bab52d61a3894e77b22a85cd.image.150x150.jpg" title=" Rosin Based " width="150" /><br />
Rosin Based</a></div>
</td>
</tr>
<tr>
<td class="hDotLine">
</td>
<td class="hDotLine">
</td>
<td class="hDotLine">
</td>
</tr>
<tr>
<td align="center" valign="top" width="32.5%">
<div class="categoryListBoxContents" style="width:100%;">
<a href="/Solder_Fluxes_Chemicals/Solder_Paste/Water_Soluble"><img alt="Water Soluble" height="150" src="bmz_cache/d/da0b60f64afaaa3dc29431c72df80304.image.150x150.jpg" title=" Water Soluble " width="150" /><br />
Water Soluble</a></div>
</td>
</tr>
</tbody>
</table>
I have about 30 such pages to build. If I can just copy/paste those grids, the work will go super fast, look great, and have the benefits of IH.
But if the cache updates automatically or changes for some reason, it will be extremely painful to clean up.
Am I safe to use the cached images?
Re: Image Handler 4 Support Thread
I'm having some issues with IH4 on my site. It was working perfectly but for some reason now, she's broken. One category still displays in admin>tools>image handler4 but if I click one any of the other categories it comes up with this only:
Image Handler4
No Image Handler information found.
Image Manager Admin Tools Preview About/Help
Uninstall Image Handler. (Please backup your site and database first)
Clear image cache
Scan for old IH 0.x and 1.x original images
No mods were done in between it working as it should to now.
My work mate had added some images that were far too large, so I deleted all of them with filezilla and re uploaded drastically reduced ones.
I've emptied the cache and bmz_cache
But none of the above seemed to have worked.
The website is fabbedart.com.au - has anyone come across this before?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
Feznizzle
Hi,
Hope this isn't a dumb question but... how often does BMZ cache rebuild?
I am adding some pages and would like to copy/paste category grids into source. For instance:
I have about 30 such pages to build. If I can just copy/paste those grids, the work will go super fast, look great, and have the benefits of IH.
But if the cache updates automatically or changes for some reason, it will be extremely painful to clean up.
Am I safe to use the cached images?
I wouldn't.. My suggestion is to write this HTML using php to call the image for the specific product you are trying to display.. if you use Zen Cart image functions, then IH4 should use those to display the correct cached image..
I also suggest not using tables to build these grids.. Grids can be accomplished using a number of CSS methods..
Re: Image Handler 4 Support Thread
Hello, I now have the same problem as Crooked_Halo (above) and others - Image Handler was working fine, now when I go to the admin page it states:
"No Image Handler information found."
...which is pretty odd. I have added a few mods etc since last using IH admin but nothing that should have interfered.
I have checked through all the IH installation files and the only one that has been changed recently / is missing is this:
admin/includes/auto_loaders/config.image_handler.php
...which is missing, I assume this gets removed during install and isnt the problem?
So any idea what this could be? I guess a potential database issue?
Has anybody else managed to solve the "No Image Handler information found." problem?
This is very frustrating! Thanks for any help!
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
fobes77
Hello, I now have the same problem as Crooked_Halo (above) and others - Image Handler was working fine, now when I go to the admin page it states:
"No Image Handler information found."
...which is pretty odd. I have added a few mods etc since last using IH admin but nothing that should have interfered.
I have checked through all the IH installation files and the only one that has been changed recently / is missing is this:
admin/includes/auto_loaders/config.image_handler.php
...which is missing, I assume this gets removed during install and isnt the problem?
So any idea what this could be? I guess a potential database issue?
Has anybody else managed to solve the "No Image Handler information found." problem?
This is very frustrating! Thanks for any help!
See #1427 . This was fixed in the latest release of IH4 if remember correctly