Re: Image Handler 2 Support
Glenn,
The reason I added to this thread and opened another thread on defaulting stylesheets is that I had the same presumption as you until I tested this in 1.3.9e with classic.
Like you, I PRESUMED that the css would be picked up in the same manner as define_main_page.php or tpl_login_default.php.
However, unlike folders such as buttons, common, templates, etc., the css directory is NOT defaulted to any other directory than the current selected by the admin.
And a "cold load" of the add-on will load the "default-abled" filetypes to the template_default as you pointed out. So (again)... Brand spanking new 1.3.9c -- load IH2 -- run shop -- IH2 works incorrectly. It finds every file BUT the stylesheet.
After looking at the readme and doing some research, I offered the inclusion of the stylesheet to the classic template as a possible preventive measure to stop a few "it don't work" comments.
Re: Image Handler 2 Support
I can't get this to work.
First the medium watermark didn't show up. Then it did. So did the zoom. Now the watermark is gone again, although it's still there on medium images, but the zoom is gone from everywhere but the review images? And the large watermark never worked at all?
What's up with all this?
Re: Image Handler 2 Support
Quote:
Originally Posted by
tpeck
Why not be helpful without the attitude, like clydejones?
I have a reputation of arrogance and rudeness to maintain.
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Additionally I am of the opinion that "fixing" the IH2 code to allow for these symbols to be used in files names is an inherently BAD idea. Perhaps some of the developers who post here could weigh in on this thought.
Diva Darling,
Goodness gracious!
Allowing for special characters that are used in our cherished Unix systems to be used in file names?
That would mean an aberrant mix between plebeian files and our noble kernel files, horrid spawns would ensue, often called "errors".
Arrogantly and pompously yours,
ckosloff
Re: Image Handler 2 Support
And it does, it means re-name those folders to match your template's folder name. I understand the intent, but it is spelled out in the readme.
I would like to make this BULLETPROOF for everyone, but that is what we have done by including a comprehensive readme, and that is what these support threads are for. We are trying to make this module broad based like any other modules have done in how they handle template specific folders. (IH2 is not the only module to not have a specific "classic" template folder)
Quote:
Originally Posted by
dbltoe
We all see everyday evidence that people have the impression that your_template, custom, or custom_template means something OTHER THAN classic.
You might want to have a look at the download fileset you got from my site.. (suggest downloading again) There should not be a default_template or classic template specific set of folders (the default_template folders in particular never should have been a part of IH2)
From the readme file:
Quote:
- (Rev 8b) Corrected the following files based on current version of Zen Cart:
- admin/includes/modules/category_product_listing.php
- includes/modules/additional_images.php
- (Rev 8b) Moved the following files to the correct Zen Cart override folders:
- includes/modules/main_product_image.php
- includes/modules/additional_images.php
- (Rev 8b) The following files were deleted from the install package (they are now obsolete)
- images/zoom.png
- images/medium/zoom_MED.png
- images/large/zoom_LRG.png
- includes/template/default_template
- includes/template/classic (if you are using the Classic template simply rename the YOUR_TEMPLATE folder as per the install instructions below)
My answer remains the same. For anyone using the classic template they need to rename the YOUR_TEMPLATE folder to match their template folder name. This is not done any differently than a number of modules which use the exact same folder structure and do not include a module specific template folder for those using the classic template.
Quote:
Originally Posted by
dbltoe
Glenn,
The reason I added to this thread and opened another thread on defaulting stylesheets is that I had the same presumption as you until I tested this in 1.3.9e with classic.
Like you, I PRESUMED that the css would be picked up in the same manner as define_main_page.php or tpl_login_default.php.
However, unlike folders such as buttons, common, templates, etc., the css directory is NOT defaulted to any other directory than the current selected by the admin.
And a "cold load" of the add-on will load the "default-abled" filetypes to the template_default as you pointed out. So (again)... Brand spanking new 1.3.9c -- load IH2 -- run shop -- IH2 works incorrectly. It finds every file BUT the stylesheet.
After looking at the readme and doing some research, I offered the inclusion of the stylesheet to the classic template as a possible preventive measure to stop a few "it don't work" comments.
Re: Image Handler 2 Support
Your 8c has both custom_template and template_default as part of the package under templates.:dontgetit
I'm just gonna take my head and find a different wall.:P
:frusty:
Re: Image Handler 2 Support
Quote:
Originally Posted by
Unicorn
I can't get this to work.
First the medium watermark didn't show up. Then it did. So did the zoom. Now the watermark is gone again, although it's still there on medium images, but the zoom is gone from everywhere but the review images? And the large watermark never worked at all?
What's up with all this?
a link would be most beneficial to getting you better assistance
did you make certain to select in the settings to allow both the zoom and watermark in configuration
Re: Image Handler 2 Support
We did head off issues at the pass by covering things in the readme file.. The readme already has the following in it.. I think it's a little unnecessary to add it AGAIN to the "Other Troubleshooting Tips"
Quote:
New Installation
- Unzip the package to your local hard drive.
- In the Store_Root folder, rename the admin folder to whatever you renamed your admin folder, if you still did not do that, just leave it like so. Rename the includes/templates/YOUR_TEMPLATE folder to your template name.
Quote:
Upgrade from Previous Versions of "Image Handler2 for v1.3.x"
(Rev 8b and prior versions)
- BEFORE you install the Rev 8c files, you MUST uninstall the currently running version of Image Handler2 1.3.x. In Admin > Tools >Image Handler2 click on the "Admin" link, and click on "Remove Image Handler from database".
- Delete the following from your current install:
- images/zoom.png
- images/medium/zoom_MED.png
- images/large/zoom_LRG.png
- includes/template/classic
(Please note: You only need to delete this folder if you are NOT using the Classic template. If you are using the Classic template you do not need to do this. Let me stress again DO NOT DELETE YOUR TEMPLATE FOLDER if you are using the Classic template!!!)
- Replace the following files with the Zen Cart defaults:
- includes/modules/main_product_image.php
- includes/modules/additional_images.php
- Unzip the package to your local hard drive.
- In the Store_Root folder, rename the admin folder to whatever you renamed your admin folder, if you still did not do that, just leave it like so. Rename the includes/templates/YOUR_TEMPLATE folder to your template name.
Quote:
Originally Posted by
dbltoe
@Clyde,
Yes, that's why I am suggesting adding the stylesheet to the classic/css in the mod download.
Possibly adding "Make sure style_imagehover.css is in your current template's css folder." to the "Other Troubleshooting Tips" will help as I did not find it when I first noticed the "problem."
I realize you can't make something "idiot proof", but you can try to anticipate some of their mistakes and head them off at the pass.
Re: Image Handler 2 Support
Quote:
Originally Posted by
dbltoe
Your 8c has both custom_template and template_default as part of the package under templates.:dontgetit
I'm just gonna take my head and find a different wall.:P
:frusty:
Not anymore.. that's what I have been trying to say.. Please re-download Rev8c again.. there are no template_default files in the package anymore... (it's likely they should have NEVER been included in any of the previous versions either..)
Re: Image Handler 2 Support
Quote:
Originally Posted by
dbltoe
Your 8c has both custom_template and template_default as part of the package under templates.:dontgetit
I'm just gonna take my head and find a different wall.:P
:frusty:
I can confirm this, since I just checked my download version of 8c.