Okay...thanks for all your help.
Printable View
Okay...thanks for all your help.
So in regards to the image dimensions I am referring to, my original image is/was larger than 1024. I had no other image handler software installed and was using ZC1.5. At the time the issue appeared I had also listed the version of the prerequisite software either in that response or since then, but I am not in a position at the moment to identify that. My resized images were less than that, and decreasingly smaller like you listed.
So that said, and I know Diva has provided other feedback, but related to the referenced response, you stated that the files that did not successfully get loaded were again uploaded, but did not indicate what was done to accomplish that. Ie, were they uploaded to the default IH4 location and the auto_installer run again, were they uploaded to the default IH4 location only, were they merged with the location that IH4 would end up putting them, etc.
All that said also though and the additional discussion, there may seem to be something else going on or like in my case if the site is experiencing what mine was (upload of image with dimension in either height or width greater than approx. 1024 prevented display of any content on the page showing that image) then it could be that the image which was originally uploaded (and is attempted to be resized) is trying to be shown on that page and providing a page can not be found. (Assuming that the response of trying to "receive a message from her store" is a page not found issue.)
I don't believe the condition I describe above is specifically an IH4 issue so much as a limitation that is not handled/addressed through the interaction of IH4 with the prerequisite software. I haven't tried to troubleshoot that aspect, but work around it to verify all of my images are equal to or less than 1024 in both directions prior to upload. I think this is primarily a host problem on my side as no other changes to ZC or IH4 have been done that would cause this to occur.
I basically just reloaded all the files again over the existing files, The image handler is working fine. I have someone helping me with this issue in another feed elsewhere. Apparently this site is missing the securityToken hidden input in the contact_us.php and the product_info.php pages. So I thank you all for your help.
I got it....apparently I had an old html_output.php in the site. I uploaded the new one and the site is back. Halleluiah!!! Thanks for everyone's help on this!!!
And as Amanda has confirmed (see below) her issue is different (her issue related to adding products to the shopping cart, which has NOTHING to do with image sizes) and as I have said they are UNRELATED to IH4..
Thank you for confirming that the issue is unrelated to IH4..
Yes...this issue was not IH related and I thank you all for your help...once again.
So, although the rest of the quote didn't display and I on my cell phone have not gone to properly capture it all, therein lies my problem. I understood the addition of information to mean adding a picture to Zen Cart from the admin panel, not adding an item to the shopping cart. Boy, I've had a horrible track record this week.
Congrats on getting your non-IH4 issue(s) corrected! I certainly still like what IH4 has to offer.
Anyone know what the file name translation formula is from uploaded file to cache file?
Filename Orig
Image 1: beads/56493.jpg
Image 2: beads/56493_01.jpg
bmz_cache/0/0601274ad37002a3515bf19a3cf25f3e.image.262x349.jpg (Image 1 Medium)
bmz_cache/6/64a3c1a722a125fd17070165132e03c8.image.412x550.jpg (Image 2 Medium)
bmz_cache/4/42a130137fe234ba9e0107d0db35e0b7.image.412x550.jpg (Image 1 Large)
I made a thread about an issue I am having I will post it here as well as I believe this is the mod that caused the issue any help would be apreciated!
Thanks :)
original thread is here http://www.zen-cart.com/showthread.p...than-1-product
I have been doing some site maintenance recently, 3 things as a matter of fact. The first thing I have done is add the google page speed module (all files were loaded above the root direcotry on my server and then this code was entered into the .htaccess to make it work.
Everything was working great and my pages were responding/rendering a lot faster than what they were.Code:<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters add_head,combine_css,convert_meta_tags,convert_png_to_jpeg,extend_cache,fallback_rewrite_css_urls,flatten_css_imports,inline_css,inline_import_to_link,inline_javascript,rewrite_css,rewrite_images,rewrite_javascript,rewrite_style_attributes_with_url,combine_javascript
</IfModule>
second thing I did was rewrite my urls with "-" instead of "_" as recommended by google this code was added and all was working great except when trying to load .php pages in admin
so I changedCode:RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
to this and all is working great I am excited!Code:RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
no I decide ok so far so good lets try to install an image handler to help the site load even faster and reduce the amount of resources used by my server so I install Image Handler 4 and that is when everything goes down hill, it apears to be working good however when clicking on a category with more than 1 product in it, or sorting by manufacturer the page does not load, I have uninstalled Image Handler 4 however this did not fix it please help!Code:RewriteRule !\.(html)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
Here is my site with a category with just 1 product in it
http://bullysperformance.com/air-fil...1/3-5l-v6-426/ you'll notice it redirects to the product page since there is only 1 product
and here is a link to a category with multiple products
http://bullysperformance.com/manufacturers/aem-5/ none of the products load, nor does the footer?
can anyone please help it would be much apreciated!
Thanks
J
any idea where I can check these "logs" I have not had to do a debug yet or check for broken things as I have been fortunate enough not to have any issues over the last year until now.
Thanks
J
The Zen Cart FAQs are a VAST wealth of information.. I searched for "blank page" and found this:
I am getting a blank page (or blank part of a page)
awesome thanks for the help I found this not sure what it means though
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/***/***/92/10759392/html/bullysperformance/cache) is not within the allowed path(s): (/var/www/vhosts/bullysperformance.secureserver.net/:/tmp/) in /***/****/vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/includes/functions/sessions.php on line 167
got my products showing up again, comes out I had deleted the first 2 lines of code in the product listings file oops... however still have this error above not sure where to go with this and then it says I am getting an error in my admin panel on line 13 of login.php I have checked it with all my backups and it is consistant but I was not getting the error before? here is what line 13 says and here is what the error says
error
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in vhosts/bullysperformance.secureserver.net/bullysautomotive/bullysperformance/my_admin_folder/login.php on line 13
and here is line 13
define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));
???
PHP Version 5.3.3
I have gone in and added the date.timezone = "America/Chicago" line to every php.ini and php5.ini file on my server and restarted appache and still there
Like I said earlier.. this is not Image Handler issue, and any continued discussion is WAY off topic in this support thread... Please start a new thread to discuss the issue..
My fault did go off topic I did make another thread this just so happened to be where convo started my fault, back to IH4, I have reinstalled it all is working well except now I am getting "Larger Image" text under my second/third/forth and so image (you can see an example here http://bullysperformance.com/50-stat...40410-111.html) and it has broke my highslide gallery any suggestions?
I did not have an image handling mod, I have the numinix High Slide gallery installed, it still works on the main image, but instead of opening the additional images like the main image it opens them in a new window if you will, if you click on the main image and then on one of the additional photos you will see what I am talking about, as far as the text below the images it was not there before the mod is all I was simply stating not sure if it is supposed to be there or not, I would prefer that it was not there as it clutters the area and to me looks horrible A you can't see the whole word because it is so big and B to me it just doesn't look clean, I am wondering is there a way to remove the text from below the image? if not maybe I can dig around the code and see if I can find what file inserts this text below the images...
Any help would be greatly apreciated :)
Thanks
J
After looking at the example page, agree the result looks bad, but that has to do with settings on your page (font, size, etc.). For others it doesn't look like that at all. It has to do with additional images and your updated file(s), I'm drawing a blank at the moment as to which it is, but my guess is that in installation, the instructions were not followed/verified complete at the point where a "template" file was modified but the template file was not merged with the IH4 installation: hence the "reappearance" of the larger image text and possibly an affect on other things on your page. Unlike a few minutes ago, I'm mobile again, so limited reviewability.
Got it working now! It looks a whole lot better, I am worried that I am not using the IH4 though and I really would like to have this ability, but my highslide is working again as it should, is there any way to verify I am still using IH4 live on my site?
So, for your information, you can typically tell if IH4 is being used by the renaming of the image on the page being loaded. In regards to the example provided earlier, it can be seen that the main image is using IH4; however, the additional images are not. Again, looks like a proper merge may not have taken place. If not mistaken thought previously said that had built your site without conversation on any forums. My thought/guess is that site was built by changing all of the default files, instead of files in each of the templates (part of what I was referring to). There is something about additional_images I think it is that is not incorporated properly on this "update". I'm sorry, at the moment it's late and I'm drawing a blank on the proper path names for all of the files. Basically would suggest looking through/for template override associated information.
Hopefully this is an easy question.
I have IH4 on my zencart v1.5.1 shop. I have a main store that is in /shop/. I also have another store that is a subdomain shop.
Both of the following URLs do work in the browser (shows the image).
IH4 is working properly on the main shop and I get the hover when over the thumb
http://myshop.com/shop/bmz_cache/a/a...ge.150x150.jpg
IH4 does not show the larger image on hover on the subdomain shop
http://subdomain.myshop.com/bmz_cach...ge.150x150.jpg
Any thoughts?
So, both shops typically show different information (or are controlled by different ZC code)? If so, installation of IH4 needs to be performed in the path of both shops, separately. If both addresses point to the same location, then things might be different. It looks like the code of one shop is being used by the other (photo reference at least) and as such is trying to pull the photo from a non-existent directory. Might need to use your htaccess to push the photo reference into your /shop/ directory, otherwise you may have a setup error in your configure.php file. But my answer depends on knowing more of what your setup is, which that list of info has been recently provided by Diva Vocals
Nope, and I'm not gonna lob guesses at what is right now a hypothetical problem.... I really need to see the REAL store URLs so I can SEE the issue (which is not clear based on the info posted thus far) Perhaps other community members will help you with guessing at a solution, but it generally works better if you let us SEE the problem you are trying to describe..
IH4 installed correctly works without incident, so when something goes wrong the issue is usually an install or configuration issue.. If you don't want to post your URLs, my suggestion is to refer to page 1 of this support thread or the readme for the troubleshooting tips and see if that fixes the issue..
Thank you MC... Both addresses point to the same location (sharing the same fileset)
subdomain.myshop.com is pointed to myshop.com/shop via the cpanel subdomain setting
my configure shows the following:
define('HTTP_SERVER', 'http://myshop.com');
define('HTTPS_SERVER', 'https://myshop.com');
define('ENABLE_SSL', 'true');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');
define('DIR_FS_CATALOG', '/home/directory/public_html/shop/');
htaccess has some wordpress specific items such as w3cache and page caching etc.
This is the only thing not in wordpress comments:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
I couldn't find a list by DivaVocals, but I hope that this might be what you are looking for. :)
Thank you.
This is NOT an IH4 issue.. This is a ZEN CART configuration issue, and you need to start a new thread to discuss this topic.. That said I will say this VERY QUICKLY.. If your store is setup as a sub-domain, your configuration file needs to be configured for a sub-domain. Meaning the URL's in HTTP_SERVER, HTTPS_SERVER and should be the sub-domain URL.. If you are not going to use the sub-domain, then the URLs in your configuration file will be configured as you have them.
Now if you have any additional questions, you do need to create a new thread as this is not an IH4 support related issue..
Hello, I have a question on your mod relating to the watermark. Does it just put an overlay on top of the image when a visitor is on your site? Or does it create a new file that is presented to visitors. I'm asking because I want to know if the images indexed by Google and the other search engines will have the watermark or if they will be the raw image without the watermark. How about when people social share the image as well? Thanks!
I have been using Image handler on a 1.5.1 site for over a month without a problem. Though I have added mods, I have been careful with Merging and believe that not to be the issue. That said, tonight I tried to go to the Image Handler interface and got the following messages. Under Image Handler 4.0 it says No Image Handler Information Found, and also just above the category pulldown it said in red *Product Is Disabled. Other than directly placing a photo in my images folder for use on a page, I cannot imagine what I may have done which caused this to happen. I notice on checking my images folder I have several files which appear to have changed formatting, and are using letters I did not name them with, 7×19é’¢ä¸ç»³.JPG for example. I also note that cap JPGs should not be used. What, if any, advice would you have for getting it functioning again. It was working earlier today! The only mod I installed today had zero merge files. Marc
i need help!!! i keep on getting this error ( problems while loading image).
when i uninstall image handler everything working properly please help i need this addon
to add extra images ..
http://alteryourfashion.com/index.ph...&products_id=2
Looks like image handler is not enabled or has not been fully installed (or something went wrong when merging the changes into your template). I'd suggest checking the settings (readme has instructions) or re-installing. You may also have some other issues with (or conflicts caused by) your current template.
Visual Notes: no bmz_cache, trying to load from "/small/" and "/medium/" image folders, and "jqzBigImage thickbox" in class definition (jqzoom), javascript pop up (problem loading image) is intermittent, broken javascripts on the page (and 404s loading some).
i really don't think is a template issue because i do have another website with image handler install and it works awesome www.fashionistaclub.com. The Image handler i use before was like around may 2013 it work flawlessly and is still working ,but now this is a new update i think something is missing. As you can see this website is working but my new one dont =[ help
and is the same theme
1_installation i rename the admin folder to may admin name then i drag drop to my admin folder
next i drag and drop this files without making any changes.
includes
images
bmz_cache
This is indeed a template conflict.. IH4 when installed in 99% of the Zen Cart templates works out the box.. Somewhere your template overwrites some of the same files that are overwritten by IH4, and you will need to figure out what modified files are in common between IH4 and your template and to follow the readme instructions for merging these common files..
BTW there is ZERO indication that IH4 is installed on this site AT ALL: www.fashionistaclub.com
Installed imagehandler 4 on zencart 1.5.1. I used the install script. Install messages showed success when I went to admin section. All files installed and permissions are correct.
My problem is that all of my product images are on a dedicated server. When I modified the zencart config.php file to point the image directory to the server, it does pull the images correctly, but does not resize them.
Is imagehandler not able to resize images from an external server?
just solved the problem i install a fresh copy of zentcart again then i re-uploaded all my mods and image handler as well. once everything was
working correctly i uploaded my theme and voila everything work perfectly.. not sure what went wrong last installation.
thank you for your help and really good mod.
Right.. :dontgetit
I'm not sure what constitutes "working" for you, but NEITHER of the sites you posted look like they have IH4 installed.. I don't see any cached images nor do I see the CSS or JS files that are part of IH4 on either of the sites you posted..
But.. if you "think" everything is fine, then so be it.. Glad you got it "working" for you.. :lookaroun
Having used all of the Image Handler Versions over the years.
I have noticed that the IH3 and IH4 admin tools
Clear Image Cache command has never worked consistently.
It deletes a few files, but never deletes them all and the folders as well.
I tend to play with the images sizes and quality a lot which generates lots of cached images that I need to manually go in and delete. It has always just been an annoyance not an essential feature of this mod.
So if you want this feature to work correctly here is the solution.
Edit file YOUR_ADMIN\includes\functions\extra_functions\functions_bmz_io.php
Find line 25
Change to:PHP Code:
while ($file = $dir->read()) {
Save and upload.PHP Code:
while (false !== ($file = $dir->read())) {
The Clear Image Cache command will now work correctly.
Here is the url of my problem
Installation:
- zen-cart-v1.5.1-full-fileset-09182012
- ckeditor-412-for-zencart
- column_layout_grid_2_3_1
- CSS Horizontal Dropdown Menu With jquery
- Easy Attributes 1.3.91.5.0
- Flexible Return Authorizationv1_2
- friendly-bulk-upload-of-coupons
- quick_updates-v2.06a
- ultimate_seo_urls_212
- Image_Handler4_v4_3_2
Information from DOM source:
Main Image url:
Additional Images url:Code:src="images/medium/dir_name/458_MED.jpg"
In image handler admin:Code:src="images/dir_name/458_01.jpg"
Product: #34 Blazer Leather Jacket - 458
Model: Style - 458 Base directory: dir_name
Image name File Type
458 .jpg
458_01 .jpg
458_02 .jpg
etc
see attached screen shot
Attachment 13210
Shop Config:
Admin Config:Code:define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
What is wrong with my configuration?Code:define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
Many thanks,
Goshawk
Hooray!!
Fixed it!
Somehow I had an original copy of additional_images.php inside my includes/modules/my_template, that ofcourse was not overwritten by IH.
I found it by searching for medium/ in the Developers Tool Kit inside admin.
Here is the culprit inside additional_images.php
So anyone with a similar problem, this may help you solve this problem.Code:Line #22 : $products_image_medium = DIR_WS_IMAGES . 'medium/' . $products_image_base . IMAGE_SUFFIX_MEDIUM . $products_image_extension;
Pfew!
Goshawk
I'm having a problem. I installed Image Handler and everything works perfectly except, I can't get additional images to show for products, and the footer is gone on the product pages. I have done everything it says in the read me and I even reinstalled the plugin. Can someone help me? Here is a link to one of my product pages: http://bywendygstore.com/index.php?m...roducts_id=448
Hi Diva hope this finds you well...:)
I have a question for you to see maybe you can help me in answering it. I installed image handler 4 on a clients website yesterday newh zen cart 1.5.1 site. I set all the setting on the image page to 100 and all the images enlarge nicely, but now today they are the same size as the original picture. My brain is tired trying to figure this out. I'm using the abbington mega template. There where no addon when installing the module at the time. The site is here
Thanks in advance.
Never mind Diva, I had some settings under configuration wrong along with some of the pictures that where upload are very small. I guess my clients is going to have to upload bigger pictures if he want image handler to enlarge them like there suppose to be.
Image Handler does not now nor has it ever "enlarged" images.. This is a feature that Image Manager has, and though folks SWEAR this is a GREAT feature, IMHO it's not a feature that should be part of ANY good image management module/plugin.. If you a 100x100 image to 800x800, the resulting image would be VERY distorted. In the IH4 readme it states very clearly that for the best results you must upload the LARGEST sized image for your products and categories.. Image Handler will do the work required to create the small, medium, and large sized images used by Zen Cart.. Also in the readme it is detailed out where/how the small, medium and large images are used in various places in Zen Cart. (it was a frequently asked question in old IH support threads and a cause for some confusion..)
HTH..
Good to know.... I would suggest though that he should upload larger sizes of his product images.. right now his small, medium, and large product images are all very tiny (and ALL the same size).. On the product info page there's almost no point of clicking the "larger image" link since the larger image is the same size as the image on the product info page..
I don't know how many times I've installed and reinstalled and delete and reinstalled this plugin, but results are always the same. Spacial pages is always blank. Why this? Why only this page?
try on http://www.100asa.it/specials.html
Why do you think that this has anything to do with IH4?
When you uninstall IH4 does the specials page come back?
What errors are showing up in your logs directories?
When you turn the url rewriter OFF does it work correctly?
PS: Your use of png is making your images much larger than they could be if you used jpg instead
done
When you uninstall IH4 does the specials page come back? Sure! when I come back to previous backupped zencart, all works fine!
What errors are showing up in your logs directories? none
When you turn the url rewriter OFF does it work correctly? same issue
PS: Your use of png is making your images much larger than they could be if you used jpg instead[/QUOTE] done
Strange is now zoom don't works
Well something is killing the rest of your page after the breadcrumbs.
I would have expected php errors in the log pages???
I would now look in \includes\modules\pages\specials
and \includes\templates\YOUR_TEMPLATE\templates\tpl_modules_specials_default.php
to see what code has been changed from the default.
My latest log say:
[05-Dec-2013 09:12:19 Europe/Rome] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/centoasa/public_html/includes/languages/italian/index.php:109) in /home/centoasa/public_html/includes/functions/functions_general.php on line 45
I use the default tpl_modules_specials_default.php (in the template default directory).
I've only installed:
http://www.zen-cart.com/downloads.php?do=file&id=1206
http://www.zen-cart.com/downloads.php?do=file&id=1568
maybe this?
I'm just delete IMH from database unistalling from admin backoffice, and all works fine (http://www.100asa.it/specials.html and http://www.100asa.it/rss-ezp-10.html?chapter=0)
Agreed
Edit /home/centoasa/public_html/includes/languages/italian/index.php
Take a look at line 109 then start a new thread with the result
Also see I am getting a blank page (or blank part of a page)
on this file was all ok, but for secure I've end the file with //eof
http://www.zen-cart.com/content.php?124-blank-page I've read this many times...
just re-installed, this error in logs file:
PHP Code:
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant IH_RESIZE_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant IH_RESIZE_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_FILETYPE_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_FILETYPE_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_BACKGROUND_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_BACKGROUND_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_QUALITY_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant SMALL_IMAGE_QUALITY_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_SMALL_IMAGES_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_SMALL_IMAGES_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant ZOOM_SMALL_IMAGES_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant ZOOM_SMALL_IMAGES_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant ZOOM_IMAGE_SIZE_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant ZOOM_IMAGE_SIZE_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_FILETYPE_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_FILETYPE_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_BACKGROUND_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_BACKGROUND_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_QUALITY_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MEDIUM_IMAGE_QUALITY_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_MEDIUM_IMAGES_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_MEDIUM_IMAGES_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_FILETYPE_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_FILETYPE_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_BACKGROUND_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_BACKGROUND_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_QUALITY_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_QUALITY_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_LARGE_IMAGES_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_LARGE_IMAGES_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_MAX_WIDTH_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_MAX_WIDTH_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_MAX_HEIGHT_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant LARGE_IMAGE_MAX_HEIGHT_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 494
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_GRAVITY_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant WATERMARK_GRAVITY_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 491
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant IH_VERSION_TITLE in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 532
[05-Dec-2013 14:20:29 Europe/Rome] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant IH_VERSION_TEXT in /home/centoasa/public_html/back100asa/includes/init_includes/init_image_handler.php on line 532
restore zencart backup, reinstalled again image handler: now all works fine until I NOT active image resize. If I active image resize, special page don't work, so also RSS
Maybe I use a db imported from an 1.3.7 zencart store? and images are the same from the old store?
The strange if I put value <=3 into configuration->max value->special products, special page works fine!
OK, but what I'm trying to understand is exactly where the problem is, that I have seen this problem only on the special page and the specials rss.
All my mod was not change the special core pages
I get that.. but you are trying to work out an issue that is NOT related to Image Handler in the Image Handler SUPPORT thread.. you REALLY need to start a NEW THREAD to work out your specials issue since it's NOT an Image Handler SUPPORT issue that you are having..
SOLVED! I've truncate table specials, and now all works fine. I've re-add special products, and no issue appear. Maybe in the db table special create issue.
i think i had this problem a few years back but don't know how i fixed it. when i upload .png files, they load fine and are shown in the image handler but NOT shown on the website. under 'file type', it says .png but it is in red and the .jpg files are in black.. when i convert the png files to jpg, they show up fine on the website. i'm sure i'm missing something simple here.
how long to the image files stay in cache?? a review of my site told us that we should specify an expiration of the files in the bmz_cache directory. i see where i can manually clear the cache in admin but it there a place to specify how long i want to keep them?
thanks you... do you mean different file types per product?? or for all products?? i just looked at the readme.html file and could not find any mention of using different file types.. i read it through twice.. there were 2 links to forum threads that i did not read - is it in them?
Hi All
Installed IHv4 and only have 1 problem . On the product screen when I hover over the thumbnail I get image appearing. But when I click on the the thumbnail a popup window appears but the window is minimized to a really small size. once i manually size up the popup window i can see the image.
How can i set the pop up screen size ? I included a picture to show the problem.
Thanks Paul
Attachment 13621
Screenprints don't help.. as stated on page one of the support thread a LINK to your site and to a specific product where the issue can be seen is much more helpful. That said I would venture that you issue is an installation failure of some sort, and suggest you check your install..
Testing new version now. For anyone interested in testing, the BETA version available on Github: https://github.com/DivaVocals/zen_Image-Handler
BETA version is for testing only and should NOT be used on a production site.
Quote:
CHANGELOG
v4.3.3 - 11/3/2014
- Add support for the Mobile Detect script. Turns off the image hover function on touchscreen devices.
Will make this comment here, hopefully with direction to follow as to where additional comment should be provided associated with this revision.
While not many devices offer the capability, there are some that are touchscreen but also have a mouse-like device and therefore would actually be unnecessarily losing out on functionality. One that comes to mind is a blackberry 9900+ series model. Not sure where those type devices fit in the design scheme, but certainly hope that such functionality/capability continue to be considered.
the code detects mobile devices and if it is a mobile device it disables the the image hover function... simple.. is it possible that some touchscreen devices which are not mobile devices will be detected as being a mobile device will be caught in this? yep.. however they seem to be the minority of devices affected.. you are welcome to suggest/submit an alternate method..
What could be the problem so I almost always in my log:
08-Jan-2014 08:00:35 Europe/Rome] PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier 'd' in /home/centoasa/public_html/includes/modules/gloss_blue/main_product_image.php on line 32
Thank you
Hello!
I am new to Zen Cart, in the process of getting off Front Page. Installed Zen Cart v1.5.1 and have made a few changes to the css file and My Template. You can see the site in its current state at http://www.heirloomstocherish.com/catalog/. As you can see I still have a ways to go to customize some of the php files - the site is still not yet ready for prime time, but it will be soon. Also, just recently installed Image Handler 4 - installation was a breeze, thanks to the excellent documentation and what is (as far as I can tell anyway) really good code! I made all the changes and checked file permissions suggested, and while I still need to play around a bit with my image sizes, everything has been going swimmingly...except (1)my images are mostly taller than wide (check out any category, except Clip-On Birds), but Clip-On Birds images are generally wider than tall, so the small image setting makes them really small on the product listing page. How can I fix this, ie., make them larger without making all the other images way too big? (2)After I installed IH4, the product listing page for Annual Ornaments went blank, but all other pages dispayed OK. When I changed Configuration/Images/IH resize images back to NO, the page came back. Change it to YES, the page won't display. How come is that? I created Annual Ornaments2 to overcome the problem, but don't understand why the original won't work. I have also noticed that the higher numbered pages in Angels & Ladies won't display. Is this related to my cache files somehow (both images and bmz_cache folders are set to 755, although folders (0,1,2,etc) within bmz_cache are set to 644)?
Can anyone help me, please?
Hi Phil,
I am currently building a completely new website on ZenCart v 1.5.1 with an Image Handler 4.3.1 plugin. My current site www.victoriahouseneedlecraft.com.au is on alternative software which we have outgrown. I need images for everything, and the visual requirements are diverse. I have large tapestries over a metre wide and stitching threads that need graphics.
Graphics look best as a square, so they need to be mounted onto a square background, I saw somewhere on the forums to use the 500, 250, 125 scale with 480, 240 and 120 the maximum dimension either way. This will stop writing bleeding into your images. Obviously for threads I do not have large or medium sized images. With yarn images I only used medium and small images and then use all 3 sizes for larger objects. I have only used instructions on the forums but the rule of thumb is to take the best possible image available and then shrink to fit for the smaller sizes. You lose too much detail going from small to large. So with the bigger stuff I start with the largest images and get them right with a maximum dimension of 480pix and superimpose it over a 500pix square so there is white background around the image as a frame and where the object is not a square a larger expanse of blank area. I also batch process with a photoshop editor to reduce the sizes to med and small images. I use Adobe photoshop but there are others out there.
hope that helps on what to do with different objects. The other queries will need to get help from people with more ZenCart savvy than me.
Dionne
in IE image handler works fine; instead on firefox or chrome, don't work. Simply a character as ^ or # in the mytemplate/common/html_header, then works well also in firefox or chrome. Where is the issue?
i have this module great ! after install and see the watermark . i want now change the watermark file.
i replaced the file but in the front nothing changed .
moshehl .com/index.php?main_page=product_info&cPath=7_20&products_id=499
the change moshehl .com/images/watermark.png
how can change the watermark ?
thanks
solved !
site is http://dezertdezinez.com/workspace 1.5.1 is the version of Zen- Cart
The problem I am having is the hover from the small pictures on the front and on all pages does not work .. I recently changed the template and it stopped working . I have checked all the settings per the install instructions and they are right .. I also went through a test site and changed the template and it's not working their either ..
I don't know what else to check yet to ask for help ..
any ideas would be wonderful to help with this issue .
Thank you
Debbie
If you changed templates, then you will need to carry over applicable override files. (Reinstall, copy, follow the documentation, etc.) A number of ways to get there, depending on your experience and capability. I would routinely just identify which files existed in the old template that should exist in the new template (ie I installed them) and copy them over to the new template. Also see the overide directory postings in the forum/FAQ. The above are suggestions, incorrectly applying them could cause harm to your site, Backup, backup, backup and test before using on your live site.
Oh yeah, the other thing could be that the template is not properly calling images; however, it does appear that the bmz_cache is being used, so to some extent iH is being used/called.
As for images on the products, only additional images would be enlarged (compared to a base ZC install) as the image displayed for a product is a medium image and as explained in the documentation, medium images are not resized. (History as to why is in this thread and elsewhere.)
thank you I got most of it working now my question is on the front page at the bottom in the middle are the featured and new tabs .. and have thumbs ( 150x150) I would like them to zoom as well is this possible .. I know it works as the ones in the size bar zoom now.
My next question which is kind of on the same topic .. is that the image on the product page as click to enlarge under it yet when you click it . It opens and makes the window and the size 150x150 yet if you drag the window up to the set size in the settings the large picture is there .. How do I set the window size to fit the large picture ( 640 ) as the large size .
hi. was trying install on my dev site for testing but the install fails. my guess is because the mapping of files is going to my root site instead of my dev folder. how/where/what do i need to change so the files will map to my /dev folder instead of the root? if that is indeed the issue.... thx.
The error message is quite clear.. the installer did not detect the required files..
If you have a properly configured Zen Cart store, and follow the install instructions, IH4 will work.. If your store is configured in some different manner, you need to resolve that issue.. this support thread is not the place to resolve that issue as it is pretty much not related to IH4.. Start a new thread to get help with your store configuration..