Forums / All Other Contributions/Addons / Image Handler 3 Support Thread (for ZC v1.3.9)

Image Handler 3 Support Thread (for ZC v1.3.9)

Views: 180,931

Results 141 to 160 of 1,099
4 Jun 2011, 3:32 PM
#141
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Image Handler 3 Support Thread (for ZC v1.3.9)

DKunev:

OK guys ... two questions from me...

One is why am i getting these debugs in my cache folder:

[04-юни-2011 17:23:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 1886 is not allowed to access /www/gadgetshop.bg/www/root/bmz_cache/8 owned by uid 501 in /www/gadgetshop.bg/www/root/includes/classes/bmz_image_handler.class.php on line 655
[04-юни-2011 17:23:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in /www/gadgetshop.bg/www/root/includes/classes/bmz_image_handler.class.php on line 655

The other is... After installing IH3 Additional images started displaying in a column instead of a row... How do I fix that?

Problem number 1 resolved!

The problem consist in the ID that "owns the rights" for the subfolders in bmz_cache which are created by zen_cart...

The solution is: Just copy all the contents of bmz_cache to your computer ... delete the files on the server and upload the downloaded ones again! After that set the permisions to all folders and subfolders to 777

And you should be ok!

One more issue still stays for me! HELP NEEDED

My additional images position and look got messed up after installing IH3 ... They were appearing in a row next to my Main image

And now they are In a column?!?!

Please help!:bigups:

4 Jun 2011, 10:04 PM
#142
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

From memory you were asking a while ago how to customise the appearance of the product info page? weren't you, Image handler does effect some of the files that make up that page so check that your changes haven't been overwritten and make sure you merge the files were necessary.

And always provide a link to your site, as we can only guess at the problem being able to see the actual page and underlying code makes problems easier to diagnose

edit--------------------------------------------------------------
what happens if you add

#productAdditionalImages {
clear: right;
margin-left: 310px;
}
to your style sheet

Webzings Design
Semi retired from Web Design

4 Jun 2011, 10:18 PM
#143
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

The code you gave me fixed it!!!

I had the "clear: right" part ... the margin thing made it happen!

I'm a total stranger to css ... i gues i have too do some reading...

Thanks a lot!!!!

4 Jun 2011, 10:22 PM
#144
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

While there's a helpful person in the thread...

Might I ask... why the hover function only doesen't wor for my category images?( the tumbnails of products when you've selected a category)

Link to my store gadgetshop(dot)bg

Cheers!

4 Jun 2011, 10:57 PM
#145
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

DKunev:

While there's a helpful person in the thread...

Might I ask... why the hover function only doesen't wor for my category images?( the tumbnails of products when you've selected a category)

Link to my store gadgetshop(dot)bg

Cheers!
Thats explained in the readme

For small image hover to work on the product listing pages:
bla bla bala
the following settings must match the Small Image Width and Small Image Height settings:
Subcategory Image Width
Subcategory Image Height
Image - Product Listing Width
Image - Product Listing Height
Image - Product New Listing Width
Image - Product New Listing Height
Image - New Products Width
Image - New Products Height
Image - Featured Products Width
Image - Featured Products Height
Image - Product All Listing Width
Image - Product All Listing Height

On this page the ones that the hover don't work on are set to 100 whilst the others Промоции на месец юни Specials? are set to 112 so change all the above sizes to 112

Webzings Design
Semi retired from Web Design

5 Jun 2011, 1:19 AM
#146
switchme avatar

switchme

New Zenner

Join Date:
Apr 2011
Posts:
4
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

HI, We have installed IH3 but our cart is sitting in a subfolder of the root.. There is a LIVE zen cart in the /root/ which will be replaced by the one in teh subfolder once it is ready..
The IH3 install is not working, it is picking up the folders in the ROOT instead of in the subfolder..
Is there anywhere I can configure the install to look in the subfolder for the images??

ANY suggestions are greatly appreciated!! :blink:

5 Jun 2011, 1:30 AM
#147
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

SwitchMe:

HI, We have installed IH3 but our cart is sitting in a subfolder of the root.. There is a LIVE zen cart in the /root/ which will be replaced by the one in teh subfolder once it is ready..
The IH3 install is not working, it is picking up the folders in the ROOT instead of in the subfolder..
Is there anywhere I can configure the install to look in the subfolder for the images??

ANY suggestions are greatly appreciated!! :blink:This tells me that the store in your subfolder is not configured correctly.. IH3 uses all the default image location settings in your store.. If your setup is picking up images from a different location then your subfolder store's configuration file is probably incorrect.. This is not at all an IH3 issue, but a Zen Cart setup issue..

BUT....

as you've not provided links to either of these stores, we can only GUESS at solutions.. (and since I'm not a fan of lobbing guesses at problems, without a link I can't offer any more suggestions unless I can SEE what you see)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

5 Jun 2011, 7:29 PM
#148
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

How can I make the popup window for the Enlarged picture to be one of the cool borderles one(i think is js) instead of a normal small browser window?

5 Jun 2011, 9:28 PM
#149
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Thats javascript you need to download

zen Lightbox as it is compatible with image handler

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=273

If you have issues with it (you shouldn't its fairly idiot proof)

You will need to visit there support thread here

http://www.zen-cart.com/forum/showthread.php?t=45314

Webzings Design
Semi retired from Web Design

6 Jun 2011, 3:12 PM
#150
beyre avatar

beyre

Zen Follower

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

This store started with IH2 and had a problem at that point.
It continued with IH3.

I have now 100% deleted and reinstalled IH3 for the 4th time. This is a super simple install. Every single file has been appropriately uploaded.

Still this problem continues.

If this store has the exact same install as the aaglockshop.com store (except now it has IH3 instead of IH2), what can be the problem?

What is blocking the functionality of the bmz_cache folder?

Now, since I uninstalled and reinstalled IH3 ... what happens to the images I've already uploaded, since they will not be listed in the bmz_cache folder?

Added: Going back into the bmz_cache folder, after visiting a few product pages, I am seeing sub-folders being created and files being created within. So, that is working. But still no pics on the site itself ????

Adding store link again for reference - to one of the sub-cats that has products:
http://174.121.38.162/~fordbare/index.php?main_page=index&cPath=1_15

DivaVocals:

Image Handler is not managing your images.. It's pretty clear based on the links you've provided that your images are not being served up from the bmz_cache folder.. This means that for whatever reason IH3's primary functionality is not working..
This points to an installation issue.. Can't say where since I cannot see your store files.. suggest comparing your store files to the IH3 fileset and see if these are discrepancies in the files..

6 Jun 2011, 3:47 PM
#151
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

beyre:

Now, since I uninstalled and reinstalled IH3 ... what happens to the images I've already uploaded, since they will not be listed in the bmz_cache folder?

This question suggests you have not read the READ_ME file in its entirety, because the READ_ME clearly states that the bmz_cache folder makes copies of your uploaded images - therefore original images are not affected when the bmz_cache folder is deleted.

Suggest you read the entire READ_ME file before you install again. Also, when you uninstall, don't forget that you have to run an uninstall sql file before reinstalling.

beyre:

What is blocking the functionality of the bmz_cache folder?

There's no way for us to answer this unless you clearly state everything you did during install. Saying that you followed all the steps doesn't help us, because most often when there are issues, people only think they've followed all the steps.

The problems you're having clearly point to an installation and/or configuration error.

  • Did you install all the files in install files and required core edits folder?
  • Did you complete the necessary file merges?
  • Did you set the bmz_cache folder permissions settings to match your ZC images folder permissions settings?
  • Did you configure IH3 correctly?
  • What are your configuration settings?
  • Did you read in the READ_ME what your server requirements must be to run this mod and then check that against your server configuration?
  • What other mods do you have installed that affect your product layout pages and/or images?
  • How are you clearing your bmz_cache folder between installs? Are you clearing/emptying the folder from the admin, or are you deleting it entirely from your server using an ftp program?
  • When you uninstall, are you first going in to the admin to turn IH3 off and then running the uninstall sql, and then finally deleting all the files from the server using an ftp program?
  • Are you replacing the core files with original ZC admin files after you uninstall and then testing your store to make sure everything works as it should before you reinstall?

This is the kind of information we need to be able to troubleshoot your issue.

It is very rare that IH3 (and IH2 for that matter) simply doesn't work right - when this happens, there is almost always something unique to a person's store that's causing an issue.

But most of the time, it's installation and/or configuration error on the user's part. This is most often due to the user not reading the entire READ_ME file prior to installation.

Suggest rolling back your store to the state it was in prior to any IH2 or IH3 install, then read the READ_ME in it's entirety, and then attempt to reinstall.

Good luck and happy zenning :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

6 Jun 2011, 4:26 PM
#152
beyre avatar

beyre

Zen Follower

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

  • Yes, I have read the Read Me file in its entirety - several times.
  • Yes, I have followed the instructions to the letter.
  • Yes, I had done a 100% complete uninstall - as if I had never installed the script to begin with.

Several times you have assumed I haven't read the read me file. Please understand this is not my first Zencart install, nor is it my first IH2/3 install. I've done this several times prior with never an issue.

I know I'm frustrated, and I'm here while you are there, so that it does make it a bit tough to offer support. But your post above was very condescending. It offered no help whatsoever other than to imply that I'm an idiot.

I'll just wait to figure this out another time. I'm too far behind schedule on this project because of this problem.

Sorry. :down:

6 Jun 2011, 4:38 PM
#153
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Actually her post does not at all assume you are ANYTHING..

ScriptJunkie has simply pointed out the most common things that are usually at the heart of most Image Handler install/configuration issues..

We can all clearly see that the images on your link are not being served up by IH3's bmz_cache folder and the most likely cause when this happens time and time again is usually an installation/configuration snafu. I understand your frustration, but honestly speaking ScriptJunkie's post is the best advice ANY of us hanging out here can offer you as we cannot SEE your store's backend to offer anything more concrete.

I will offer one more thing which again speaks to part of what ScriptJunkie has posted.

You stated:> If this store has the exact same install as the aaglockshop.com store (except now it has IH3 instead of IH2), what can be the problem?

What is blocking the functionality of the bmz_cache folder?Are they REALLY alike?? Same host?? Same EVERYTHING??

Not assuming anything.. I'm simply asking a question/attempting to provide more food for thought.. Something is blocking IH3's ability to serve up images from the cache folders, and I'm only attempting to offer some POSSIBLE reasons..

beyre:

  • Yes, I have read the Read Me file in its entirety - several times.
  • Yes, I have followed the instructions to the letter.
  • Yes, I had done a 100% complete uninstall - as if I had never installed the script to begin with.

Several times you have assumed I haven't read the read me file. Please understand this is not my first Zencart install, nor is it my first IH2/3 install. I've done this several times prior with never an issue.

I know I'm frustrated, and I'm here while you are there, so that it does make it a bit tough to offer support. But your post above was very condescending. It offered no help whatsoever other than to imply that I'm an idiot.

I'll just wait to figure this out another time. I'm too far behind schedule on this project because of this problem.

Sorry. :down:

**ETA: **Did notice that whatever you did got the main product images working (though still not serving them from the bmz_cache folder) For example this product now shows the main product image: http://174.121.38.162/~fordbare/index.php?main_page=product_info&cPath=1_18&products_id=149

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

6 Jun 2011, 8:21 PM
#154
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Check if you have different owner id's for the bmz_cache folders and the subfolders which are created form zencart!

If they are different folow this:

DKunev:

Problem number 1 resolved!

The problem consist in the ID that "owns the rights" for the subfolders in bmz_cache which are created by zen_cart...

The solution is: Just copy all the contents of bmz_cache to your computer ... delete the files on the server and upload the downloaded ones again! After that set the permisions to all folders and subfolders to 777

And you should be ok!

.....

6 Jun 2011, 8:29 PM
#155
dkunev avatar

dkunev

Zen Follower

Join Date:
May 2011
Posts:
117
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

One question from me about IH3 and Lightbox...

I see that Lightbox changes the file aditional_images.php in which IH3 also has code

When I install Lightbox what should i do with that file? Overwrite? Merge somehow?

Thanks!

6 Jun 2011, 9:35 PM
#156
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

The answer to your question is in the READ_ME file. Have a look at the tab "Misc" - specifically the first section that talks about using IH3 with Zen Lightbox.

DKunev:

One question from me about IH3 and Lightbox...

I see that Lightbox changes the file aditional_images.php in which IH3 also has code

When I install Lightbox what should i do with that file? Overwrite? Merge somehow?

Thanks!

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

6 Jun 2011, 9:53 PM
#157
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

beyre:

Several times you have assumed I haven't read the read me file.

Most people do not in fact read the READ_ME file, which is the cause of 99% of the questions asked on this support thread. When a question is asked that has an answer in the READ_ME file, (as was the case with you re: what happens to the images in the bmz_cache folder), then it is an accurate observation that the individual did not carefully and/or entirely read the READ_ME file.

beyre:

Please understand this is not my first Zencart install, nor is it my first IH2/3 install. I've done this several times prior with never an issue.

Thank you for pointing that out. There was no way for me to know this from your previous post. Please understand that good tech support must proceed from the point of view that the user knows nothing at all - otherwise the support can easily go above the user's skillset and knowledge base - leading to further frustration.

This is just the nature of tech support. It is not meant to be condescending or to imply that you or anyone else is an idiot. Proceeding from the POV that the user may be a newbie is meant to provide support to the broadest possible range of users because it allows you to disregard what you already know while providing assistance for what you may not know.

And don't forget, you could be a ZC expert, but you're not the only one reading this thread. Often, newbies who have problems get valuable information and support for similar problems posted by other people.

You were new once. Do you recall the frustration of discovering a post with the exact same issue you were experiencing, but had an answer you didn't understand because it was written above your knowledge base and skillset?

We try to avoid that here because it serves no one. I'm sorry you feel offended. Take a break, take a breath, step away, have some coffee, and come back at it with a fresh perspective.

Good luck and happy zenning :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

6 Jun 2011, 9:55 PM
#158
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

DKunev:

One question from me about IH3 and Lightbox...

I see that Lightbox changes the file aditional_images.php in which IH3 also has code

When I install Lightbox what should i do with that file? Overwrite? Merge somehow?

Thanks!
Yep its in the readme, just upload the lightbox version of aditional_images.php overtop of the Image handler version

Webzings Design
Semi retired from Web Design

6 Jun 2011, 10:08 PM
#159
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

beyre:

  • Yes, I have read the Read Me file in its entirety - several times.
  • Yes, I have followed the instructions to the letter.
  • Yes, I had done a 100% complete uninstall - as if I had never installed the script to begin with.

These are mainly Guesses based on things that may have worked for others in odd cases

  1. have you tried removing the .htaccess file from the bmz_cache folder? (it needs to be there, but sometimes removing it makes a difference), some people have removed theirs and copied across the one from images and it fixes the problem (again the files are identical, so it shouldn't make a difference, but for some people)
  2. What exactly are the permissions on the bmz_cache, yes i know you say they are set properly, from experience i can say that some servers need different settings, (don't ask me why i have never figured it out)
  3. can you clear the bmz_cache via the admin --> tools --> Image Handler. and if so is the actual bmz_cache empty when you check it?
  4. DKunev mentioned ownership, that could cause problems, although it shouldn't happen so you may want to check that out too

If there was a problem in IH2 then it will still happen in IH3 as what you are describing sounds like permissions, the only other thing that would cause issues like this from my experience is massive images causing the script to time out, but your images appear to be properly optimised,

Are the images in the bmz_cache valid as in proper images (not corrupt or anything)

Webzings Design
Semi retired from Web Design

8 Jun 2011, 12:03 AM
#160
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

I've installed this on another site and it worked great, but I just installed it again and the main image is not showing up on the product info page. It does show up fine everywhere else on the site, just not the product info pages. My tpl_product_info_display.php file is not customized at all, it's just the default version. Any ideas why the images are missing?

Thanks!

Danielle