Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 4 (for v1.5.x) Support Thread

Image Handler 4 (for v1.5.x) Support Thread

Views: 343,297

Results 441 to 460 of 1,691
30 Dec 2012, 6:28 PM
#441
edsgoodstuff avatar

edsgoodstuff

New Zenner

Join Date:
Oct 2012
Posts:
25
Plugin Contributions:
0

Image Handler 4 (for v1.5.x) Support Thread

Thanks for the quick response DivaVocals. Already took the safe route and just deleted most of the images in the folders but next time will delete the folders. That will save a lot of time.

Yes have about 2000 products currently and some of them have 5 images each. And a lot of Categories too.

The host is the one that begins with G and ends with Y- this is my first shop and am on a budget. I know some people here dislike them for various reasons but haven't had any problems up until now. The only reason I found out about this issue is because my Disc Space Usage stats started showing up as 0MB Used in their control panel last month, previously had been showing correct info. So had no idea how much space my files were taking up. I contacted support twice with no solutions, then had them escalate the ticket, and today was told the issue was being caused by the bmz_cache folders having more then 1024 files in them. The way they let me know was by sending a violation warning and telling me I would be suspended if I don't fix it, not the best way to handle it in my opinion. My stats still show 0 MB used but hopefully will be corrected soon.

The issue with hosting service is not the overall amount of files but the number of files in each folder. I have heard about this before- remember reading that if you put more than a certain amount of files in each folder this can slow things down. But also think I read somewhere in the Zen Cart forums that you can have as many images as you want in the Image folder and it won't slow things down on the server side.

Does anyone know which is correct? Is the 1024 file/folder limit a real or made up issue? Also any other suggestions on the best way to work around this would be appreciated.

30 Dec 2012, 7:04 PM
#442
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

EdsGoodStuff:

Thanks for the quick response DivaVocals. Already took the safe route and just deleted most of the images in the folders but next time will delete the folders. That will save a lot of time.

Yes have about 2000 products currently and some of them have 5 images each. And a lot of Categories too.

The host is the one that begins with G and ends with Y- this is my first shop and am on a budget. I know some people here dislike them for various reasons but haven't had any problems up until now. The only reason I found out about this issue is because my Disc Space Usage stats started showing up as 0MB Used in their control panel last month, previously had been showing correct info. So had no idea how much space my files were taking up. I contacted support twice with no solutions, then had them escalate the ticket, and today was told the issue was being caused by the bmz_cache folders having more then 1024 files in them. The way they let me know was by sending a violation warning and telling me I would be suspended if I don't fix it, not the best way to handle it in my opinion. My stats still show 0 MB used but hopefully will be corrected soon.

The issue with hosting service is not the overall amount of files but the number of files in each folder. I have heard about this before- remember reading that if you put more than a certain amount of files in each folder this can slow things down. But also think I read somewhere in the Zen Cart forums that you can have as many images as you want in the Image folder and it won't slow things down on the server side.

Does anyone know which is correct? Is the 1024 file/folder limit a real or made up issue? Also any other suggestions on the best way to work around this would be appreciated.Clearly the 1024 file/folder limit is one GoDaddy imposed upon you, and it's not a made up issue as you can see as you are now dealing with the consequences of this limit..

I realize that you are on a budget, but if your BUSINESS is hosted on an inadequate web host, then you are putting that BUSINESS in jeopardy. There are PLENTY of budget friendly hosting providers out there which will provide you with better hosting services (Blue Host, HostGator among others). If you MUST stay with GoDaddy and you are using their low -end budget plan, then you need to upgrade it. Honestly, THAT is the RIGHT long term solution..

30 Dec 2012, 10:24 PM
#443
edsgoodstuff avatar

edsgoodstuff

New Zenner

Join Date:
Oct 2012
Posts:
25
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

Thanks again for the reply. I only signed up for one year plan with them. From what I have read in the forums getting good web hosting for Zen Cart is a moving target, so a good host might go downhill quickly and I assume it's also possible to get a decent product from some of the hosts that aren't so popular here. This is the first issue I had with them and it's been sorted out reasonably quickly, at least I hope so.

I have heard of the other two hosts you mentioned and am going to look into them.

The interesting thing is I checked the Service Agreement they referenced and don't seem to see anything about the 1024 file/folder limit per folder. There is a lot of text so it's possible I could have missed it though.

30 Dec 2012, 11:41 PM
#444
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

EdsGoodStuff:

Thanks again for the reply. I only signed up for one year plan with them.** From what I have read in the forums getting good web hosting for Zen Cart is a moving target, so a good host might go downhill quickly and I assume it's also possible to get a decent product from some of the hosts that aren't so popular here.** This is the first issue I had with them and it's been sorted out reasonably quickly, at least I hope so.

I have heard of the other two hosts you mentioned and am going to look into them.

The interesting thing is I checked the Service Agreement they referenced and don't seem to see anything about the 1024 file/folder limit per folder. There is a lot of text so it's possible I could have missed it though.
I don't know what you "read in the forums" or what you mean by "getting good web hosting for Zen Cart is a moving target". This doesn't ring true to me especially since there are THOUSANDS of Zen Cart stores out there who do not have issues with the configurations of their web site hosting account which would preclude them from using IH4 and it's optimizing/caching features.. Speaking from my own experience, my clients have been in business for 5 years or more and none of them had to change hosts because "getting good web hosting for Zen Cart is a moving target". In fact with the exception of one client -- who only changed hosts because his old webhost was a former friend who forced him to change hosts for PERSONAL reasons-- all of my clients have been with the same webhost for the entire time they have been in business.. they aren't using GoDaddy and they don't have the file/folder limits GoDaddy put on your account.

That said, this line of discussion is off-topic for this support thread, so let me wrap up with this thought. Hosting with a hosting company who has imposed limits which are in opposition to the configuration of your site should be an incentive for you to either upgrade your hosting plan (especially if you are using GoDaddy's "Economy" plan -- which I suspect you are based on your previous posts) or move to a host which will not place restrictions that negatively impact your business.

31 Dec 2012, 1:19 AM
#445
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

All I will say is the big name web host companies are all the same and this isn't a shameless plug for mine. If they are on the 1st page of Google they probably suck

31 Dec 2012, 10:03 AM
#446
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

uswebworx:

All I will say is the big name web host companies are all the same and this isn't a shameless plug for mine. If they are on the 1st page of Google they probably suck

I tend to agree... A LOT of people just do not seem to appreciate that when you run a business online, your hosting and technical partners are a CRITICAL element in the success of your business.

Every single second of down-time, or slow performance, or technical glitches, means you are either LOSING money, or not making it in the first place. And think of all the time you can spend trying to get your head around the barriers these cheap hosts put in your pathway.

These "cheap" hosts turn out to be extremely expensive, and can in fact cost you your business.

The biggest boost you can give to your business is to get the site off GoDaddy as soon as possible (right now is a good time), and host with a company who KNOWS eCommerce and who KNOWS how to maximise server performance for these complex and sophisticated CMS platforms. Sadly, the cheap and "popular" hosts are just not up to this task.

31 Dec 2012, 12:50 PM
#447
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

As stated this isn't spam or a plug for me. But it's the reason I opened my own. I got tired of being jerked around by the "big boys" so to speak.
I will help anyone I can.

Tech support with the bigger guys is null and void usually as well as they are so "big" your question isn't important since they are so cheap. You find very few web hosts that know web design as well. (I am an exception as many here are). No body can give you unlimited bandwidth or unlimited space, read the terms of service closely. Someone has to pay for it.

I am running a store right now for a client that is using 25-45GB of bandwidth a month and had 0 downtime. (That's my plug for the end of the year).

Happy New Year Zen!!!

31 Dec 2012, 3:28 PM
#448
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

Not that the current line of discussion isn't important or relevant, but as I stated previously, a discussion about web hosting is off-topic for this support thread. As such if the OP and anyone else wants to continue this particular discussion, I'd like to respectfully ask that it be moved to a new post as this topic is no longer about support for IH4..

1 Jan 2013, 8:05 PM
#449
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 4 (for v1.5.x) Support Thread

@ You Go Daddy users

Ok this is an unsupported mod here, which may help you Go-Daddy fans

This hasn't been heavily tested so use at your own risK

from line 71 in your
/includes/functions/extra_functions/functions_bmz_io.php

function getCacheName($data, $ext='') {
  global $bmzConf;

  $md5  = md5($data);
  $file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
  io_makeFileDir($file);
  return $file;
}

try replacing it with this

function getCacheName($data, $ext='') {
  global $bmzConf;

  $md5  = md5($data);
//  $file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
  $file = $bmzConf['cachedir'] . '/' . substr($md5,0,2) . '/' . $md5.$ext;
  io_makeFileDir($file);
  return $file;
}

Currently Image Handler uses the first character of the optimised image for the sub directory name in your bmz_cache folder, so you will have 16 sub folders 0-f (hexidecimal), The change above instead take the first 2 characters of the optimised image name giving you 256 subfolders in the bmz_cache, so this should mean less images in each folder.

And just a note, there is no point trying to take the first 3 chars as that will give you 4096 folders which might kill the hamster that runs Go-Daddy

1 Jan 2013, 10:43 PM
#450
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

nigelt74:

@ You Go Daddy users

Ok this is an unsupported mod here, which may help you Go-Daddy fans

This hasn't been heavily tested so use at your own risK

from line 71 in your
/includes/functions/extra_functions/functions_bmz_io.php

function getCacheName($data, $ext='') {
global $bmzConf;

$md5 = md5($data);
$file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
io_makeFileDir($file);
return $file;
}

> try replacing it with this
> ```php
function getCacheName($data, $ext='') {
  global $bmzConf;

  $md5  = md5($data);
//  $file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
  $file = $bmzConf['cachedir'] . '/' . substr($md5,0,2) . '/' . $md5.$ext;
  io_makeFileDir($file);
  return $file;
}

Currently Image Handler uses the first character of the optimised image for the sub directory name in your bmz_cache folder, so you will have 16 sub folders 0-f (hexidecimal), The change above instead take the first 2 characters of the optimised image name giving you 256 subfolders in the bmz_cache, so this should mean less images in each folder.

And just a note, there is no point trying to take the first 3 chars as that will give you 4096 folders which might kill the hamster that runs Go-Daddy
Wanted to add this.. since this is indeed an unsupported mod, I would ask that anyone who uses it and has issues take the discussion of those issues to a new thread..

2 Jan 2013, 4:38 AM
#451
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Wanted to add this.. since this is indeed an unsupported mod, I would ask that anyone who uses it and has issues take the discussion of those issues to a new thread..

Yep any users who use the above mod/changes, go here and give you verdict/feedback

2 Jan 2013, 11:23 PM
#452
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

Hi,

I have installed image handler and all is working great. I have the zoom on hover working perfectly on the items that I want it to except for the additional images....you still have to click to enlarge as seen here http://www.nitwitcollections.com/shop/index.php?main_page=product_info&cPath=1&products_id=1180. As you will see at the bottom of this product page, the zoom works well on the "co-ordinating products" and "also purchased", but not for the additional images just under the main image.

I have uploaded the additional images using the IH Manager and uploaded the _LRG format in the default field as per the Usage Instructions and have this _LRG file placed in the images/large and images folders in my cart. Is there an image size value that I need to change in Admin->Config->Images in order get these to zoom on hover?

Thanks in advance for your response,
Jeff

3 Jan 2013, 1:37 AM
#453
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

NWCE:

Hi,

I have installed image handler and all is working great. I have the zoom on hover working perfectly on the items that I want it to except for the additional images....you still have to click to enlarge as seen here http://www.nitwitcollections.com/shop/index.php?main_page=product_info&cPath=1&products_id=1180. As you will see at the bottom of this product page, the zoom works well on the "co-ordinating products" and "also purchased", but not for the additional images just under the main image.

I have uploaded the additional images using the IH Manager and uploaded the _LRG format in the default field as per the Usage Instructions and have this _LRG file placed in the images/large and images folders in my cart. Is there an image size value that I need to change in Admin->Config->Images in order get these to zoom on hover?

Thanks in advance for your response,
Jeff

In working on this once again (once taking a break) I have answered my own question, and now have it working. It was my main image name that was throwing everything off, in that I was using the _LRG image file and name, placed in the images folder. Once I took out the _LRG prefix, it now works perfectly.

I Hope that this may help someone else if they have the same error they have committed!!

Jeff

3 Jan 2013, 1:58 AM
#454
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

NWCE:

Hi,

I have installed image handler and all is working great. I have the zoom on hover working perfectly on the items that I want it to except for the additional images....you still have to click to enlarge as seen here http://www.nitwitcollections.com/shop/index.php?main_page=product_info&cPath=1&products_id=1180. As you will see at the bottom of this product page, the zoom works well on the "co-ordinating products" and "also purchased", but not for the additional images just under the main image.

I have uploaded the additional images using the IH Manager and uploaded the _LRG format in the default field as per the Usage Instructions and have this _LRG file placed in the images/large and images folders in my cart. Is there an image size value that I need to change in Admin->Config->Images in order get these to zoom on hover?

Thanks in advance for your response,
Jeff

NWCE:

In working on this once again (once taking a break) I have answered my own question, and now have it working. It was my main image name that was throwing everything off, in that I was using the _LRG image file and name, placed in the images folder. Once I took out the _LRG prefix, it now works perfectly.

I Hope that this may help someone else if they have the same error they have committed!!

JeffThat's because NOWHERE in the readme do we include any instructions to upload "the _LRG format in the default field".

7 Jan 2013, 7:52 PM
#455
bobmeetin avatar

bobmeetin

New Zenner

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

Re: Image Handler 4 (for v1.5.x) Support Thread

I got Image Handler installed on ZC 1.5.1 successfully but have run into some inconsistency problems in being able to edit products going either route, via Catalog - Catalog/Products --> clicking on the IH image or Tools --> Image Handler.

Via the second route, Tools --> Image Handler, it displays the full list of categories, but only a dozen product from one category are selectable.

You select Tools --> Image Handler

It shows the 4 options across the top:
Image Manager - Admin Tools - Preview - About/Help
And lists:

  • Uninstall Image Handler. (Please backup your site and database first)
  • Clear image cache
  • Scan for old IH 0.x and 1.x original images
    I click on Image Manager
    It shows the category selector, then 1 of 12 products; these products are all editable.
    If I select 'any' of the other categories, next/previous, etc it loses the category list and products reverting to only showing only the 4 options and 3 bulleted items as noted above.

Also, under the title, "Image Handler 4", you see a message: "No Image Handler information found."

Going the other route through Category/Product, if I click on the image icon with a product it also takes me to the same 4 options and 3 bulleted items but with no categories, products, anything.

Ideas, please???

7 Jan 2013, 8:13 PM
#456
bobmeetin avatar

bobmeetin

New Zenner

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

Re: Image Handler 4 (for v1.5.x) Support Thread

Attachment 11733

The image represents what I am seeing with most folders, rather than product where I can edit and add images.

7 Jan 2013, 10:15 PM
#457
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

dmitrikoniahin:

Attachment 11733

The image represents what I am seeing with most folders, rather than product where I can edit and add images.IH4 is not fully/correctly installed (as the message implies). Suggest redoing the install..

8 Jan 2013, 4:59 PM
#458
axisparagliding avatar

axisparagliding

New Zenner

Join Date:
Jan 2013
Posts:
3
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

Hi. I've been looking into the far corners of the internet but I can't find any information on how I can arrange the the Medium size images to be where I want them on the product page or if it is even possible. Is there anyway to control their position? Apologies if this has been asked before.

8 Jan 2013, 5:58 PM
#459
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

AxisParagliding:

Hi. I've been looking into the far corners of the internet but I can't find any information on how I can arrange the the Medium size images to be where I want them on the product page or if it is even possible. Is there anyway to control their position? Apologies if this has been asked before.Not an IH4 support related question.. You should post a new thread to ask about how to arrange the product info page..

8 Jan 2013, 8:32 PM
#460
bobmeetin avatar

bobmeetin

New Zenner

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

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

IH4 is not fully/correctly installed (as the message implies). Suggest redoing the install..

Well, I went back to the package and recopied in the 2 install folders, but this time it worked. What I did wrong the first time around I do not know.

However, I am seeing a second problem, not sure whether it's related to IH, zencart core or the lightbox. I've added some images to products using both regular zencart image uploader and IH. If I go to a product page and click on either the product image or the thumb image under it, it opens a blank lightbox. No image displays, no prev-next, nothing.

What am I looking for?