-
Re: Image Handler 2 Support
Version: Ver 2.0 Rev 8bhttp://www.zen-cart.com/index.php?ma...roducts_id=117
Completely did not work:blink: with additional images for me
image-handler_2.0-zc13
http://breakmyzencart.com/image-handler
worked fine
Got problems with additional images size? try the 2.0-zc13
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
vandiermen
I must respectfully dispute this.. ANY VERSION downloaded from Tim's site is
- Outdated
- Not PHP 5.3 compatible
- Not compatible with the latest version of Zen Cart (Tims version is over 4 years old there have been MANY core Zen Cart changes since Tim's last release of IH2)
- Does not contain ANY of the recent fixes and changes in the current versions of IH2 available (including the security issues recently addressed in Rev8c)
It is NOT recommended or suggested that anyone use the version of IH2 downloaded from Tim's site unless you are running a REALLY old version of Zen Cart (in which case my strong suggestion is that you should upgrade..)
From Tim's site:
Quote:
Most up to date versions
Most up to date versions of image handler modified for current releases of zen-cart can be found in the
zen-cart.com download section. As I have no time to take care of this project, the zen-cart community has continued to support and keep image handler up to date. This page will still continue to exist though.
Want to fix the additional images?? PM me for the latest and greatest version if IH2 (Rec8c). Hopefully we will be able to submit it to the downloads section this weekend. In the meantime PM me for the Rev8c version.
Wanna fix Rev8b?? The issue with additional images seems to only affect certain server configurations. This issue does not affect everyone.. It apparently depends on how your host has implemented PHP. I've posted this information before, but I'll re-post..
IF you are having issues with additional images AND you are running Rev8b (this is FIXED if you are running Rev8c) make the following MINOR change:
Find this around line 47
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == 1) {
Change to this:
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
That said Rev8b does not address the permissions issues. THIS issue and few minor others are addressed in Rev8c. I highly suggest PMing me to get that version of IH2 until it is available in the downloads section..
-
Re: Image Handler 2 Support
Demo of IH2 Rev8c running with the latest version of Zen Cart (1.3.9f) can be found here:
http: // zentestcart . overthehillweb . com
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
I must respectfully dispute this.. ANY VERSION downloaded from Tim's site is
- Outdated
- Not PHP 5.3 compatible
- Not compatible with the latest version of Zen Cart (Tims version is over 4 years old there have been MANY core Zen Cart changes since Tim's last release of IH2)
- Does not contain ANY of the recent fixes and changes in the current versions of IH2 available (including the security issues recently addressed in Rev8c)
.....
Ver 2.0 Rev 8b, did not re-size additional images, so I accidently downloaded Image Handler 2 for v1.2.7 thinking I was getting an update, and that did not work so I downloaded tim's and that seemed to fix it. maybe I forgot to rename a folder for Ver 2.0 Rev 8b.. anyway....
thanks for your comments
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
peanut77
Hello
Got a really weird thing happening - using zencart 1.39e (upigraded from 1.39d), with the latest image handler - everything works, displays perefectly image wise (as it always does) but I just don't have a Image icon or link from the catalog>categories/products page - the big Pink Icon normally sits to the far right of the product name - but for some reason I am missing this.
Totally banging my head against a brick wall - I have checked that the icon is in the right place, I have reftp'd all the image handler files 1 at a time, I have installed and reinstalled, cleared the cache etc.
Stuck any help much appreciated any solutions and I'll buy you a beer or 2 (or a coffee)
I am using the latest version of zencart, (upgraded to 1.39f) and I'm having the same issue. The pink icons are missing. They were there before the upgrade. Any suggestions?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
vandiermen
Ver 2.0 Rev 8b, did not re-size additional images, so I accidently downloaded Image Handler 2 for v1.2.7 thinking I was getting an update, and that did not work so I downloaded tim's and that seemed to fix it. maybe I forgot to rename a folder for Ver 2.0 Rev 8b.. anyway....
thanks for your comments
Just so you know there have been a TON of changes and updates to IH2's and Zen Cart's core since Tim's last IH2 release.. I strongly suggest you double check all your IH2 files. Almost every file in the IH2 fileset has changed since Tim's last release. (especially changes that affect Zen Cart and PHP 5.3 compatibility)
The changes since Tim's last release also address a number of bugs in that very same fileset you are using.. Not to mention the improvements to the IH2 javascript are not in the fileset available on Tim's site..
Just something for you to consider..
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
lilrowo
I am using the latest version of zencart, (upgraded to 1.39f) and I'm having the same issue. The pink icons are missing. They were there before the upgrade. Any suggestions?
Suggest double checking that all the IH2 files are there.. Also did you re-name your admin folder?? If so you need to make sure you rename the admin folders in the Zen Cart and IH2 filesets to match your custom admin folder name..
-
Re: Image Handler 2 Rev8b & 1.3.9f
Tested and aside from the additional images issue that seems to affect certain host configurations (fix for this was posted a few posts back), Rev8b does indeed work with the latest version of Zen Cart.. Your mileage may vary.. Working on getting the Rev8c fileset submitted this weekend.. :smile:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Suggest double checking that all the IH2 files are there.. Also did you re-name your admin folder?? If so you need to make sure you rename the admin folders in the Zen Cart and IH2 filesets to match your custom admin folder name..
Thanks! Reinstalled Image Handler and now the icons are there. Must have missed a file somewhere...
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nigelt74
How are you uploading the image, and where are you uploading it to?
do you have a link to the product page this is happening on?
If you add the image via admin do you see the image in admin, on the preview screen?
normal upload as the client has done many times before. Image is viewable in product preview. Shows in image handler.
http://regimental-books.com.au/shop/...ttalion-p-1981
-
Re: Image Handler 2 Support
Once this is installed, can we safely delete the images in the regular /images/ directory? In other words, as long as we have the bmz_cache images in there, is there any need for the original /images/ folder?
Or are the original files still needed in the /images/ folder because the bmz_cache folder is constantly being rebuilt based on these source images?
Let me know. I've been using Image Handler 2 for a long time now, but I'm trying to clean up disk space, and didn't know if the original /images/ folder is still needed or if it could be purged nightly after the images are cached in the bmz_cache folder.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Jeff_Mash
Once this is installed, can we safely delete the images in the regular /images/ directory? In other words, as long as we have the bmz_cache images in there, is there any need for the original /images/ folder?
Or are the original files still needed in the /images/ folder because the bmz_cache folder is constantly being rebuilt based on these source images?
Let me know. I've been using Image Handler 2 for a long time now, but I'm trying to clean up disk space, and didn't know if the original /images/ folder is still needed or if it could be purged nightly after the images are cached in the bmz_cache folder.
The bmz_cache folder only references your image(s), you still need to maintain your images in the images/ directory.
-
Re: Image Handler 2 Support
I am running 1.38a and installed the lastest and then removed it and installed the rev 7 (both seems to work) well kind of.
a little back ground first.
my old host over a year ago was so slow that i manually created images for the small, med and large files and placed them in the folders to get the site faster. sizes are 100, 200 and 400
i have over 10000 items so you see that this equals to over 30000 image files - this is what i would like to trim down.
Question-
Does IH2 recreate the images and i am in the same boat or does it just cache the med and large file image and then delete these at some point?
Now to some issues.
now when i have ih2 up and it show the three images for a item at the bottom. it shows the default (small) and the med and large and has the option to delete the med and large (now when i try to delete it says it is unable to locate image).
other error
uploading a image
when i find a image on my local drive and click save to have it upload (it states at the top of the screen image was successfully saved) but at the bottom it show this error. but the image is not really saved or uploaded.
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
d1rage5
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
Mostly likely cause of this error is the use of special characters in your image filenames.
-
Re: Image Handler 2 Support
no special characters in image name or product names.
Images are all 5 to 7 numbers.jpg
-
Re: Image Handler 2 Support
Hi, what's happening with IH2 rev c?
Just wondered if it was going to be available in the downloads section? I did have your invite to have a copy via your website but i wanted to wait until it had been approved by the zen cart team.
Thanks
Michael
-
Re: Image Handler 2 Support
I would really appreciate RevC, really need resized images for the large version.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
p1lot
I would really appreciate RevC, really need resized images for the large version.
Working on updating the readme file so I can submit it.. I'm afraid I've been swamped with work and projects so I'm a bit behind getting this finished.. PM me if you'd like instructions on how to get the latest version with all the corrections in the meantime..
-
Re: Image Handler 2 Support
i have now upgraded to the newest version of zencart and would like the link to the newest version of IH2.
I would send another PM to someone that i wont say why (But there id starts with a D) there box is FULL. Its nothing but LOVE man....
So if someone else got a link to the newest version they can send me. i would be thankful. you can PM me.
Thanks
-
Re: Image Handler 2 Support
Just wanna make sure it's clear to anyone running the Rev8c version of IH2.. If you downloaded it from my website you have THE version that will be submitted to the downloads.. So when it's available you WILL NOT HAVE TO UPGRADE.. The only people who should upgrade are those running any version of IH2 prior to the Rev 8c release.
As soon as I can I will finish up the readme and get it submitted. In the meantime anyone who wants Rev 8c can PM and I will send you the information you need to get it..
Quote:
Originally Posted by
DivaVocals
Working on updating the readme file so I can submit it.. I'm afraid I've been swamped with work and projects so I'm a bit behind getting this finished.. PM me if you'd like instructions on how to get the latest version with all the corrections in the meantime..
Quote:
Originally Posted by
d1rage5
i have now upgraded to the newest version of zencart and would like the link to the newest version of IH2.
I would send another PM to someone that i wont say why (But there id starts with a D) there box is FULL. Its nothing but LOVE man....
So if someone else got a link to the newest version they can send me. i would be thankful. you can PM me.
Thanks
-
Re: Image Handler 2 Support
Continuing with my problem of certain images not showing up, one thing that is different with this installation is that ultimate seo urls are installed and the images in the bmz_cache are named appropriately for Ultimate SEO - not as the string of letters etc normally seen by zen cart and image handler. Can this be creating problems?
No matter what we've done with the product in recreating the image, renaming etc, has made any difference in whether the image shows or not. If you access the images directly in the cache - such as http://regimental-books.com.au/shop/...ic-125x175.jpg (dang long image name) - can this be the problem?
It doesn't' show. If you download the image out of the cache it appears perfectly normal.
I have uninstalled image handler, cleared the cache, etc, etc. Anybody come up with any new ideas?
-
Re: Image Handler 2 Support
Just discovered that if I change the title of the product from Platoon Commander's Notebook - 9 Platoon, C Coy, 3rd Battalion to Platoon Commander's Notebook - 9 Platoon, (with comma) it works. Anything past that it doesn't work.
-
Re: Image Handler 2 Support
And solved!
It's the C! Ultimate SEO urls uses the c for category in the htaccess rewrites!
So when using ultimate seo urls and image handler together, avoid using a C, P, M, PI, PR, PRI, EZP in the product title. Each of those are used in the url rewrite for creating specific urls for zen cart pages.
-
Re: Image Handler 2 Support
Never occurred to me that the SEO module might be the issue, but I did suspect that the Product title MIGHT be the source of the issue. Though you did not have the exact same issue my client did, I do know that the product title will sometime affect how images are displayed... No matter... Glad you got it all worked out now..:clap:
Quote:
Originally Posted by
delia
And solved!
It's the C! Ultimate SEO urls uses the c for category in the htaccess rewrites!
So when using ultimate seo urls and image handler together, avoid using a C, P, M, PI, PR, PRI, EZP in the product title. Each of those are used in the url rewrite for creating specific urls for zen cart pages.
-
Re: Image Handler 2 Support
Is there a way to move the watermark to the right bottom corner of the pic?
-
Re: Image Handler 2 Support
Hi all! I am hoping to get some help here. Here's what I've done so far. I've unzipped the files to my hard drive. I then renamed the template folder to my templates name. Next, I tried to upload all of the contents to my store root folder. Everything worked but admin. It asks if you want to overwrite the files since their are already folders such as "includes" "admin" in the store root folder. I select yes. Everything overwrites, admin fails.
I would love any advice as to what I'm doing wrong. Thanks!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
clydejones
If you are using ZC 1.3.9+
did you also change the name of the admin folder in the IH2 download to match the name of your ZC admin folder?
I am having a similar problem. I never did change my ZC admin name so I left the IH admin names as "admin" and it wont let me overwrite the original admin folder.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
SimpleeStated
I am having a similar problem. I never did change my ZC admin name so I left the IH admin names as "admin" and it wont let me overwrite the original admin folder.
That's not an issue with IH2.. Sounds like a permissions issue with the admin folder.. If you haven't changed the folder permissions yourself, you'll need to speak to your webhost about why you do not have access to overwrite your admin folder..
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
That's not an issue with IH2.. Sounds like a permissions issue with the admin folder.. If you haven't changed the folder permissions yourself, you'll need to speak to your webhost about why you do not have access to overwrite your admin folder..
Hi. Yes. It was a permissions problem. I have solved it now and installed IH into my admin but now when I go to add extra images, they are not showing up in my store at all. The hover feature is activated but none of the extra images show. Do you have any idea what I could have done wrong?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
SimpleeStated
Hi. Yes. It was a permissions problem. I have solved it now and installed IH into my admin but now when I go to add extra images, they are not showing up in my store at all. The hover feature is activated but none of the extra images show. Do you have any idea what I could have done wrong?
Not without any additional information (link to your site helps).. You might try looking at the following. Much of this is covered in the readme troubleshooting section:
- Main product image and the additional images are not the same file format
- Main product image naming format
- You are using Rev 8b of IH2 there is a KNOWN issue with the additional images (the problem and the fix has been posted in this support thread -- this is resolved in Rev 8c)
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Not without any additional information (link to your site helps).. You might try looking at the following. Much of this is covered in the readme troubleshooting section:
- Main product image and the additional images are not the same file format
- Main product image naming format
- You are using Rev 8b of IH2 there is a KNOWN issue with the additional images (the problem and the fix has been posted in this support thread -- this is resolved in Rev 8c)
You have been so helpful! I am using version Rev 8b. I will try to look through the pages to find the fix in this thread. Also, my site is http://martingordonusa.com
Thanks for everything!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
I must respectfully dispute this.. ANY VERSION downloaded from Tim's site is
- Outdated
- Not PHP 5.3 compatible
- Not compatible with the latest version of Zen Cart (Tims version is over 4 years old there have been MANY core Zen Cart changes since Tim's last release of IH2)
- Does not contain ANY of the recent fixes and changes in the current versions of IH2 available (including the security issues recently addressed in Rev8c)
It is NOT recommended or suggested that anyone use the version of IH2 downloaded from Tim's site unless you are running a REALLY old version of Zen Cart (in which case my strong suggestion is that you should upgrade..)
From Tim's site:Want to fix the additional images?? PM me for the latest and greatest version if IH2 (Rec8c). Hopefully we will be able to submit it to the downloads section this weekend. In the meantime PM me for the Rev8c version.
Wanna fix Rev8b?? The issue with additional images seems to only affect certain server configurations. This issue does not affect everyone.. It apparently depends on how your host has implemented PHP. I've posted this information before, but I'll re-post..
IF you are having issues with additional images
AND you are running Rev8b (this is FIXED if you are running Rev8c) make the following MINOR change:
Find this around line 47
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == 1) {
Change to this:
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
That said Rev8b does not address the permissions issues. THIS issue and few minor others are addressed in Rev8c. I highly suggest PMing me to get that version of IH2 until it is available in the downloads section..
Just found this post for the fix. Sorry if this is completely dumb of me to ask, but which file are we going into to look for this code to change?
-
Re: Image Handler 2 Support
I found a 'bug', but I'm not sure if it's with ZC or IH. If you have an apostrophe in the Product Title like "Dad's", IH will not display the hover feature. If you escape the apostrophe with a backslash like you would in PHP code, it works just fine, but shows the backslash in the Product's Title, as well. Anybody else have this problem or know of a fix for it?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Get Em Fast
I found a 'bug', but I'm not sure if it's with ZC or IH. If you have an apostrophe in the Product Title like "Dad's", IH will not display the hover feature. If you escape the apostrophe with a backslash like you would in PHP code, it works just fine, but shows the backslash in the Product's Title, as well. Anybody else have this problem or know of a fix for it?
can you give specifics
1) an example page
2) version of Image handler
3) version of zencart
If you look here it works, unless i am misunderstanding what you mean
-
Image Handler 2 bmz-cache security error or not?
Hello, out of curiosity I Googled bmz_cache. The results returned were 100's of links to the bmz_cache folder for websites that have zen cart and IH2 installed. I do not know if this is a security risk or not? I thought it best to post and inform the powers that be about this in case they did not know.
Now, I have tried this on zen cart sites listed in this forum. While this does not work on all the sites I have tried here, I have found that about 70% of sites allow access to the /bmz_cache folder directly. Of those, about 10% allow access to the web space directory tree by using the 'parent directory' link.
Please advice.
Michael
-
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
dutchy
Hello, out of curiosity I Googled ‘bmz_cache‘. The results returned were 100's of links to the bmz_cache folder for websites that have zen cart and IH2 installed. I do not know if this is a security risk or not? I thought it best to post and inform the powers that be about this in case they did not know.
The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google
Quote:
Originally Posted by
dutchy
Now, I have tried this on zen cart sites listed in this forum. While this does not work on all the sites I have tried here, I have found that about 70% of sites allow access to the /bmz_cache folder directly. Of those, about 10% allow access to the web space directory tree by using the 'parent directory' link.
Please advice.
Michael
Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.
Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder
-
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
nigelt74
The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google
Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.
Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder
On my server I CAN visit mysite.com/bmz_cache url - can you let me know how I can stop this?
Thanks.
-
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
nigelt74
The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google
Nods in agreement..:yes:
Quote:
Originally Posted by
nigelt74
Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.
Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder
Not all servers.. Bluehost for example does not.. But a directive in your root level .htaccess will do the trick nicely..
For those concerned about this, we've covered this in the Rev8c release through an optional directive in the.htaccess file that is in the bmz_cache folder.
In addition to disallowing the upload of potentially destructive files, the .htaccess includes an optional directive that prevents the viewing of the bmz_cache directory listings without interfering with the images being viewed. (so they will still be indexed by Google unless you include the appropriate directives in your robots.txt file.
Code:
IndexIgnore */*
## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
#OPTIONS -Indexes -ExecCGI
Uncommenting this optional line will prevent anyone from viewing the image directory listings without blocking image from being seen.
See this in action on my test site.. http://zentestcart.overthehillweb.co...&products_id=1
FYI, though this seems like an issue it is NOT a TRUE security issue at all.. What IS (and has been corrected in Rev 8c) a real concern with regards to IH2 is that the bmz-Cache folders in older version are not fully protected from the upload of potentially malicious scripts.. The Rev 8c .htaccess file addresses this concern. (We are using the same .htaccess that has been added to many folders in the 1.3.9 Zen Cart releases)
-
Re: Image Handler 2 Support
Hey All,
I have IH2 rev 8 installed running along Jquery Lightbox.
Recently I have been noticing that the first image shows twice when I open it in lightbox. For example, if I have 4 images it will open as:
Image 1-5 with #1 and #2 being the same image. I had IH2 rev 7 and upgraded to rev 8 thinking it might solve my problem since I am running 1.3.9D but the problem persist.
Please point me in the right direction, I am not sure what the problem is.
thanks again,
belaze
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nigelt74
nigelt.....thanks for the response, but........Yep, you MAY have misunderstood, as it doesn't have any problem hovering the Main Image on the Product Listing Page.......it's the Additional Images on the Product Info page that it won't hover if there's an apostrophe in the Title.
Example of one doing this with the word Dad's in the title:
http://69.89.31.60/~lasercra/index.p...roducts_id=960
Now, here's an example of one that WAS doing the exact same thing, but works just fine now that the apostrophe in the word Mom's was removed:
http://69.89.31.60/~lasercra/index.p...roducts_id=238
Any ideas?
-
Re: Image Handler 2 Support
Oh, yea......I forgot to give ZC & IH versions on this little 'bug'.
Zen-Cart version: 1.3.9d
Image Handler version: 2.0 Rev 8b
-
Re: Image Handler 2 Support
1.38a with Zen lightbox too.
Finally got around to installing this and wish I had sooner.
Working just great but in Admin I don't see all the options. In particular the image hotzone & hotzone gravity controls but also the image filetypes.
Here's what I see with 2.0 Rev 8b :
IH resize images
IH small image filetype
IH small image background
IH watermark small images
IH zoom small images
IH small image compression quality
IH medium image filetype
IH medium image background
IH watermark medium images
IH medium image compression quality
IH large image filetype
IH large image background
IH watermark large images
IH large image compression quality
IH large image maximum width
IH large image maximum height
IH watermark gravity
I've checked the files again and everything seems to uploaded. Have it on two sites with same Admin issue.
Not a super big deal as things are working including the default zoom on small images but I would like to have the controls and maybe tweak them. I don't see the mentioned overlay which is good but thought I should mention that too.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Jeffey
1.38a with Zen lightbox too.
Finally got around to installing this and wish I had sooner.
Working just great but in Admin I don't see all the options. In particular the image hotzone & hotzone gravity controls but also the image filetypes.
Here's what I see with 2.0 Rev 8b :
IH resize images
IH small image filetype
IH small image background
IH watermark small images
IH zoom small images
IH small image compression quality
IH medium image filetype
IH medium image background
IH watermark medium images
IH medium image compression quality
IH large image filetype
IH large image background
IH watermark large images
IH large image compression quality
IH large image maximum width
IH large image maximum height
IH watermark gravity
I've checked the files again and everything seems to uploaded. Have it on two sites with same Admin issue.
Not a super big deal as things are working including the default zoom on small images but I would like to have the controls and maybe tweak them. I don't see the mentioned overlay which is good but thought I should mention that too.
Hotzone was removed, it should be in your readme, not sure what you mean by "overlay" do you mean the watermarking?
-
Re: Image Handler 2 Support
Duh! Sorry, though I read it and lots of stuff here I must have missed the change section and made assumptions based on other postings.
I thought you could modify/switch the hoover which started the whole question. It's fine as is.
Teaches me for adding on a whim at 5am! :shocking:
Thanks for the quick response, sounds like all is well with my setup.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Get Em Fast
Oh, yea......I forgot to give ZC & IH versions on this little 'bug'.
Zen-Cart version: 1.3.9d
Image Handler version: 2.0 Rev 8b
Are you sure you are using IH r8b, as just from checking you have the javascript from version IH 7, not that that should make a difference to your problem, have you tested just the base install of image handler without lightbox added, as the code seems to be a shade odd
-
Re: Image Handler 2 Support
Nope it seems to be happening to me to
http://nigel.geek.nz/sbo_shop/index....oducts_id=4285
There is a known bug with additional images, although as i don't use extra images i haven't paid much attention to it
was mentioned around 40 - 50 posts back
http://www.zen-cart.com/forum/showpo...postcount=5705
-
Re: Image Handler 2 Support
nigelt, Oops........you were right about one thing......the IH version. I installed this a couple of months ago on this site, and didn't realize it was updated since then.......my bad! I've been soooo busy lately...........I have since updated IH on this site, but yea......it's still doing the same thing.
It's not really a 'biggie' with this particular client, as he says. But, I still think it's a bug that needs 'squashed' because one of these days a client's going to say...."you say you guarantee 100% satisfaction, yet I can't even put an apostrophe in my product names and have them hover!?".....you know what I mean?
Thanks for the responses, though, and I'll keep trying to help find it, too.......it's probably one of those little things like a double quote where it should be single, or a bracket where it should be a parentheses or some little thing like that, that's going to take forever to track down.....you know how that goes, too?
Thanks,
Robert
-
Re: Image Handler 2 Support
There is a hack you can use, for some bizarre reason its the only thing i can get to work
this is a hack, there is probably a better way to do this, BUT
in this file
includes/classes/bmz_image_handler.class.php
around line 690
Quote:
//escape possible quotes if they're not already escapped
$alt = preg_replace("/([^\\\\])'/", '$1\\\'', $alt);
$alt = str_replace('"', '"', $alt);
add the following directly underneath (cut and paste it), basically it replaces any single quote apostrophe with a single fancy quote
Quote:
//replace apostrophe with fancy quote
$alt = str_replace("'", "‘", $alt);
as always use at your own risk, i have tested it on my site and it seems to work fine
It isn't the most elegant, however this is a weird bug, all the apostrophes in the javascript code are being escaped, but only on the additional images bit, and i can't find the cause
and before you say it, i did try changing ' to ' but it didn't work
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
IF you are having issues with additional images
AND you are running Rev8b (this is FIXED if you are running Rev8c) make the following MINOR change:
Find this around line 47
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == 1) {
Change to this:
Code:
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
Still using IH2 Ver2-0rev7 on ZC 1.3.8a and have been bugged by this for some time.
Looking at my additional_images.php file, it shows that I have the suggested fix, but I'm still having the additional image issue.
What is the function difference between the line that's commented out and the line that's being used?
PHP Code:
// if(preg_match("/" . $products_image_match . "/i", $file) == '1') {
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
Thanks,
Stephen
-
Re: Image Handler 2 Support
nigelt..........Thanks for the 'quick-fix hack'. It seems to be working perfectly!
There may be a better way, but if it works.........................
-
Re: Image Handler 2 Support
Just wanted to check something..
I have just installed the latest version of IH2 (Ver2 Rev8c). I also had previously installed Fual Slimbox. I have added/deleted the relevant new IH2 files and then I added the following code to roughly line #99 of the includes/modules/your_template/additional_images.php file which is included in the latest IH2 files:
Code:
// bof Zen Lightbox v1.4 aclarke 2007-09-22
if (ZEN_LIGHTBOX_STATUS == 'true' || FUAL_SLIMBOX == 'true') {
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
} else {
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
}
// eof Zen Lightbox v1.4 aclarke 2007-09-22
So now my WHOLE includes/modules/your_template/additional_images.php file looks like this:
Code:
<?php
/**
* additional_images module
*
* Prepares list of additional product images to be displayed in template
*
* @package templateSystem
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: additional_images.php 16913 2010-07-16 03:38:06Z ajeh $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (!defined('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE')) define('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE','Yes');
$images_array = array();
// do not check for additional images when turned off
if ($products_image != '' && $flag_show_product_info_additional_images != 0) {
// prepare image name
$products_image_extension = substr($products_image, strrpos($products_image, '.'));
$products_image_base = str_replace($products_image_extension, '', $products_image);
// if in a subdirectory
if (strrpos($products_image, '/')) {
$products_image_match = substr($products_image, strrpos($products_image, '/')+1);
//echo 'TEST 1: I match ' . $products_image_match . ' - ' . $file . ' - base ' . $products_image_base . '<br>';
$products_image_match = str_replace($products_image_extension, '', $products_image_match) . '_';
$products_image_base = $products_image_match;
}
$products_image_directory = str_replace($products_image, '', substr($products_image, strrpos($products_image, '/')));
if ($products_image_directory != '') {
$products_image_directory = DIR_WS_IMAGES . str_replace($products_image_directory, '', $products_image) . "/";
} else {
$products_image_directory = DIR_WS_IMAGES;
}
// Check for additional matching images
$file_extension = $products_image_extension;
$products_image_match_array = array();
if ($dir = @dir($products_image_directory)) {
while ($file = $dir->read()) {
if (!is_dir($products_image_directory . $file)) {
if (substr($file, strrpos($file, '.')) == $file_extension) {
if(preg_match("/" . $products_image_base . "/i", $file) == 1) {
if ($file != $products_image) {
if ($products_image_base . str_replace($products_image_base, '', $file) == $file) {
//echo 'I AM A MATCH ' . $file . '<br />';
$images_array[] = $file;
} else {
// echo 'I AM NOT A MATCH ' . $file . '<br />';
}
}
}
}
}
}
if (sizeof($images_array)) {
sort($images_array);
}
$dir->close();
}
}
// Build output based on images found
$num_images = sizeof($images_array);
$list_box_contents = '';
$title = '';
if ($num_images) {
$row = 0;
$col = 0;
if ($num_images < IMAGES_AUTO_ADDED || IMAGES_AUTO_ADDED == 0 ) {
$col_width = floor(100/$num_images);
} else {
$col_width = floor(100/IMAGES_AUTO_ADDED);
}
for ($i=0, $n=$num_images; $i<$n; $i++) {
$file = $images_array[$i];
$products_image_large = str_replace(DIR_WS_IMAGES, DIR_WS_IMAGES . 'large/', $products_image_directory) . str_replace($products_image_extension, '', $file) . IMAGE_SUFFIX_LARGE . $products_image_extension;
// Begin Image Handler changes 1 of 2
// $flag_has_large = file_exists($products_image_large);
$flag_has_large = true;//file_exists($products_image_large);
// End Image Handler changes 1 of 2
$products_image_large = ($flag_has_large ? $products_image_large : $products_image_directory . $file);
$flag_display_large = (IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE == 'Yes' || $flag_has_large);
$base_image = $products_image_directory . $file;
$thumb_slashes = zen_image($base_image, addslashes($products_name), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
// Begin Image Handler changes 2 of 2 remove additional single quotes from image attributes (important!)
$thumb_slashes = preg_replace("/([^\\\\])'/", '$1\\\'', $thumb_slashes);
// End Image Handler changes 2 of 2
$thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);
// Link Preparation:
// bof Zen Lightbox v1.4 aclarke 2007-09-22
if (ZEN_LIGHTBOX_STATUS == 'true' || FUAL_SLIMBOX == 'true') {
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
} else {
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
}
// eof Zen Lightbox v1.4 aclarke 2007-09-22
$noscript_link = '<noscript>' . ($flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br /><span class="imgLinkAdditional">' . TEXT_CLICK_TO_ENLARGE . '</span></a>' : $thumb_regular ) . '</noscript>';
// $alternate_link = '<a href="' . $products_image_large . '" onclick="javascript:popupWindow(\''. $large_link . '\') return false;" title="' . $products_name . '" target="_blank">' . $thumb_regular . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>';
$link = $script_link . "\n " . $noscript_link;
// $link = $alternate_link;
// List Box array generation:
$list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif
Everything seems to be working fine, I just wanted to check with the experts that the above is ok :smile:
Thanks.
-
Re: Image Handler 2 Support Upload Error
Hi, I'm getting an error when i try to upload...it was working fine. Here is the error:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
How do I fix this? Thank you!
-
Re: Image Handler 2 Support Upload Error
Quote:
Originally Posted by
joyjoy
Hi, I'm getting an error when i try to upload...it was working fine. Here is the error:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
How do I fix this? Thank you!
Normally this is caused by invalid characters in your filename, things like brackets (), filenames should only contain alphanumeric characters as well as underscores and dashes
Unfortunately brackets Mean something in php code, therefore when a filename that contains brackets or other special characters, it send image handler into a spin
-
Re: Image Handler 2 Support
Thank you for the response. I've tried to upload the pictures with renamed files that contained no special characters. Still getting the error....:frusty:
-
Re: Image Handler 2 Support
I've figured it out, it was an image that Image Handler allowed to upload previously with "()" marks. I've deleted it out of my files, it's working well again.:smile:
-
Re: Image Handler 2 Support
Hi All..
Just a quick question is ver 2.0 8b suitable to install on zen 1.3.8a
Thanks
RR
-
Re: Image Handler 2 Support
Hello all,
I'm new in zen cart v1.3.9f. Glad to know IH2. I want to make sure before installing.
Since there are many same folder names and perhaps files with existing zen cart original fold, Do I need to choose override all while installing? or skip all? I worry corrupt my original zen cart program
if do override all.
Any help, Thanks.
-
Re: Image Handler 2 Support
Hi I installed IH version 2.0 Rev 8b on zen 1.3.8a, the installation proved successful or at least i think it is.
Though I a puzzled as to why I have different image sizes in my store Subcategory Image width is 120 as is height. PLS see Url http://www.colourshield.com/store
The only thing that fixes them is if I set the following to 0
Image - Use Proportional Images on Products and Categories
However on doing so..the Product Info - Image disappears, has anyone seen this problem and know how to fix it.
Thanks
RR
-
Image Handler 2 Support
I installed on my site www.erboristeriabio.com IH and does not work,
I installed it on the sub directory and it works practically images created in bmz_cache are not read:
http://www.erboristeriabio.com/bmz_c...age.100x56.png
the two to be omitted / / between the folder and sub folder
help
-
Re: Image Handler 2 Support
People saying Somehow Google had problems with IH2 links, the problem fixed?
Moreover, what happen when installing upgrade Zen cart? I worry need to re-install IH2 again, it causes a lot of work.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Renz
Hi I installed IH version 2.0 Rev 8b on zen 1.3.8a, the installation proved successful or at least i think it is.
Though I a puzzled as to why I have different image sizes in my store Subcategory Image width is 120 as is height. PLS see Url
http://www.colourshield.com/store
The only thing that fixes them is if I set the following to 0
Image - Use Proportional Images on Products and Categories
However on doing so..the Product Info - Image disappears, has anyone seen this problem and know how to fix it.
Thanks
RR
Based on looking at your site my best guess is that your install of IH2 is incomplete. There is a part of the package that allows the main product image to be processed and cached by IH2. (see here for an example: http://zentestcart.overthehillweb.co...&products_id=3) Your main product image is not a cached image which leads me to believe you have an incomplete IH2 installation.
Quote:
Originally Posted by
giancalr
I'm not sure I fully understand your issue, and looking at your site it doesn't appear that you have IH2 installed correctly. Some additional details and a specific example as to what issue you are experiencing would be a big help.. (link to a specific product so the issue you are reporting can be seen would be a huge help)
Quote:
Originally Posted by
hara
People saying Somehow Google had problems with IH2 links, the problem fixed?
Moreover, what happen when installing upgrade Zen cart? I worry need to re-install IH2 again, it causes a lot of work.
What Google issue are you speaking of?? All of my clients run IH2 and to my knowledge there are no issues with Google and their sites..
-
Re: Image Handler 2 Support
Hey nigel, do you think it's a worthwhile exercise to include your hack in the next IH2 release?? Or would it make more sense to include some information and the instructions for your hack in the readme??
Quote:
Originally Posted by
nigelt74
There is a hack you can use, for some bizarre reason its the only thing i can get to work
this is a hack, there is probably a better way to do this, BUT
in this file
includes/classes/bmz_image_handler.class.php
around line 690
add the following directly underneath (cut and paste it), basically it replaces any single quote apostrophe with a single fancy quote
as always use at your own risk, i have tested it on my site and it seems to work fine
It isn't the most elegant, however this is a weird bug, all the apostrophes in the javascript code are being escaped, but only on the additional images bit, and i can't find the cause
and before you say it, i did try changing ' to ' but it didn't work
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Hey Nigel, do you think it's a worthwhile exercise to include your hack in the next IH2 release?? Or would it make more sense to include some information and the instructions for your hack in the readme??
Hi Diva, personally i'd include it, it is a hack, but it does solve a problem that at some stage will need to be looked at, I tried to trace the error back to its source but couldn't isolate it, (I have 2 very bored under 5s who have been sick for 6 weeks and dads office is the coolest place in the world)
Somewhere in the call for the additional images bit, the entire javascript call is being escaped, rather than just the product title.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nigelt74
Hi Diva, personally i'd include it, it is a hack, but it does solve a problem that at some stage will need to be looked at, I tried to trace the error back to its source but couldn't isolate it, (I have 2 very bored under 5s who have been sick for 6 weeks and dads office is the coolest place in the world)
Somewhere in the call for the additional images bit, the entire javascript call is being escaped, rather than just the product title.
Good enough.. I'll include it..
and BTW, daddy's office IS the coolest place to be!!! :laugh:
-
Re: Image Handler 2 Support
[QUOTE=DivaVocals;935614]Based on looking at your site my best guess is that your install of IH2 is incomplete. There is a part of the package that allows the main product image to be processed and cached by IH2. (see here for an example: http://zentestcart.overthehillweb.co...&products_id=3) Your main product image is not a cached image which leads me to believe you have an incomplete IH2 installation.
Hello DivaVocals, thanks for your assistance, I have did a reinstall of the module and followed up by checking each and every file, they are all loaded in their correct location. I did a reinstall of IH from the database..Still the same issue. I assume that it is compatible with PHP Version 5.2.3-1ubuntu6.3 and zen 1.3.8a.
I have IH2 Rev 7 on another cart same server and settings..No problem.
Please see my settings below, though I wouldn't think they have an effect of image size irregularity within the same...
Title Value Action
Small Image Width 120 Info
Small Image Height Info
Heading Image Width - Admin 50 Info
Heading Image Height - Admin Info
Subcategory Image Width 110 Info
Subcategory Image Height Info
Calculate Image Size true Info
Image Required false Info
Image - Shopping Cart Status 1 Info
Image - Shopping Cart Width 80 Info
Image - Shopping Cart Height 50 Info
Category Icon Image Width - Product Info Pages 120 Info
Category Icon Image Height - Product Info Pages Info
Top Subcategory Image Width 120 Info
Top Subcategory Image Height Info
Product Info - Image Width 120 Info
Product Info - Image Height Info
Product Info - Image Medium Suffix _MED Info
Product Info - Image Large Suffix _LRG Info
Product Info - Number of Additional Images per Row 3 Info
Image - Product Listing Width 120 Info
Image - Product Listing Height Info
Image - Product New Listing Width 120 Info
Image - Product New Listing Height Info
Image - New Products Width 120 Info
Image - New Products Height Info
Image - Featured Products Width 120 Info
Image - Featured Products Height Info
Image - Product All Listing Width 120 Info
Image - Product All Listing Height
Product Image - No Image Status 0 Info
Product Image - No Image picture no_picture.gif Info
Image - Use Proportional Images on Products and Categories 1 Info
IH resize images yes Info
IH small image filetype no_change Info
IH small image background 255:255:255 Info
IH watermark small images no Info
IH zoom small images yes Info
IH small image compression quality 85 Info
IH medium image filetype no_change Info
IH medium image background 255:255:255 Info
IH watermark medium images no Info
IH medium image compression quality 85 Info
IH large image filetype no_change Info
IH large image background 255:255:255 Info
IH watermark large images no Info
IH large image compression quality 85 Info
IH large image maximum width 750 Info
IH large image maximum height 550 Info
IH watermark gravity Center Info
The problem again is.......I have different image sizes in my store Subcategory Image width is 120. PLS see Url http://www.colourshield.com/store
The only thing that fixes them is if I set the following to 0
Image - Use Proportional Images on Products and Categories
However on doing so..the Product Info - Image disappears, has anyone seen this problem and know how to fix it.
Many Thanks - In advance
RR
-
Re: Image Handler 2 Support
@renz
are you sure its not because some of your images are smaller than than 120px
eg
http://www.colourshield.com/store/images/Clay_Lube.jpg is only 100x 100
Image Handler doesn't resize images smaller than the settings set in admin
Also if you are using proportional images, which any sane person would
read the note
Quote:
Use Proportional Images on Products and Categories?
NOTE: Do not use 0 height or width settings for Proportion Images
you need to set a height for your images
-
Re: Image Handler 2 Support
Hi nigelt74,
Ok I tried something here:
I set all image sizes W & H to 100 a little smaller than what I wanted though...
I noted that I still have irregular image sizes and hover does not resize by much or equally.
As an example this product http://www.colourshield.com/store/in...roducts_id=191 which has a smaller image than the others on the store home page has actually an image loaded of 354px × 265px pls see http://www.colourshield.com/store/images/Towels.jpg so truly I am baffled.
Thanks
RR
-
Re: Image Handler 2 Support
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Renz
first off
Did you clear the BMZ cache, or it will still show the old cached images for anything that has previously been viewed, you can clear the cache in Admin -> Tools --> Image Handler
you don't need to set all your W & H to 100, but as you can see it's now working, you just need to jig things till they work
Here are the settings from a working shop, it might help?
Quote:
Small Image Width 120
Small Image Height 120
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 120
Subcategory Image Height 120
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 120
Category Icon Image Height - Product Info Pages 120
Top Subcategory Image Width 120
Top Subcategory Image Height 120
Product Info - Image Width 200
Product Info - Image Height 200
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 3
Image - Product Listing Width 120
Image - Product Listing Height 120
Image - Product New Listing Width 120
Image - Product New Listing Height 120
Image - New Products Width 120
Image - New Products Height 120
Image - Featured Products Width 120
Image - Featured Products Height 120
Image - Product All Listing Width 120
Image - Product All Listing Height 120
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images yes
IH zoom medium images no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images yes
IH large image compression quality 85
IH large image maximum width 750
IH large image maximum height 550
IH watermark gravity Center
whenever you change your settings its a good idea to clear the cache as mentioned above
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Renz
I think you may be mis-understanding how IH2 works.. IH2 will NOT re-size your images according to your settings..
In the example you provided the small product image is smaller than the others because the large image that IH2 used to create your small image IS smaller than the other product.. IH2 will NOT make this image 100x100 since it creates images which maintain the proper image proportions within the height and width specifications you set in your image settings...
IH2 creates the smaller image based on the size of the large image and it maintains the proper aspect proportions if you have the proper settings to do this.. (which like Nigel says you DO want to do this)
If you want equally sized small, medium and large images, you need to make sure the large images are ALL the same dimensions.
If you want to make sure that all the small and medium images are the same size, you will need to do some work to calculate the correct width and height that your large images should be. You will need to determine which dimensions will yield proportional and equally sized small and medium images...
-
Re: Image Handler 2 Support
Hi DivaVocals & nigelt74,
I have found a happy a setting that is close enough to make them all appear the same.I thanks you for your time and assistance for my needs.
Kind Regards
Renz
-
Re: Image Handler 2 Support
Hi
I have a problem with the layout of additional images eg:
www . l o v e f u r n i t u r e . i e /bedroom/bedroom-collections/aston-bedroom/aston-dressing-table-set
as you can see the "add this to cart" box is pushing the 3 row down messing up the layout, and causing images to over lap etc.
if you have the "Please Choose: " attributes thing on the layout is fine eg:
www. l o v e f u r n i t u r e . i e /bedroom-furniture/leather-beds/prado-leather-bed/prado-3-leather-bed
I updated to the latest version of image handler but it does not fix the problem.
Any suggestions of a fix or are there any alternative "additional images " solutions anyone recommends? (litebox or something?)
Any advice would by great, thanks
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
eunaneunan
I have a problem with the layout of additional images ...
I updated to the latest version of image handler but it does not fix the problem.
Any suggestions of a fix or are there any alternative "additional images " solutions anyone recommends? (litebox or something?)
Any advice would by great, thanks
This isn't an issue caused by IH2.. This is a layout issue, and you should create a new post to get assistance with your layout/page format issue.. (Suggest posting this in the layout topic of the forum)
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
This isn't an issue caused by IH2.. This is a layout issue, and you should create a new post to get assistance with your layout/page format issue.. (Suggest posting this in the layout topic of the forum)
OK, I thought it was a bug with IH2, thanks for the info
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
eunaneunan
OK, I thought it was a bug with IH2, thanks for the info
Not a bug since IH2 is not a layout module, and therefore would not effect page layouts..
-
Re: Image Handler 2 Support
I am having the worse trouble for my site. I installed the latest version of image handler and now I can't see my shopping cart site anymore. It seems like everything has disappeared. Please help~
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
eberrios
I am having the worse trouble for my site. I installed the latest version of image handler and now I can't see my shopping cart site anymore. It seems like everything has disappeared. Please help~
Not enough information provided to have an understanding of the issue.. Can only suggest restoring your site to the state it was prior to installing IH2.. Nothing in the IH2 install files would stop your store from functioning.
Did you follow the install instructions in the readme?? Are you using the latest version of IH2 with the latest version of Zen Cart?? Also it's helpful to provide a link to the site or page where a specific problem can be seen..
-
Re: Image Handler 2 Support
Well I guess it probably won't work because I have the second newest version of Zen cart with the latest image handler. Is there a way to uninstall image handler?
-
Re: Image Handler 2 Support
Here's the link to where the page is supposed to show up
http://songshine.net/cart/index.php?...tueuaqh4rgsj70
-
Re: Image Handler 2 Support
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
eberrios
I have the second newest version of Zen cart with the latest image handler.
No idea what you mean by this...
Quote:
Originally Posted by
eberrios
Is there a way to uninstall image handler?
You can uninstall from the admin.. (Same place you would have run the IH2 install) Would be easier to simply restore your site if you have a back up of the site prior to installing IH2..
However it really looks like an incorrect IH2 install is at play.. What is happening on your site would not be caused by IH2 if installed correctly.. Of course since I can't see your site I have not a clue as to what other modules you might have tried to install along with IH2..
-
Re: Image Handler 2 Support
Meaning that I don't have version 1.39 for zen cart. I have the one before that.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
eberrios
Meaning that I don't have version 1.39 for zen cart. I have the one before that.
1.3.8a?? or 1.3.7..
-
Re: Image Handler 2 Support
i am having a small problem with IH2, i have the latest version available in the downloads section and i am running Zen version 1.3.9e.
When i add additional images it is ok, it allows me to have 3 but no more than that, i can add multiple images BUT it will only show 3 extra images in the product information page. Other than that IH2 works perfectly.
Any suggestions would be very much appreciated.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sweetikins
i am having a small problem with IH2, i have the latest version available in the downloads section and i am running Zen version 1.3.9e.
When i add additional images it is ok, it allows me to have 3 but no more than that, i can add multiple images BUT it will only show 3 extra images in the product information page. Other than that IH2 works perfectly.
Any suggestions would be very much appreciated.
This doesn't appear to be an IH2 issue/bug.. I have client sites with more than 3 additional images, and they all work fine.. My test site also doesn't have this issue.. Perhaps it is something within your template which is limiting the additional image display.. Link to your site MIGHT help..
-
Re: Image Handler 2 Support
Image Handler seems to not be working for my site.
http://www.jasoncphotos.com/purchase/
Products are added, and images ARE uploaded. I can find them in the folders on the webhost, and they appear in the product information. Not all of them appear on the catalog though. This means there aren't any links to the products themselves either.
When I go into the image handler tools it doesn't show any images for the products...
Let me know what more information you need.
-
Re: Image Handler 2 Support
Hi, I have weird problem with IH.
It worked since some time well. Then I have upgraded ZenCart 1.3.9d and that was probably when it stopped working. The trouble was I realized too late, because it was still showing cashed images, just not resizing and watermarking new ones.
Anyway, I have now upgraded to latest 1.3.9f and IH2 rev8b but it still does now work on my server - weird is, that exactly same files and database copied to my local computer works fine using Wamp (PHP version and MySQL database version are very similar).
If it hasn't been working earlier just fine I would be suspecting some security setting on the server preventing IH resizing images, but it was just fine before I upgraded.
So on my online server it is showing images but not resizing them when on my local server it's resizing well. I can see that all pictures displayed on my online server are served from their standard location in eshop/images/ folder, when locally it is served resized from eshop/bmz_cache folder.
Anyone got idea what could be causing this? I have 777 permission on bmz_cache and images folders...
Thanks a lot for any ideas!
ludek
www.armysurplus.cz/eshop
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
luidzi_1
Hi, I have weird problem with IH.
It worked since some time well. Then I have upgraded ZenCart 1.3.9d and that was probably when it stopped working. The trouble was I realized too late, because it was still showing cashed images, just not resizing and watermarking new ones.
Anyway, I have now upgraded to latest 1.3.9f and IH2 rev8b but it still does now work on my server - weird is, that exactly same files and database copied to my local computer works fine using Wamp (PHP version and MySQL database version are very similar).
If it hasn't been working earlier just fine I would be suspecting some security setting on the server preventing IH resizing images, but it was just fine before I upgraded.
So on my online server it is showing images but not resizing them when on my local server it's resizing well. I can see that all pictures displayed on my online server are served from their standard location in eshop/images/ folder, when locally it is served resized from eshop/bmz_cache folder.
Anyone got idea what could be causing this? I have 777 permission on bmz_cache and images folders...
Thanks a lot for any ideas!
ludek
www.armysurplus.cz/eshop
These are just general guesses, you have probably done most of them, but you'd be amazed the amount of people who miss the obvious
having a look at your source code it appears the image handler specific hooks are utterly missing which makes me think some files may have been missed.
1) did you run the "install image handler" in admin-> tools->Image handler 2 --> then select the image handler admin tab and select install image handler
2) Did you check to see all files went up and none were "skipped"?, especially the ones in your template folder
3) you did upload the admin files to your renamed admin folder
4) did you uninstall the old version
5) what errors if any are appearing in your /eshop/cache/ folder, as this will hopefully shed some light on it
Cheers
-
Re: Image Handler 2 Support
Hi Nigelt,
thanks a lot for reply - you did tell me something very new indeed - did not know that debug files are kept in cache folder! ;) (and yes, I did all steps 1 to 4)
So investigating debug files revealed very interesting error messages:
[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/e/e81ee866c4ee0327420ef160555bbc56.image.150x187.jpg in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
Looks like script cannot write images in to bzm_cache folder although it is 777. There is also an error about invalid filename.
Will investigate more, but this is most lileky the reason while it's working on my local server and not on remote one.. :(
Thanks again for your advice! ;)
ludek
Quote:
Originally Posted by
nigelt74
These are just general guesses, you have probably done most of them, but you'd be amazed the amount of people who miss the obvious
having a look at your source code it appears the image handler specific hooks are utterly missing which makes me think some files may have been missed.
1) did you run the "install image handler" in admin-> tools->Image handler 2 --> then select the image handler admin tab and select install image handler
2) Did you check to see all files went up and none were "skipped"?, especially the ones in your template folder
3) you did upload the admin files to your renamed admin folder
4) did you uninstall the old version
5) what errors if any are appearing in your /eshop/cache/ folder, as this will hopefully shed some light on it
Cheers
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
luidzi_1
[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
Are you sure your server supports gd?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nigelt74
Are you sure your server supports gd?
yes:
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
plus as I said it worked before. Sent email to hosting company.
Some more errors:
[19-Sep-2010 22:06:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 1014 is not allowed to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/0 owned by uid 81 in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
So it seems safe mode is affecting this, but I know it was on before as well and it worked... :no:
Also I have tried http://wiki.breakmyzencart.com/zen-cart:safemodehack and it did not help me :cry:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
luidzi_1
yes:
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
plus as I said it worked before. Sent email to hosting company.
Some more errors:
[19-Sep-2010 22:06:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 1014 is not allowed to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/0 owned by uid 81 in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
So it seems safe mode is affecting this, but I know it was on before as well and it worked... :no:
Also I have tried
http://wiki.breakmyzencart.com/zen-cart:safemodehack and it did not help me :cry:
hey problem solved! :clap:
bad part is I don't really know what was it...
What I did was I have removed bmz_cache folder several times for testing (safe mode hack) and I have re-created it again and then re-applied chmod to all folders, subfolders and files as well (well I did it before with no success) and it worked this time...
so no good idea what was the issue...
thanks for the idea with logs in cache, that was the key!:bigups:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
luidzi_1
hey problem solved! :clap:
bad part is I don't really know what was it...
What I did was I have removed bmz_cache folder several times for testing (safe mode hack) and I have re-created it again and then re-applied chmod to all folders, subfolders and files as well (well I did it before with no success) and it worked this time...
so no good idea what was the issue...
thanks for the idea with logs in cache, that was the key!:bigups:
Good to Know :)
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
This doesn't appear to be an IH2 issue/bug.. I have client sites with more than 3 additional images, and they all work fine.. My test site also doesn't have this issue.. Perhaps it is something within your template which is limiting the additional image display.. Link to your site MIGHT help..
Sorry here is the link http://www.twilightscraps.com/
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sweetikins
Can you provide a link to a specific product where the issue is seen.. You have a lot of products, and it's easier if you can direct us where to look..
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Can you provide a link to a specific product where the issue is seen.. You have a lot of products, and it's easier if you can direct us where to look..
Sure ok for example here is 1 of the products affected, it has 3 images showing but 6 added
http://www.twilightscraps.com/index....oducts_id=8450
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sweetikins
It's almost like your IH2 install is incomplete or something..
Did you use IH2 to upload your additional images??
What other mods do you have installed??
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
It's almost like your IH2 install is incomplete or something..
Did you use IH2 to upload your additional images??
What other mods do you have installed??
Yes i done everything as i was told to and followed the instructions lol, i have the basic mods installed, sales report, IH2 rev 8, admin activity, admin profiles and a couple others. They use the pink i to add more images
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sweetikins
No i done everything as i was told to and followed the instructions lol, i have the basic mods installed, sales report, IH2 rev 8, admin activity, admin profiles and a couple others
What happens if you go to the admin and un-install IH2?? Do all of your additional images show then??
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
What happens if you go to the admin and un-install IH2?? Do all of your additional images show then??
blah no lol just still shows the 3, should i try reinstalling over again?