After I copy the files out IH folders admin into ZenCart admin I can not even get to the admin page there is an error in Line 12 I believe. I am going to try to reinstall with a clean zen cart
What am I doing wrong when I get the error
Printable View
Have installed IH2 on ZC 1.3.5.
After some fiddling I now have the hover working - great addtition.
However, no image resizing is taking place at all.
I see no mention of GD.ImageMagick - where do you define which one you are using and the path - used to be in Config page on the older IH.
Also, oon the product page in admin, there are no options relating to 'Resize image - Yes/No' like there used to be when IH was installed.
Have i missed something? Images are uploading, but SM, MED, LRG are all same filesize.
Sorry - they are not the same size, they are all loading the same image file, from the images directory, so basically the original
Thanks for replying getyourgameshere.com, however this doesn't seem to work. All it does is makes my product info larger. Still no hover. ??
stehodges --sounds like you had the same problemPerhaps you could shed some light on my problem with the no hover?Quote:
After some fiddling I now have the hover working - great addtition.
Happyworker
thanks for responding, i already had this set to 1. :( i did try to set it to 0 (false) and update then go back and reset it to 1 (true) but that did not work...*sigh*
also with your issue of sizing, all your image sizes from small to med look about the same. so there really isnt anything for ih2 to show it being THAT difrent that you might notice... imo. do you have a link to see?
i had issues with the hover too. it took a reinstall of ih2 (just delete it from the data base and reinstall it) a couple of times to get mine working right. something wasnt writing correctly i guess. also, silly question i know, but do you have the js and the css stylesheet for ih2 installed in the directory for the template you are using?
Hi,
Thanks for the reply and your suggestion. Yes I finally got IH to show the hover...yay. I uploaded the js file to my custom js folder and whala, everything works. I didn't do this from the start because in the zip package the js file was under the template default directory.
With regards to your additional image problem, have you set all the image folders with an attribute of 777? You will also have to set the bmz_cache folder to the 777 attribute as well.
Cheers,
Happyworker
Yes I know, but these are images. Just a suggestion, since I have had things not quite work right in the past due to these settings.
I just want to get this straight....
Setting for medium images is Product Info?
When the cursor is over the small image, the medium size only shows up.
Can I have a large image show up?
The weird thing that I'm finding is that when I hover over an image, the status bar is showing me a link that seems to be calling for the large image (image_01_LRG.jpg) in my images/large folder.
This is kind of confusing me, so any clarity would really help me.
Thanks in advance.
Happyworker
Hi there,
I'm trying to line my additional images horizontally right underneath my product image. I've tried to adjust this through css without any luck. Any help would be appreciated.
Here is the link.
This happened to me when I uploaded an image in the 'browse for large image' field, through IH. I have been uploading all my images through the 'default image' field without any problems.Quote:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
Happyworker
[QUOTE=clikchic;275998] Originally Posted by mrmarcus66 View Post
After installing a new cart and installing IH2, I added lots of products and started to use the IH to add images and additional images, the first few went on OK but now I get the following error.
Worked it out! Our admin had an ampersand in the image filename. Removed it and problem solved.Quote:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
I am having this exact problem.. I have been using IH2 with 1.3.5 for over a month now without any problems and now suddenly I am getting this error and can no longer add additional previews. Does anyone know how to fix this?
Hi,
I was looking throughout this thread, but didn't find "my" concerns: I have ih2 installed on a v135 and 132, in both versions ih2 works good, except that the LARGE photos in the popup are not watermarked. Settings are all done correctly in the admin, did I miss another "little piece of something"?
Thanks,
jens
I have the same problem (ZC 1.3.5) with the large version not being watermarked. But only on my hosting server. My local (test) setup is working fine so I figured it must have something to do with the setup of GD. Still, small and medium images get processed just fine on both servers so it's a riddle to me. Was hoping to find a solution here but have not found it yet.
I just installed IH2 on my live site (I know, stupid me without testing it) and now all of the images on the product pages do not show up. My site is at http://www.shoptomlinsons.com/. Go there and go to an items page and you will see what I mean.
The images are all still there because I see can see them when I ftp into the site. They also show up on the category pages...it is just the item pages themselves that the images do not show up on. Any idea what's going on?
Thanks in advance!
-ajcannon
'...The images are all still there' yes but where exacly?
Your images should be in the this folder http://www.shoptomlinsons.com/images/medium/
For example images for the product 'Dennis from Thomas and Friends' should be in -
http://www.shoptomlinsons.com/images.../99064_MED.gif
And the large pop up should be in the - http://www.shoptomlinsons.com/images.../99064_LRG.gif
just check your image upload locations.
If you can not see the full URL above , just mouse over them and see in the status bar its full URL.
Does IH2 automatically update all of my existing images/products to use the IH2 images?
Before I installed IH2 my images were in the /images folder. That is still where they are right now. Maybe I missed a step somewhere, but I didn't see that I was supposed to copy everything from /images over to /images/medium. Right now in /images/medium there is nothing there except for the few files that IH2 puts in there automatically.
I'm going back to re-read the instructions again right now...thanks for your help!
If you use your admin site to upload then all the images will go to their correct places. If you FTP manually they wont as database will not register their locations. Those image URL's are referenced from the data in the db. If there is no record of the image been uploaded then it will not show regardles of images being in that folder.
Just go to admin and upload again.
Just to make sure that I understand you correctly...Am I supposed to go through the admin -> Catalog -> Categories/Products and re-upload every image again? I thought that this was supposed to work out of the box. Or am I supposed to go through and ftp all of the images into the correct folder?
If I am supposed to go through each product and re-upload the images...is there an easy way to do this? I've got over 1,000 products right now and I don't particularly want to re-upload every single image.
Thanks SO MUCH for your help!
Sorry can't advise you in regards to uploading in bulk. May be someone else might.
Good luck
double post
OK, dangit after I just spent about 20 minutes typing a post out I accidentally deleted it before I could actually post it to the site.
oavs, thanks so much for your help. I really, truly appreciate it very much. I have converted my site back to a backup that I had from earlier in the day right before I installed IH2 (I did do something right at least). So now I am back where I started from...I've read through the installation instructions and the docs on the IH2 website a couple of times now and I can't figure out where I am going wrong. I hate to ask such a dumb question, but maybe if someone else could walk me through it I will see that I am missing something...here goes: Under the following situation, how would you install IH2 on my website (which is shoptomlinsons.com if you didn't already know from my other posts)...
I've got about 1000 products on the site right now. Each product has only one image with that image being probably a medium to large size file. I know that I can speed up my site a little by using IH2, so I really want to use it. I was under the impression that by installing IH2, it would take the images that I already had on my site and automatically resize them to work with IH2. I might have been mistaken about that, or I might not have installed it correctly the first time (even after reading all the docs), but that did not happen on my site.
I would love to use IH2, but I simply don't have the time right now to go through and re-upload every single image again. Can someone please tell me what I am doing wrong or point me in the right direction? Thanks so much!
-ajcannon
I upload all my images to the /images folder, and i have no problems. i just ftp them all up at once, ih2 finds them no problem.
i would be there all day if i uploaded each image....
I did at one point have the issue you are having, i fixed it by UNINSTALLING ih2 in the admin control and then reinstalling it. I have no idea why that worked, but it did. as i recall it took twice doing that.
Hi there,
Check this out
My problem is that I would like the additional images to list horizontally, say 5 across. I have been trying to do this through css without success. Since my PHP is lacking, I was wondering if this might be a PHP thing that could be manipulated.
Cheers,
Happyworker
Did you set 'Product Info - Number of Additional Images per Row' to 5 under Configuration/Images? That should do the trick (if the colomn space allows for it).
OK, I've installed/uninstalled several times, but I'm still having an issue with the zooming. Some pics zoom and some don't, I don't get it :huh: Can anyone help???
My URL is www.babyplanetboutique.com/new.
Thanks!
I finally got it to work, and yes thank you, I did get change it to 5.
Basically you have to change a couple of php files and some css to get it just right. The funny thing about this is I spent a good 5 hours and got it almost there, then I read this post
Even though on this post they are trying to get additional images to the side of the main image, it still contains great information, and will get you going in the right direction.
BTW, the Additional Images per Row didn't seem to work for me until I was at the very end and needed to move my 4th pic up in line.? I tried to do this first.
Thanks for the reply.
Happyworker
Danielle
can you copy and paste what your ih image settings are? they are at the bottom of your image settings in admin -> config -> image
Hi, just installed IH2 and had to reload the one test product I have up.
On index i get
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/eroticie/public_html/shop/bmz_cache/1/1fdd61e73977bc206e096017429642c4.image.111x120.jpg' for writing in /usr/home/eroticie/public_html/shop/includes/classes/bmz_image_handler.class.php on line 651
And on Product page I get
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/eroticie/public_html/shop/bmz_cache/6/6fa516ade12aa9bcb3d858ba6e9815cd.image.37x40.jpg' for writing in /usr/home/eroticie/public_html/shop/includes/classes/bmz_image_handler.class.php on line 651
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/eroticie/public_html/shop/bmz_cache/6/6fa516ade12aa9bcb3d858ba6e9815cd.image.37x40.jpg' for writing in /usr/home/eroticie/public_html/shop/includes/classes/bmz_image_handler.class.php on line 651
reinstalling dosn't seem to work any.
any ideas anyone?
Here ya go:
Thanks!Quote:
IH resize images yes
IH small image filetype jpg
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image hotzone no
IH small image compression quality 85
IH medium image filetype jpg
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images yes
IH medium image hotzone no
IH medium image compression quality 85
IH large image filetype jpg
IH large image background 255:255:255
IH watermark large images no
IH large image compression quality 85
IH large image maximum width 750
IH large image maximum height 550
IH watermark gravity Center
IH zoom gravity Center
Hmm OK I thought i had re installed it.
I used the clear database and clear IH cache buttons, reloaded all the files and refreshed the admin panel, but It did not ask me to install IH2 again.....
does this mean it wasn't properly uninstalled (em still experiencing prblem I recently posted)?
how can I uninstall and check its uninstalled properly?
well darn. i was hoping that somewhere in there i would see something diffrent than mine, lol the only diffrent thing i see is i dont have my med images set to zoom, oh and my zoom gravity is set to the southeast.
umm oh and i have images set to no_change
here is mine
well then, sorry no words of wisdom :( other than try to uninstall from the admin tools, clear the cahe and reinstall... doing that for me seems to fix things at times...Code: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 hotzone no 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 zoom medium images no
IH medium image hotzone 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 yes 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
IH zoom gravity SouthEast
ah, um well I didn't actually see a uninstall IH button, doesn't matter though, cos I'm really dumb....I forgot to change permissions on bmz_cache, which fixed my problem.....:sleepy:
one other thing: I have changed all the image sizes I can see to about 250*350
but they are still showing up as about 50*60. (normal listing, large image popup and zooming window)
Ihave all images saved to the main directory as I upload them is this correct.
The only place they show correct size is in the preview page in admin.
ahh yes ... forgot to pulg it in ;)
umm are your image settings set correctly? and resize on?
First, let me say thanks for the plugin. I'm sure it will be most beneficial to the speed of my website but at the moment I am having trouble getting it to work.
I am in the process of switching from my existing OSC cart to Zen Cart. I've uploaded and installed Zen Cart to a subdirectory of my live site. I've installed IH2 fine and all seems well, but when I go into Admin->Tools->IH2->Manager and select a product it says that there are no images for the prodcut. When I browse to that product through the catalog I see the image. Also, when I click on the 'view larger' button on the catalog size, I only get the smaller size. I am using the images from the live site rather than duplicate them all. The images are all in /images and the image paths were entered when the products were entered. For example:
''decals/nativeamerican/d62253-RANDOM_IMAGES.gif'
Here's what this looks like in my current OSC site:
http://www.decaldepot.net/product_in...roducts_id=547
and here's what it looks like in my Zen Cart conversion-in-progress site:
http://www.decaldepot.net/zencart/in...roducts_id=547
Not how when you click on the larger image it the popup image isn't any larger than what is being displayed even though the OSC and Zen Cart are both aimed at the same source tif file.
Any help would be greatly appreciated! Thanks!
dinki
have you set your image settings in admin -> config -> images ? it looks like you do NOT have proportional images and resizing on (i high lighted them in red for you) and so its trying to mush your current image in the settings there. also you need to SET your image sizes on that same page. here is a copy of mine so you know what i mean...
hthCode:Title Value Action
Small Image Width 100
Small Image Height 80
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 200
Subcategory Image Height 200
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 57
Category Icon Image Height - Product Info Pages 40
Product Info - Image Width 150
Product Info - Image Height 120
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 5
Image - Product Listing Width 100
Image - Product Listing Height 80
Image - Product New Listing Width 100
Image - Product New Listing Height 80
Image - New Products Width 100
Image - New Products Height 80
Image - Featured Products Width 100
Image - Featured Products Height 80
Image - Product All Listing Width 100
Image - Product All Listing Height 80
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 hotzone no
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images no
IH medium image hotzone 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
IH zoom gravity SouthEast
Thank you for the response. Unfortunately I have pretty much the exact same settings as what you've shown. Here's mine:
Maybe someone can see something I'm missing.Code:Small Image Width 150
Small Image Height 80 Info
Heading Image Width - Admin 57 Info
Heading Image Height - Admin 40 Info
Subcategory Image Width 100 Info
Subcategory Image Height 57 Info
Calculate Image Size true Info
Image Required true Info
Image - Shopping Cart Status 1 Info
Image - Shopping Cart Width 50 Info
Image - Shopping Cart Height 40 Info
Category Icon Image Width - Product Info Pages 57 Info
Category Icon Image Height - Product Info Pages 40 Info
Product Info - Image Width 150 Info
Product Info - Image Height 120 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 100 Info
Image - Product Listing Height 80 Info
Image - Product New Listing Width 100 Info
Image - Product New Listing Height 80 Info
Image - New Products Width 100 Info
Image - New Products Height 80 Info
Image - Featured Products Width 100 Info
Image - Featured Products Height 80 Info
Image - Product All Listing Width 100 Info
Image - Product All Listing Height 80 Info
Product Image - No Image Status 1 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 hotzone no 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 zoom medium images no Info
IH medium image hotzone 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 yes 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
IH zoom gravity SouthEast
it doesn't look like IH is installed completely.. the roll over isn't there and the files are linked back to the original
as far as your image goes, reupload it for that product. That stretching effect happens when it finds a version of the file, but cannot find any other versions of it -- example, if you have a 'medium' version of it and theres no standard version.. it will stretch it to fit
Hi.
How do I tell which version of GD my server has (without having to ask the sys admin guy?)
admin panel > tools > version/server info.. and somewhere towards the middle/bottom half is the "GD" table with info about it :)
Hi,
My small images are zooming to Large proportions instead of medium. I've set these in config/images to small values i.e. 140:100 for medium size images but they are zooming in well over 500:400. I thought it may have something to with my version of GD so I went into my server for a looksie, heer's what i found, all comments welcome please:
All I have at the top of the page of PHP vERSION 4.4.3 (The server is Apache1.3.37 (Unix) in the configure command area is:
- --with-gd=shared
- --enable-gd-native-tff
I don't have a seperate table at the bottom of the page showing me GD support info.
- Does this mean I dont have the correct version of GD?
- Or is this the way in which Unix displays it's support for GD?
Thanks so much
Am I missing something? Did this get answered and I over looked it?Quote:
I see no mention of GD.ImageMagick - where do you define which one you are using and the path - used to be in Config page on the older IH.
My 1.27 config - images had a setting for this but not this newly installed 1.3.5. IH is my first contrib add on.
Also when I look in admin - tools - server info-
I see no mention of GD but I know it is there because I am using it on my other 1.27d site just fine.
Hi All.
I just downloaded and installed Image Handler 2 into my Zen 1.3.5.
Seemed ok, clicked on the install, still fine. Clicked on Admin etc, still ok.
When I clicked on 'manager' I got the following error.
Warning: require(includes/ih_manager.php) [function.require]: failed to open stream: No such file or directory in /home/woodgate/public_html/control/image_handler.php on line 153
Fatal error: require() [function.require]: Failed opening required 'includes/ih_manager.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/woodgate/public_html/control/image_handler.php on line 153.
I have tried reloading the image_handler.php file, but now I cannot get into Image Handler 2 at all.
Anyone have any ideas?
Regards Chris
latest zen and IH
maybe im missing something , buy when i upload an image to a product , the new image gets added to every product in that catergory :(
I have spent hours searching, and find no answers to my prior question about missing GD support choice (I did find other having same problem). But I did notice that my admin - Config - Images also have other added and missing items in comparison to some of the other recent posts. It appears that some of my old IH settings is still there (had it on old site).
I tried the IH2 admin and removed it from DB, then readded, but no change. I tried scanning (IH2 admin) for old IH and files before installing, but it said none where there.
This is a fresh install of 1.3.5, with just IH2 added. The DB is my old 1.2.7 and upgraded to 1.3.5.
I went to PHPmyAdmin, but don't know where to look in the DB. I thought I would just manully throw out any IH referances and then add it again. I am not sure of this and at a dead in.
Could someone tell me where in DB is IH2 and IH-old putting its info?
And is my idea for fix sound?
Or is this some other problem, I just don't know. I have not moved over my old site files or templates, I am starting fresh.
Below is my ADMIN-Config-Images and the settings;
I highlighted the differances I see extra, GD referances are missing.
Quote:
Small Image Width 100
Small Image Height 0 Info
Heading Image Width 57 Info
Heading Image Height 0 Info
Subcategory Image Width 100 Info
Subcategory Image Height 57 Info
Calculate Image Size true Info
Image Required false Info
Image - Shopping Cart Status 1 Info
Image - Shopping Cart Width 50 Info
Image - Shopping Cart Height 0 Info
Show uploaded images in cart false Info
Clone Image Dir Owner false Info
Category Icon Image Width - Product Info Pages 57 Info
Category Icon Image Height - Product Info Pages 40 Info
Large Image Maximum Width 220 Info
Large Image Maximum Height 0 Info
Product Info - Image Width 140 Info
Product Info - Image Height 0 Info
Product Info - Image Medium Suffix _MED Info
Product Info - Image Large Suffix _LRG Info
Small image filetype jpg Info
Small image background white Info
Medium image filetype jpg Info
Medium image background white Info
Large image filetype jpg Info
Large image background white Info
Watermark Gravity SouthEast Info
ImageMagick path /usr/bin/ Info
ImageMagick library path Info
Image - Product Listing Width 100 Info
Image - Product Listing Height 0 Info
Image - Product New Listing Width 100 Info
Image - Product New Listing Height 0 Info
Image - New Products Width 100 Info
Image - New Products Height 0 Info
Image - Featured Products Width 100 Info
Image - Featured Products Height 0 Info
Image - Product All Listing Width 100 Info
Image - Product All Listing Height 0 Info
Product Info - Number of Additional Images per Row 3 Info
Product Image - No Image Status 1 Info
Product Image - No Image picture 0 Info
Image - Use Proportional Images on Products and Categories 0 Info
IH resize images yes Info
IH watermark small images no Info
IH zoom small images yes Info
IH small image hotzone no Info
IH small image compression quality 75 Info
IH watermark medium images no Info
IH zoom medium images no Info
IH medium image hotzone no Info
IH medium image compression quality 75 Info
IH watermark large images no Info
IH large image compression quality 75 Info
IH zoom gravity SouthEast Info
Dear,
I tried all afternoon and did research on this forum but I still can't solve the problem:
"Additional images" didn't show up after install IH2
LINK:
http://www.hssgear.com/shop/index.ph...products_id=76
(1) Before I install IH2 and it works. After I installed IH2, additional images disappeared.
(2) Server Info:
Zen Cart 1.3.5
PHP Version 4.4.4
(3) I follow the step in Admin- tools-IH2 and add some more photos on new items but still not work.
(4) I set 3 additional images per row.
(5) Additional images function is "on"
(6) I did set "image" and "bmz_cache" folder attribute to 777
(7) The following is the setting in Admin -Config - Images:
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 hotzone yes
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images yes
IH medium image hotzone yes
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 South
IH zoom gravity SouthEast
Thanks for your kindly help!
Very very appreciate!
I think I need an Image Handler (0ld) SQL uninstall patch. But that is not to be found by me.
I am not sure if these extra DB features are my problem, just where I thought I would start. But now I see that even if you try to start a clean install with no mods, all the DB SQL installs for older mods will still be there. I may need to remove them one by one, if I could figure that out. Maybe not needed, at least I don't have too many.
I am assuming, from what I have posted above, that the IH2 Admin does not remove any thing from DB.
I installed IH for 1.35. It seems to be working fine. My only question is that my additional images are really close to one another.
I also tried the download Product Info Display with add'l images relocated and they are still very close.
I would greatly appreciated any help.
Thanks.
Paris,
Check your setting under Admin > Configuration > Images > Product Info - Number of Additional Images per Row ... default is 3. Depending on the width of your store and how big your thumbnails are, you should adjust the number to fit your needs :)
I found one more error:
Normally, when your mouse point to the small picture, the large picturer will popup either on the top or on the buttom.
Eg:
http://www.getyourgameshere.com/store/
However, my website didn't popup correctly.
If the small photo is on the buttom, the large photo coun't popup.
If the small photo is ont hte top of the page, large photo could popup without problem.
Eg:
http://www.hssgear.com/shop/index.ph...=index&cPath=7
Anyone know how to solve this problem?
Thanks a lot!
you have an old version of the contribution, please use the 9/16 release as the javascript error was fixed in that one
Thanks!
I just figure out that I shouldn't download the file from official website: http://breakmyzencart.com/image-handler
Now I install the latest one and without any problem!
Thanks a lot!
Is IH compatible with Swap Image contribution?
G'day,
I downloaded what I believe to be the lastest version of Image Handler 2 from the Zen Cart web site, i.e. image_handler__for_vx_2.0v0916.zip
I going through comparing the IH2 versions of some php files with the original 1.3.5 ones, I notice that some of the IH2 version have the ?> line missing from the end of the file. See additional_images.php, main_product_image.php etc.
This could cause problems for those that do a straight replace of the files.
Best Regards, Lloyd Borrett.
If you plough through the preceeding 553 posts in this thread, you'll find that that is deliberate by the author and that it does not impinge on anything. :D
Well, I resolved my situation somewhat by "only changing" in admin- config- images;
Image - Use Proportional Images on Products and Categories from 0 to 1 per Lala_G_Clef_Jewelry posted suggestion to dinki a couple days back. Thank you.
I could not get a product image or a larger image at all. This fixed it. But what is a mystery to me is why now most but not all of the "extra" admin- config - image choices are now gone. (?)
I did read back, (you know there is another 183 posts in the old thread) and found some good advice there. Per Tim, it is ok to have the DB as is, so I am not fixing it.
The proportional choice says not to have your image sizes at 0 as I do in the top section and not in the IH section. But it still works, so I ain't gunna fix that either untel I see its broke.
The GD / ImageMagick question I had was found in the code to auto choose GD. Thus removing the need in config- admin.
so far so good,
I must correct my last post,
I did set -
IH large image maximum width 220
IH large image maximum height 0
- to get things to size up right. I do have one set of featured picts not sizing up the same as all the rest. I assume I can fix that later.
I am giving it a rest for now.
ignor this post, its a just the same ol hash
latest zen and IH
maybe im missing something , buy when i upload an image to a product , the new image gets added to every product in that catergory
I am NOT an expert whatsoever but here is my experience with IH and maybe it might help someone.
First of all, I am using 1.35 version. I have installed IH2 for 1.35.
My images are resized and I name them in the same fashion as state by Ajeh many times. Naming of images can be anything. I normally pick a name that relates to the item or my inventory. My example is very generic.
top.jpg (main image)
top_1.jpg (additional image)
top_2.jpg (additional image)
After I add my product with the main image I then upload my additional images in that order with IH2.
IH2 is great! Thanks for all the great help from everyone.
Hi,
Let me start off with an apology if this has been asked and answered and I missed it.
I am using the latest version of Zen Cart 1.3.5. I have the the image handler 2 installed as well. I notice when I visit a page on my site with 6 or more products listed, when you scroll down the page, the medium image pops up at the top of the page and out of sight.
http://www.kellyscountrycorner.com/s...e=products_new
This only happens, as far as I know, in IE. FireFox is fine.
Is anyone else having this issue? If so is there a fix?
Thanks,
Kelly :smile:
Hi there,
Are you using the latest version (has 0916 at the end)? If not, its because of some javascript errors. If you are using this version, please let me know and I'll look into it a little deeper (or if someone else jumps on it.. thats cool too :))
http://www.zen-cart.com/index.php?ma...roducts_id=117
Js error in IE
Try changing line 124 in
includes\templates\template_default\jscript\jscript_imagehover.js
From This:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
To This:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) - docheight - truebody().scrollTop));
Hope this helps
did tim get deported to somewhere without a connection? or did he find something better to do than IH2?
i think this is pretty good image handling: flash image handler
...it hasn't been tested with IH2.
but hey, good image handling n'est-ce pas?
since flash player handles images as vectors, it's a natural at scaling them. anyone up for developing a zen flash forum?
will bumping get me arrested?
Hello,
i have a strange behavior with zooming images. I can get it working only in a scolling news sidebox all others donīt zoom. Take a look:
http://www.patronenpartner.de/index.php
The Site is german only! Any thoughts about that?
Stefan
Hi,
I am using the latest version of IH2. I also tried the suggested fix in a later post by fweb. Unfortunately it didn't work.
Thanks again,
Kelly
sorry Kim. it was an accidental bump; didn't mean to bump you ^.^ ... i had ctrl+n on that reply window and forgot that i had already posted. i submitted to find it already posted, and went back to edit it with something else... et voila!
i guess my open window multitask memory cannot exceed a dozen pages or so.
nvm.. ignore this post
Just installed image handler 2 on 1.3.5
when i roll over an image, i get the dreaded yellow exclamation at the bottom left hand of my browser, and no rollover.
Error message is:
Line: 136
Char: 1
Error Code: Object Expected
Code: 0
can anyone tell me how to correct this?
Hey, I need some help badly! I installed the script just as in the directions, except now all my content is gone! I"m getting random 404 errors and the right sidebar is missing, along with all pictures and categories.
I need help!!
I don't know where else to post this... I have had Image Handler installed and working fine for the last several months. I recently added some new images about a month ago.
Yesterday and today, I'm trying to add a new product (with images) and now all of a sudden, IH2 isn't working...
I have no clue what could be wrong. I haven't touched my settings, I haven't changed a thing.
I keep getting a "No Info" for the default image and boxes with Red X's across all 3 sizes.
However, if you do the "click to enlarge", the picture does show up, but it's not showing up in the product info in the cart or in the Image Handler.
The most bizarre thing out of all this, is that all of my existing images that have been added up to this point all work fine. I have not added any new modifications or anything to this store, so I can't image there would be a conflict that way.
Anybody have any ideas? I have holiday products and images that I have got to get uploaded within the next few days.
Any and all help will be greatly appreciated..
http://www.pattygaledesigns.com
Go to this Thread
http://www.zen-cart.com/forum/showpo...&postcount=564
I really need some help....
http://pattygaledesigns.com/index.ph...products_id=42
Here is an example of the problem I am having... I have not changed any of my settings and all of a sudden I'm getting that.
However, when you click to "enlarge image", the large image is there.
http://pattygaledesigns.com/index.ph...index&cPath=23
Same thing here... I honestly do not know what to do.
And now all of a sudden, my zoom overlay won't work either....
thanks for the fix...works like a charm
I think I found the problem. In searching way back through the posts, the issue was with what I think was an older version of Image Magik on my host or it being removed altogether... I don't know which.
I did find a code change so that IH automatically looks for GD, modified my code and that seemed to do the trick, although it is still not resizing properly, but at this point, I'm just glad something is showing up.
Hi Knuckle101
That EXPECTED_PRODUCTS_SORT is only in zencart /modules/upcoming_products.php they are in the database as config values.. you must only have a partial install of the database config table values..,
I'm actually posting because there seem a lot of people not getting the product image cached.
Mine works ok once the cache bmz folder is 777 or equivalent - but also..
Check that you have
in your functions/html_includes.phpCode:if (function_exists('handle_image')) { ...
Older versions of that file may not have that code block (it's in the 1.3.5 version file), which activates the image handler, in it. I got caught out because I had modified my older html_includes.php and added it without merging to include the 1.3.5 image handler code.
Image Handler Hovering.
I am new to zen cart, but not to php or javascript.
I setup a new store with all the sample/demo products installed.
I have installed several modules including IH2.
I applied the JS fix noted earlier in this thread.
Everything seems to be working except hover/zoom.
I spent some time trying to figure out what was broken and why some things from the default instal hovered, but others do not.
What I have determined is that Specials hover, but other products do not. right now, I am trying to figure out how to add a product that is not on the specials list to the specials list to ensure that it is in fact the specials box and not how the products listed as specials were added to the sample/demo products.
Has anyone experienced this or know what is going on.
Also, the default sample products are organized into directories. for IH2 to work espcially with hover, do they all need to be in the default directory?
Any help appreciated.
Steven
Ok, I can't edit my prior post, so I'll post again. It definitely seems that only specials are hovering. That leads me to believe that it is an admin configuration setting and not that something is wrong with the install. Any ideas what I need to do?
Ok, really weird. I changed all images to be resized restricted to canvas and the same 4:3 proportions, and hover started working everywhere.
I had dabbled with only a couple of sizes changed to restrict canvas size at 4:3 initially. Didn't think that was it. Did I miss something or is it a strange bug. If this strikes anyone else oddly or someone else has a similar problem, I can make screen shots of the setting changes that made the difference.
Steven
Zoom on medium images after clicking on a product still doesn't seem to work...
G'day,
I've done my best to read through the previous 500+ posts and try to understand IH2. However some conflicting posts have confused me, so before I go ahead and try to install it, I'm hoping someone might be able to clarrify a few things for me.
So far I've only been uploading one image per product, which is what most would consider the large version, max size about 800 x 600, but more typically 640 x 480. Zen Cart gets the browser to resize it to the required size when dispalyed in its various places in the pages.
Some images have gone into my /images directory, but most are supposed to be in separate subdirectories for each manufacturer, e.g. /images/oms/, /images/ndiver/ etc.
Images for the categories and subcategories are in /images/categories/, and manufacturer logos are in /images/manufacturers/.
I haven't started to use additional images as yet, but my understanding is these would go into the same manufactuer directories as the primary image for the product, with the same filename and _1, _2, _3 etc. as their filenames.
So now to IH2.
My understanding is that I install IH2 and it will start to automatically generate properly sized image files for each image size type required by Zen Cart, using the existing large product images, wherever they may be in the image directory structure. Is this a correct take on things?
I won't have to move existing image files around?
I won't have to go through all of my products and respecify / re-upload the product images?
I can still operate my existing directory structure of an image subdirectory for each manufacturer?
The answers to these questions may seem obvious to many. However the IH2 documentation isn't clear on this stuff, and various posts in this topic have given me the impression that my understanding may be incorrect. I'm hoping the posts that have muddied my thoughts are simply the result of others having problems installing IH2 and getting it working properly.
I hope someone can set the record straight.
Best Regards, Lloyd Borrett.
Ive tried to work this out by searching past posts with no luck.
I installed the new Zen Cart version on my server.
I then uploaded the 4 image handler folders.
Both admin and the store have gone blank. i.e. blank white pages.
Not sure what to do! I really want image handler on my site. Any ideas would be valued?
Thanks
I have a similar problem (posted about it in the general questions folder here:
http://www.zen-cart.com/forum/showthread.php?t=49467
but got pointed over to this one.
I did actually see this thread before I posted but couldnt see a solution. My problem is similar but the "no info" message is only showing on new images posted from yesterday even though when the item is listed, the image appears to save normally and shows up on the preview - cant see it in image handler or on the actual website. All the other images are showing normally on the website but as red crosses in image handler with the file size info showing but not the actual image.
Website is here www.aussiesapphire.com.au/shop
Problem item is here:
http://www.aussiesapphire.com.au/sho...roducts_id=209
Made no changes to zencart except to split a category into 3 subcategories.
Any help gratefully received.
cheers
Leah
Looking in the bmz_cache directory I can see that this image is not actually there so there is a problem creating it.
Delete the existing image and add it again in the IH menu and see if that helps?
Have you run out of webhosting space?
Tried that. Should have plenty of webhosting space unless there is some limit on number of files within one directory or something. Tried uploading direct from IH menu but would not go. Not sure what problem is but dont have much clue about the details so any other ideas would be appreciated.
cheers
Leah
Sorry - also forgot to mention that it still doesnt really explain why IH has suddenly stopped recognizing the images that are already there. Any ideas ??
Leah
Thanks for the reply. You are correct I have display errors off. Ive turned them on and this is what I get.
Warning: main() [function.main]: open_basedir restriction in effect. File(/bmz_gif_info.class.php) is not within the allowed path(s): (/var/www/vhosts/mywebsite.com/httpdocs:/tmp) in /var/www/vhosts/mywebsite.com/httpdocs/includes/classes/bmz_image_handler.class.php on line 12
Warning: main(bmz_gif_info.class.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mywebsite.com/httpdocs/includes/classes/bmz_image_handler.class.php on line 12
Fatal error: main() [function.require]: Failed opening required 'bmz_gif_info.class.php' (include_path='.:') in /var/www/vhosts/mywebsite.com/httpdocs/includes/classes/bmz_image_handler.class.php on line 12
Is the store in the root directory of /var/www/vhosts/mywebsite.com/httpdocs/?
The key appears to be in the first error message, "open_basedir restriction in effect."
For one reason or another, your store does not have permission to open that file and include it in the running script. I would check permissions and ownership on the directories, but the error message inlies that the file that your are trying to include is outside of the domain name or site root and is encoutering a php restriction on your system.
I am assuming that you installed the files in the same locations specified by the IH add-on, so if the store runs I don't know why this location would be a problem. That leads me back to the permissions and ownership of the directory, but that usually provides a different error.
You can find some info on that error at http://us3.php.net/features.safe-mode
Sorry I couldn't be more help. That might be a valid error to contact your ISP over. You might also turn off safe mode and research the security issues you need to pay attention to when safe mode if off.
Steven
The store is in the root directory and IH has been installed into the correct folders.
Unfortunaly my isp will not help me! It seems strange to me that Zen Cart works fine but when I install IH it comes up with this "open_basedir restriction in effect" error.
If there was a restriction in effect then zen cart would not have worked!
Ive no idea!?!
:blink:
A strange thing happen: when I'm try to load a new image, the new image button has this link:
http://www.domain.com/admin/image_ha...ion=layout_new
and Forbidden page show me.
The &products..... is wrong: in fact if I delete the & the link work, but in the second step error again
Help me
I can't get the bloody water marks to work, i only use small images for the moment and i am using Internet Explorer.
Is there something else i am suppose to change ?Quote:
IH watermark small images yes
Checking with the host now to enquire about changes - waiting to hear back. Checked the permissions on the bmz_cache and the images folders - both at 777.
Any other ideas?? I am getting desperate.
What happens if I clear the image cache - I am presuming that with ih2 not working properly, all my existing images that are displaying on the website might disappear on me which would be an even bigger problem.
cheers
Leah