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

Results 4,381 to 4,400 of 7,094
13 Oct 2009, 10:50 PM
#4381
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

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

Asdesign:

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/nightnet/domains/night-net.net/public_html/bmz_cache/8/8aee48075acf60a0b3a9e558c53287c1.image.115x89.jpg' for writing: No such file or directory in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 654

> 
> I can't understand this error. Why does it look for a file that doesn't exist? bmz_cache folder is empty.

It really does seem like a permissions problem. I can make similar error by making my bmz_cache unwritable.
13 Oct 2009, 11:50 PM
#4382
byrd813 avatar

byrd813

Zen Follower

Join Date:
Apr 2008
Posts:
104
Plugin Contributions:
0

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

Im going to provide a sample page of this. Here it is . Look at the additional image. Now its supposed to be large enough to where you can read the options, but when opened it shrinks. When I choose the image handler option to not resize the images, its does show as its orginal size when clicked, but it does not scroll down to view the other options, i just "cuts off" so to speak, Does anyone know how to fix this or what may help?

14 Oct 2009, 12:26 AM
#4383
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

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

I think even at full size, thats not a great way to display so many options. You have to select it from the picture and then type it in?

Take a look here:

http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=5694

and here:

http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=585

for some simple ideas how to display pics of many options. (hoover over the color samples)

Use Firebug to see simple CSS for nice effect.

14 Oct 2009, 1:47 AM
#4384
divavocals avatar

divavocals

Totally Zenned

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

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

Kiddo this is AWESOME looking!!! The second example where you hover over the images in the "People who purchased..." section, which add-on did you use to create that??

@byrd -- I agree with Kiddo, the single image for multiple choices is not the most ideal way to display the options for your customers..

kiddo:

I think even at full size, thats not a great way to display so many options. You have to select it from the picture and then type it in?

Take a look here:

http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=5694

and here:

http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=585

for some simple ideas how to display pics of many options. (hoover over the color samples)

Use Firebug to see simple CSS for nice effect.

14 Oct 2009, 2:53 AM
#4385
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

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

DivaVocals, that section was built with code from here:
http://www.ebrueggeman.com/skinnytip/index.php

Thanks for nice comment, I work hard there. But that should not be discussed in this topic. I'd be happy to show you under the hood in another thread.

14 Oct 2009, 3:07 AM
#4386
divavocals avatar

divavocals

Totally Zenned

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

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

Ooooo thanks.. I will start another thread to discuss the "under the hood" details later this week.. :smile:

kiddo:

DivaVocals, that section was built with code from here:
http://www.ebrueggeman.com/skinnytip/index.php

Thanks for nice comment, I work hard there. But that should not be discussed in this topic. I'd be happy to show you under the hood in another thread.

14 Oct 2009, 2:16 PM
#4387
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

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

kiddo:

can you verify that the directory:

/home/nightnet/domains/night-net.net/public_html/bmz_cache/8/

exists?

Nope, no files or folders under bmz_cache at all. I'm really starting to think this is a permission problem even tho I set the permissions with my ftp client which seem to apply the changes. Weird. I'm gonna talk to my server admin & see what else can be done.

14 Oct 2009, 4:23 PM
#4388
slomojojo avatar

slomojojo

Zen Follower

Join Date:
Feb 2009
Posts:
142
Plugin Contributions:
0

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

Asdesign:

Nope, no files or folders under bmz_cache at all. I'm really starting to think this is a permission problem even tho I set the permissions with my ftp client which seem to apply the changes. Weird. I'm gonna talk to my server admin & see what else can be done.
I've often had trouble successfully changing file permissions using my FTP client (filezilla). If your hosting account has cPanel, try changing the permissions again using the built-in "File Manager" just to be sure.

15 Oct 2009, 2:52 PM
#4389
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

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

Hi,

Is it possible to use the same image over different products without changing the file name? e.g I have a table linen in several sizes and use only one picture depicting the color choice.

I tried using the same picture but it keeps warning me to change the base name.

15 Oct 2009, 7:33 PM
#4390
ladybones avatar

ladybones

New Zenner

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

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

can anyone help me???? i've posted several times with no responses... i'm having problems with additional images not displaying. im using zen 1.3.8a with image handler and the additional images are showing in the admin, but not when i look at the products in the shop. i've tried reinstalling the additional_pages.php as someone suggested, didn't work. i cleared the cache, but that didnt work either.

here is a page that should have 2 images but shows only one:

bows
http://www.ladybonesonline.com/ladybonesonline/zen-cart/index.php?main_page=product_info&cPath=14&products_id=10&zenid=8caajho55njajb8e2elp47egq7

15 Oct 2009, 8:27 PM
#4391
kachinas avatar

kachinas

New Zenner

Join Date:
Jan 2009
Location:
Arizona
Posts:
24
Plugin Contributions:
0

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

I have three newer zen cart stores. All use 1.38a. Of the three, only one has IH installed, and this store is on a different server than the others.

One store, kachinaoutpost was designed and installed by a professional. The other two I did myself, however I already had the images up, so was afraid to install IH since the images were already uploaded.

When I went to advertise these in Adwords, I found that the pages loaded slowly, so I followed the directions of the Images Preparation and uploaded three sizes on the other two sites. Now all of those load fine. However, the kachinaoutpost site continues to load slowly. I thought the slow load may be because I uploaded the large size to IH, so I optimized all the images, but it still loads slow.

I'm trying to determine if the cause is the server this site is on, or the size of the large photos uploaded to IH, or what?

Since there has been no improvement on the kachinaoutpost site, I'm hoping someone can help to point me in the right direction.

  1. I've never cleared the image cache in IH. Is it true I have to remove IH from the database before I clear the image cache in admin?
  2. Could the filesize of the large image uploaded to IH be the cause of the slow download of the page?
  3. Is there a way to determine if the server is to blame?

In spite of the fact that IH prints out in red "Product is Disabled", the popup works in Google Chrome, Opera, Safari, and Foxfire, but, of course, not in IE8.

I realize I can't use both IH and Zen Cart images, but need to determine which would be best to speed file download for advertising.

Any help would sincerely be appreciated. The other two sites, if you need them are legendshavanese and kachinadirect

So much to learn; so little time!

Thanks bunches,
Sandy

15 Oct 2009, 10:39 PM
#4392
byrd813 avatar

byrd813

Zen Follower

Join Date:
Apr 2008
Posts:
104
Plugin Contributions:
0

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

Decostyle:

Hi,

Is it possible to use the same image over different products without changing the file name? e.g I have a table linen in several sizes and use only one picture depicting the color choice.

I tried using the same picture but it keeps warning me to change the base name.

I would also like to know the answer to this question, as well as the answer to my previous post posted about 3 times about a month a go :)

15 Oct 2009, 11:04 PM
#4393
divavocals avatar

divavocals

Totally Zenned

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

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

Decostyle:

Hi,

Is it possible to use the same image over different products without changing the file name? e.g I have a table linen in several sizes and use only one picture depicting the color choice.

I tried using the same picture but it keeps warning me to change the base name.Image Handler is giving you the error message because you are attempting to reload an image that Image Handler sees already exists in your image directory. (hence the warning to change the base file name)

To add a image file that you've used on another product on a different product, this would be done in product edit. You simply need to add the image you have used for one product to a different product. (using the function that allows you to add an image already stored on the server) Hope that makes sense.. If not, since this is not really an Image Handler question, rather it's more of a store functionality question.. If you need more clarification on this, I suggest reposting the question as a seperate topic.

15 Oct 2009, 11:07 PM
#4394
divavocals avatar

divavocals

Totally Zenned

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

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

byrd813:

I would also like to know the answer to this question, **as well as the answer to my previous post posted about 3 times about a month a go :)**You probably should post your question again.. while people are willing to search for answers here, other questions.. not so much..:smile:

16 Oct 2009, 8:47 PM
#4395
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

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

Asdesign:

Just installed this addon, did everything ok and I get these errors when I select a category with products:

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/nightnet/domains/night-net.net/public_html/bmz_cache/9/9ec5faebfac5e295ed62ec8dcc25cd2a.image.115x115.jpg' for writing: No such file or directory in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 654

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 128

Warning: strstr() [function.strstr]: Empty delimiter in /home/nightnet/domains/night-net.net/public_html/includes/classes/bmz_image_handler.class.php on line 130

> 
> Theres nothing in the BMZ cache folder but a ".keep" file.

Guys look, did everything suggested and all is installed perfectly with the correct permissions set correctly and everything.

Unfortunately I still get these errors. Could anyone think of anything else which might be the problem? :unsure:
16 Oct 2009, 9:35 PM
#4396
divavocals avatar

divavocals

Totally Zenned

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

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

Gonna be honest with you.. You may be at the point where you need to pay someone to take a peek under the hood to help straighten this out for you. Without seeing your code, or knowing many details about what other mods you installed or how they were installed, it is but a guess for many I suspect at this point to make any further suggestions.. There is no reason why under NORMAL circumstances that IH2 would not work as it should without any fuss, but clearly there is an issue with your install, and having all gone through the ususal suspects, I personally am stumped.. Given that no one else has chimed in on your specific issues, I am guessing that so are others.. I only have one more suggestion, but most people will ALWAYS say no to this the 1st time I suggest it..

The only other thing you can do if you have no interest in hiring some assistance in this matter is to peel this onion back layer by layer.. This means creating a parallel test site, and install each add-on one by one.. I know I know I know.. NO ONE ever wants to do this.. but it will probably take less time to do this than to spend anymore time trying to figure out why things don't work..

I would do this by creating a generic template (there are instructions in the Zen FAQs for this) so that template related issues can be ruled out off the bat. The purpose of this exercise is to get everything working from a functional persepective FIRST, and then apply the look and feel so the generic template helps facilitate that..

One by one install your mods. I suggest starting this exercise with re-installing the mod that is the source of the issue. Test every step of the way to see if you get the same error. Hopefully you get through all the mods, and restoring your template and everything works in harmony. > Asdesign:

Guys look, did everything suggested and all is installed perfectly with the correct permissions set correctly and everything.

Unfortunately I still get these errors. Could anyone think of anything else which might be the problem? :unsure:

16 Oct 2009, 9:57 PM
#4397
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

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

DivaVocals:

Gonna be honest with you.. You may be at the point where you need to pay someone to take a peek under the hood to help straighten this out for you. Without seeing your code, or knowing many details about what other mods you installed or how they were installed, it is but a guess for many I suspect at this point to make any further suggestions.. There is no reason why under NORMAL circumstances that IH2 would not work as it should without any fuss, but clearly there is an issue with your install, and having all gone through the ususal suspects, I personally am stumped.. Given that no one else has chimed in on your specific issues, I am guessing that so are others.. I only have one more suggestion, but most people will ALWAYS say no to this the 1st time I suggest it..

The only other thing you can do if you have no interest in hiring some assistance in this matter is to peel this onion back layer by layer.. This means creating a parallel test site, and install each add-on one by one.. I know I know I know.. NO ONE ever wants to do this.. but it will probably take less time to do this than to spend anymore time trying to figure out why things don't work..

I would do this by creating a generic template (there are instructions in the Zen FAQs for this) so that template related issues can be ruled out off the bat. The purpose of this exercise is to get everything working from a functional persepective FIRST, and then apply the look and feel so the generic template helps facilitate that..

One by one install your mods. I suggest starting this exercise with re-installing the mod that is the source of the issue. Test every step of the way to see if you get the same error. Hopefully you get through all the mods, and restoring your template and everything works in harmony.

Its a good idea. I don't think I've come to the point I'd need to pay somebody. :D I mean..I've been messing and learning zencart for quite some time now and I really feel like I know how the system works and everthing so, my guess is, something else other than IH2 is causing this problem, therefore I'll probably take your idea and do some tests. I do actually have another store on the server. :smartalec:

18 Oct 2009, 7:06 PM
#4398
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

ladybones:

can anyone help me???? i've posted several times with no responses... i'm having problems with additional images not displaying. im using zen 1.3.8a with image handler and the additional images are showing in the admin, but not when i look at the products in the shop. i've tried reinstalling the additional_pages.php as someone suggested, didn't work. i cleared the cache, but that didnt work either.

here is a page that should have 2 images but shows only one:

bows
http://www.ladybonesonline.com/ladybonesonline/zen-cart/index.php?main_page=product_info&cPath=14&products_id=10&zenid=8caajho55njajb8e2elp47egq7

Your other questions was in another (older) thread.

How are you unloading your additional images?
Are you following the correct naming scheme for additional images?

M

19 Oct 2009, 9:49 PM
#4399
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

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

An update! So I installed a brand new cart on my server along with some demo products. Then installed IH2 and guess what? SAME ERRORS. :( So...I tried installing IH on another cart on a DIFFERENT server and guess what? IT WORKED! :) So this is defaintley server problem related. I checked the PHP version on both servers and the server running with IH just fine actually has a slightly older version. I think something is preventing the script from working it may not be permissions related because I checked the permissions so many times and it seems good for sure. So, I don't know...any ideas?

19 Oct 2009, 9:53 PM
#4400
divavocals avatar

divavocals

Totally Zenned

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

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

It might help if you posted the versions of PHP that is running on the server where it did work and the PHP version for the server where it didn't..

Asdesign:

An update! So I installed a brand new cart on my server along with some demo products. Then installed IH2 and guess what? SAME ERRORS. :( So...I tried installing IH on another cart on a DIFFERENT server and guess what? IT WORKED! :) So this is defaintley server problem related. I checked the PHP version on both servers and the server running with IH just fine actually has a slightly older version. I think something is preventing the script from working it may not be permissions related because I checked the permissions so many times and it seems good for sure. So, I don't know...any ideas?