Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,513
- Plugin Contributions:
- 177
Image Handler 4 (for v1.5.x) Support Thread
Hopefully you're working towards converting your images to use lowercase names, since that's the contemporary approach these days.
Views: 343,284
Sensei
Hopefully you're working towards converting your images to use lowercase names, since that's the contemporary approach these days.
Totally Zenned
DrByte:
Hopefully you're working towards converting your images to use lowercase names, since that's the contemporary approach these days.
nods in agreement:yes: and there's a ton of free programs out there that can handle bulk image renaming in short order..
Totally Zenned
Yeah, as a result I went into my products database to see how many had the all uppercase extension. (From whence this came I don't know.) Don't have too many and was considering using a RegEx expression with a SQL query to replace it, but almost seems like it would take me longer to "remember" how to construct the two attributes than it would be for me to manually modify them. Fortunately our store isn't large; however, I do need to figure out how to not have this happen again after I have fixed them and then restore the .htaccess file to only address lower case extensions.
Totally Zenned
mc12345678:
Yeah, as a result I went into my products database to see how many had the all uppercase extension. (From whence this came I don't know.) Don't have too many and was considering using a RegEx expression with a SQL query to replace it, but almost seems like it would take me longer to "remember" how to construct the two attributes than it would be for me to manually modify them. Fortunately our store isn't large; however, I do need to figure out how to not have this happen again after I have fixed them and then restore the .htaccess file to only address lower case extensions.
Yup, definitely faster to manually modify in this case. Wondering if the capitalization comes from when I uploaded a photo from my cell phone. :/
I know that I had tried renaming the files to .jpeg, but of course that was one of the options in my htaccess file either, so all around in that case was not going to work then. Didn't try lowercase jpg when I was uploading and revising yesterday. Gotta keep all things working together and oh yeah, adopt and stay with standard rules. :)
Totally Zenned
Going back and looking at my configuration->images settings, had (purposefully at the time) settings for small, medium, and large extensions set as no change.
Do I understand the help file correctly that if I had set those to any of the three values that upon upload of a file with the incorrectly all capitalized extension all will be "okay"? Or am I too wishful?
Totally Zenned
mc12345678:
Going back and looking at my configuration->images settings, had (purposefully at the time) settings for small, medium, and large extensions set as no change.
Do I understand the help file correctly that if I had set those to any of the three values that upon upload of a file with the incorrectly all capitalized extension all will be "okay"? Or am I too wishful?
No.. please re-review the readme for a detailed explanation of what those settings are really meant to do.. In short they have everything to do with setting the filetype of uploaded images..
Zen Follower
I have a question. I LOVE IH. I use it with about 900 products. It's a HUGE time-saver.
I have it installed on a custom template, and I would like to switch templates. IH is of course installed under the template I'm currently using. If I were to switch templates, I would need to re-install IH on the new template, correct? Would it recognize the images already on my server (as they were created with IH)? Would thumbnails, etc. be lost?
Totally Zenned
meljen:
I have a question. I LOVE IH. I use it with about 900 products. It's a HUGE time-saver.
I have it installed on a custom template, and I would like to switch templates. IH is of course installed under the template I'm currently using. If I were to switch templates, I would need to re-install IH on the new template, correct?
In effect, yes it would need to be incorporated into your new template (See the readme).
meljen:
Would it recognize the images already on my server (as they were created with IH)? Absolutely should. (See the readme)
meljen:
Would thumbnails, etc. be lost? Anything that is/was generated by IH will not be lost, now if your "custom template" does something special outside of what IH handles/provides then that is outside the scope of this thread. But again, see the readme.
I would advise that you test your new template on a "offline" store before making the change. Don't want to lose business because of something that might be wrong in your new template. I will say it is somewhat exciting to make a switch like that and see that it works, while being concerned that it might not. A sort of stage fright.
Totally Zenned
We have been informed of a minor XSS flaw that exists within the IH4 code for v1.5.x
Mitigation for the flaw has been posted to the IH4 code in the plugins. Please go to the plugins page to download and update your store..
thanks to PaulM for notifying us about the flaw.
New Zenner
Mozilla doesn't like the unbalanced tree being generated via: document.write(); in imagehover.js. This:
document.write('<div id="trailimageid">');
document.write('</div>');
Should be this:
document.write('<div id="trailimageid"></div>');
Is there a reason for breaking it out into two statements?
Sensei
mrbojangles:
Mozilla doesn't like the unbalanced tree being generated via: document.write(); in imagehover.js.
Can you explain how you came to that conclusion? What were the symptoms that caused you to investigate? What were the findings that brought you to the conclusion you posted?
New Zenner
DrByte:
Can you explain how you came to that conclusion? What were the symptoms that caused you to investigate? What were the findings that brought you to the conclusion you posted?
Mozilla gave warning in console. I did not notice behavior which would indicate a problem, but Mozilla does not recommend it as it can potentially cause unwanted behavior.
Sensei
mrbojangles:
Mozilla doesn't like the unbalanced tree being generated via: document.write(); in imagehover.js. This:
document.write('<div id="trailimageid">');
document.write('</div>');Should be this:
document.write('<div id="trailimageid"></div>');
Is there a reason for breaking it out into two statements?
mrbojangles:
Mozilla gave warning in console. I did not notice behavior which would indicate a problem, but Mozilla does not recommend it as it can potentially cause unwanted behavior.
Thanks for clarifying.
They might have been split up just as a matter of inheritance from previous versions of the plugin.
No reason not to close them up, besides it'll run faster as one statement anyway.
Zen Follower
How do I tell what version of the Image Handler I have installed on my Zen Cart site? My site is at horse-logos.com
Also does the Image Handler have any effect on SEO and customer sales compared to using zen cart without Image Handler?
Totally Zenned
jonisolis:
How do I tell what version of the Image Handler I have installed on my Zen Cart site? My site is at horse-logos.comLook in admin panel (Tools > Image Handler)
New Zenner
Hi, I have a question about IH4.
Will google and other search engines be able to find out my uploaded images without water mark? Or they can find out the images with water mark created by IH4?
Thanks for your reply!
New Zenner
Hi, I have another question. How to upgrade from IH4 version 4.2 to 4.3.1? You did not mention this in your readme file . Should I uninstall 4.2 first and then install 4.3.1?
Totally Zenned
asdfwen:
Hi, I have a question about IH4.
Will google and other search engines be able to find out my uploaded images without water mark? Or they can find out the images with water mark created by IH4?
Thanks for your reply!
The watermark does not affect Google finding your images..
New Zenner
ok. However, you did not answer my second question:
How to upgrade IH4 version4.2 to IH4 version4.3.1? Should I unintall 4.2 first?
Totally Zenned
asdfwen:
ok. However, you did not answer my second question:
How to upgrade IH4 version4.2 to IH4 version4.3.1? Should I unintall 4.2 first?
Follow the regular install instructions.. there's no specific "upgrade" instructions..
Fields marked required must be completed.
Tell staff why this post should be reviewed.