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

Results 4,761 to 4,780 of 7,094
5 Mar 2010, 4:46 PM
#4761
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

Dude,

Read the post... I WAS the user asking for guidance on user/group ownership. I'll be the first to admit my server admin "grade" is under par, I just started managing my own server all of 2 weeks ago. You just gave incorrect advice, AFTER I had already discovered the problem on my own (read my post). That's just it though, I think you read the first 3 words of a post, then you jump on your pedestal and give irrelevant advice, or make some backhanded remark like a little child. Go back to bed kiddo, grumpy little boys need their naps.

5 Mar 2010, 5:40 PM
#4762
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

For the benefit of users of IH2, let me clarify this once and for all.
THERE IS NO NEED TO CHOWN TO INSTALL IH2.
It is ridiculous to suggest this solution since all the folders under www, htdocs or whatever the Apache configuration uses, belong to the user.
If they don't, there is a server misconfiguration.
User has admitted that he has no experience configuring Apache, so there is nothing more to discuss.
This has nothing to do with installing IH2, so don't follow misleading "advice".
If you ever see that folders that should belong to you, are owned by somebody else, even "apache", complaints should be directed to the webhost, although I strongly doubt that a professional webhost would ever make such a gross mistake.
Permissions for images folders and bmz_cache should match and be writable. This has been clarified in the readme, in breakmyzencart.com and thousands of times in this thread.
End of the show.

5 Mar 2010, 5:53 PM
#4763
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

omg man, you've gotta be the most dense individual on the planet. I didn't recommend ANYONE do this for a default install. It was simply what worked in my case. AND YES, the changing the ownership of the folders and files was required in this instance. This is because SOMEHOW (not blaming this module you moron), these bmz_cache folder and images folder were being owned by apache, in the apace group. As far as the host goes, it's media temple, one of the most reputable and well known hosts out there.

Lastly, the problem likely doesn't occur on "most" installations of this mod (or any other for that matter) because if you are using a shared server, the server username that is being used has likely been added to the "apache" group, which creates added vulnerability, as this gives another opportunity to obtain root access for anyone trying to do so.

Since you can't/don't seem to read/comprehend anything I've said, I'm done with this. I never bashed or even complained about IH2, I simply said how dissatisfied I was with the way you act on this thread, the inaccurate advice and the way you treat some users requesting assistance. The way you've reacted to my posts just serves to prove my point. Have a terrific Friday, and again, go take a nappy-poo.

5 Mar 2010, 8:24 PM
#4764
dayo avatar

dayo

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
1

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

litepockets:

Lastly, I have a feeling it has to do with permissions. I have noticed that files/directories that used to be fine at 755 (or even 644) are now fussy if they aren't 777, which I am not very comfortable with at all. I have moved to a ded. virtual server with mediatemple, and unfortunately don't have much experience with server admin. Old hosting was on a shared server that was managed for me :) So I'm not real sure what settings I have to change on server to allow the 755's and 644's to still have the proper behavior. So for now, I have changed the permissions on bmz_cache (and children), cache, and images folders all to 777.

Hi

Your old shared server was set up so that PHP runs under the web user name by either using Fastcgi or suPHP. This is a very secure setup and it prevents a compromised account on the server affecting other accounts.

Your new virtual server is set up with a default setup where PHP runs as the webserver user which would be something like "apache" "nobody" or "www-data" depending on the OS flavour.

Your choices are:

  1. Since you are on a virtual server, you don't have to worry about other accounts and can just chmod the files/folders that need write access to 666/777.

  2. Configure PHP to run Fastcgi or Mod_suPHP. You might need to hire a server admin to do this for you since you say you don't have much experience in with this. These do use a bit more resources but you will be more secure. If you use a control panel such as Plesk or Cpanel, you should be able to do this there. You can then set all files/folders to 644/755 (the config files will need to be 444 to avoid warnings about writable files). You will also need the chown all files/folders to your your ftp usename and group.

To be honest, Option 1 is probably good enough on a standalone server as anyone able to hack zencart on your domain for instance, would have the same level of access in both scenarios through PHP. 644 & 755 permissions would deter other scripting languages but most hackers do their damage in PHP and you could switch off perl and python on your domain in any case since you are most likely only running php there which would take care of those.

In summary, recursively chown everything to your user and leave them with the world readable permissions except if you are a bit paranoid in which case switch Fastcgi or suPHP on in your control panel.

5 Mar 2010, 8:44 PM
#4765
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

Dayo,

Wow. See, that's a great, polite, and informative answer. Thank you very much. I'm pretty sure I can handle all of the above myself, and I really appreciate you explaining the security level of all configurations you suggested.

6 Mar 2010, 1:10 AM
#4766
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

This is the IH2 support thread, please take your server configuration discussions elsewhere.
Thanks.

6 Mar 2010, 1:22 AM
#4767
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

As soon as you take your attitude elsewhere.
Posted via Mobile Device

6 Mar 2010, 5:54 AM
#4768
craig_robbo avatar

craig_robbo

Zen Follower

Join Date:
Oct 2008
Posts:
109
Plugin Contributions:
0

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

Hi

I've just installed Google Chrome and have noticed that it's not displaying my additional images.

I'm not sure if it's related to the problem i've been having here http://www.zen-cart.com/forum/showthread.php?p=837765

My site can be found at http://www.imagocollections.com.au

Any help much appreciated

Thanks

Craig

6 Mar 2010, 6:08 AM
#4769
dayo avatar

dayo

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
1

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

ckosloff:

This is the IH2 support thread, please take your server configuration discussions elsewhere.
Thanks.

The person had a problem and I posted some options for him to consider. He seemed to be fine after that and that was that.

Why do you have a problem with that?

There is no call for such rudeness. You should be ashamed of yourself particularly given your role elsewhere and you are doing that endeavour quite a bit of harm with your poor behaviour here.

6 Mar 2010, 12:04 PM
#4770
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

at first I thought maybe the main image was a .jpg with the additional ones either a .png or .gif ---I found that if you start with a gif the additional ones need to be a gif too.

but they seem to be .jpgs too which leads me to think maybe the size restrictions you added are possibly too large for the space you have.

play with the percentage and instead of 60% try 33% or something like that just to check out the theory

or remove your restrictions to see if it behaves properly and try to do the sdjustment in store admin/configuration/images for both the regular image sizes and the ih2 section.

Craig Robbo:

Hi

I've just installed Google Chrome and have noticed that it's not displaying my additional images.

I'm not sure if it's related to the problem i've been having here http://www.zen-cart.com/forum/showthread.php?p=837765

My site can be found at http://www.imagocollections.com.au

Any help much appreciated

Thanks

Craig

6 Mar 2010, 1:53 PM
#4771
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

Dayo:

There is no call for such rudeness.
Salam aleykum.
Where is the rudeness?
I gave the person a correct answer: there is no way a process can hijack the ownership once it is chowned (that was his original question), and told him that this is unrelated to IH2.
There is no problem with helping him with server configuration, this is just not the right place, if I were a moderator here I would have just moved the post to the right spot, leaving behind a shadow topic.
You have to understand that I am very well aware of roles, my role here is (or was) to help people with IH2, but not to the extent where their questions are unrelated or have already been answered.
My role elsewhere is clearly delineated in certain common sense rules that I just enforce, without letting any personal bias or animosity interfere.
I don't see how one can affect the other.

6 Mar 2010, 5:26 PM
#4772
kenny724 avatar

kenny724

Zen Follower

Join Date:
Feb 2010
Posts:
181
Plugin Contributions:
0

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

No one ever answered my question. :( I'll try again. If you go to https://www.midsouthcoin.com/midsouthcoin store and click on say small cents category on the left...then click of one of the items, and then click on the large image.....the background gets messed if if you scroll down. Can some look and give me advice on the...click on the large image and scroll up and down on the page with your mouse wheel? Thanks.

6 Mar 2010, 5:38 PM
#4773
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

kenny724
that is so wierd.. is that not an issue with lightbox tho?

6 Mar 2010, 5:42 PM
#4774
kenny724 avatar

kenny724

Zen Follower

Join Date:
Feb 2010
Posts:
181
Plugin Contributions:
0

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

Ugh....you are right. I'm sorry got the two mixed up. :(
I used image handler two along with fual lightbox.

6 Mar 2010, 5:44 PM
#4775
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

oh dont worry about it, we're all only human
hope you get it fixed! ( i dont use a lightbox of any kind so im unable to help, sorry)

6 Mar 2010, 8:15 PM
#4776
dayo avatar

dayo

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
1

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

ckosloff:

… if I were a moderator here …

Luckily for everyone, you are not one.

7 Mar 2010, 2:36 AM
#4777
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

kenny724:

No one ever answered my question. :( I'll try again. If you go to www.midsouthcoin.com/midsouthcoin store and click on say small cents category on the left...then click of one of the items, and then click on the large image.....the background gets messed if if you scroll down. Can some look and give me advice on the...click on the large image and scroll up and down on the page with your mouse wheel? Thanks.

did it behave immediately after you did IH2?

sorry with the drama going on I did not see your post...hope it will stop.

did you install slimbox first then IH2 or the other way around. Did they behave right when you installed them?

what theme are you using -- sometimes it may have to do with it. if slimbox overwrote one of the files.

I use lightbox not slimbox and so far mine is behaving with both ih2 and lightbox installed.

7 Mar 2010, 6:18 AM
#4778
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

Craig Robbo:

Hi

I've just installed Google Chrome and have noticed that it's not displaying my additional images.

I'm not sure if it's related to the problem i've been having here http://www.zen-cart.com/forum/showthread.php?p=837765

My site can be found at http://www.imagocollections.com.au

Any help much appreciated

Thanks

CraigIt is unlikely that this issue is related to IH2 in any way at all.. This sounds like a browser specific issue with Chrome.. What happens to additional images if you remove the stylesheet attributes??

DarkAngel:

at first I thought maybe the main image was a .jpg with the additional ones either a .png or .gif ---I found that if you start with a gif the additional ones need to be a gif too.Though this is covered in the readme, I want to make sure it's clear for others reading this thread.. It's not just GIFs.. You cannot have mixed file types at all for your product images.ALL of your product images must be the same file type.. If your main product image is a JPG then the additional images must be JPGs too.. If the main image is a PNG, then the additional images must be PNGs.. IH2 will not error out or stop you from uploading mixed file types. The additional images will simply just not display..

7 Mar 2010, 9:10 AM
#4779
craig_robbo avatar

craig_robbo

Zen Follower

Join Date:
Oct 2008
Posts:
109
Plugin Contributions:
0

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

Thanks for your help guys - the images are all definately jpegs

play with the percentage and instead of 60% try 33% or something like that just to check out the theory

or remove your restrictions to see if it behaves properly and try to do the sdjustment in store admin/configuration/images for both the regular image sizes and the ih2 section.

I tried playing with the percentages but the images are still short and fat in IE (except once I double click the images they return to normal proportions!?).

Once I removed the restrictions from the style sheet the images started to display in Google Chrome

This sounds like a browser specific issue with Chrome

Yep looks like it.

The only problem with removing the restrictions and altering the image sizes in admin is that it also makes the 'products also purchased sizes' the same size which is way too small - which is the reason I put the restrictions in the style sheet.

Any ideas on how I can get the additional images smaller without affecting the products also purchased size?

Many Thanks

Craig

7 Mar 2010, 9:45 AM
#4780
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

Craig Robbo:

Thanks for your help guys - the images are all definately jpegs

I tried playing with the percentages but the images are still short and fat in IE (except once I double click the images they return to normal proportions!?).

Once I removed the restrictions from the style sheet the images started to display in Google Chrome

Yep looks like it.

The only problem with removing the restrictions and altering the image sizes in admin is that it also makes the 'products also purchased sizes' the same size which is way too small - which is the reason I put the restrictions in the style sheet.

Any ideas on how I can get the additional images smaller without affecting the products also purchased size?

Many Thanks

CraigHonestly no:no:.. Plus, the answer to this question is off-topic for this particular support thread, as it is really not an IH2 issue..