Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
21yanks
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
Re: Image Handler 4 Support Thread
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?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
jimrlynn
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?
Not without modifications to the IH4 core codebase.. and honestly I don't know what this will entail, only that it's not a simple change..
Re: Image Handler 4 Support Thread
Unless someone else can think of a better work-around, I think my best bet would be to do a check for a local image, and if it doesn't exist, do an scp to get a local image, then turn pass through to imagehandler.
Thanks for the response,
Jim
Quote:
Originally Posted by
DivaVocals
Not without modifications to the IH4 core codebase.. and honestly I don't know what this will entail, only that it's not a simple change..
Re: Image Handler 4 Support Thread
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.
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
21yanks
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
Re: Image Handler 4 Support Thread
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
PHP Code:
while ($file = $dir->read()) {
Change to:
PHP Code:
while (false !== ($file = $dir->read())) {
Save and upload.
The Clear Image Cache command will now work correctly.
1 Attachment(s)
Main product medium image does not display, but additional images do in product view
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:
Code:
src="images/medium/dir_name/458_MED.jpg"
Additional Images url:
Code:
src="images/dir_name/458_01.jpg"
In image handler admin:
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:
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/');
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?
Many thanks,
Goshawk
Re: Main product medium image does not display, but additional images do in product v
Upload the largest image and IH4 will do the rest.. as has been stated many times DO NOT upload images to the medium and large folders DO NOT use the _med or _lrg in the image file name.
Quote:
Originally Posted by
Goshawk
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:
Code:
src="images/medium/dir_name/458_MED.jpg"
Additional Images url:
Code:
src="images/dir_name/458_01.jpg"
In image handler admin:
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:
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/');
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?
Many thanks,
Goshawk
Re: Main product medium image does not display, but additional images do in product v
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
Code:
Line #22 : $products_image_medium = DIR_WS_IMAGES . 'medium/' . $products_image_base . IMAGE_SUFFIX_MEDIUM . $products_image_extension;
So anyone with a similar problem, this may help you solve this problem.
Pfew!
Goshawk