Re: Image Handler 2 Support
Quote:
Originally Posted by
nagelkruid
Hello,
I just installed IH but at first it didn't show the pictures on my server. I then used the clear cache (which wasn't really created yet, but it worked :smile:)
Not clear here what you mean.. Are the images not showing in your store or are you saying it's not caching JPG images..
Quote:
Originally Posted by
nagelkruid
Found out that the clear cache also deletes the .keep and the .htaccess files in that folder.
I've confirmed this is indeed what happens.. Not sure what the solution is, but this is indeed the behavior..
Quote:
Originally Posted by
nagelkruid
if someone is bored i would really love
- option to make small/medium square so the product listings layout won't be affected by either the landscape or portrait layout of the picture. (ie 100x100, 200x200 resizes)
While it might be a great feature, Image Handler still doesn't provide this functionality. Perhaps someone will decide they are bored and add this feature..
In the menatime, the easiest way to get square images like you want is to edit your large product images and category images with equivalent dimensions before uploading them and IH2 will take care of sizing the small and medium images accordingly. There are a number of programs that will edit aspect ratios for a batch of images. Picassa being one such program..
Quote:
Originally Posted by
nagelkruid
- additional image with different format not recognised.
this is minor, i know: if base image is image.jpg and you add say image_1.jpg via ftp, then adding another image via gui will be image_01.jpg. They will still both show as additional images, not sure if it may create a problem.
FYI.. Zen Cart without IH2 doesn't support product images and additional images with mixed filetypes types. (main image JPG, additional images GIF)
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
nagelkruid
Found out that the clear cache also deletes the .keep and the .htaccess files in that folder. When i reuploaded the .htaccess file... beng, pictures not available anymore.
Am i the only one running into this?
I use mainly .jpg files on my server.
Thanks,
Jeroen
I have the version before all the revamping of it and do not have either the .htaccess nor the .keep
never had them at all and it works beautifully.
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
DarkAngel
I have the version before all the revamping of it and do not have either the .htaccess nor the .keep
never had them at all and it works beautifully.
The .htaccess file is important as it includes important security directives which provide important protections to the bmz_cache folder.. (which is why the same .htaccess file has been included in many of the folders for the new version of Zen Cart)It was an important part of the last release, and I do not recommend to ANYONE foregoing this file..
Admittedly I've never been entirely sure of the purpose of the .keep file.. My guess is this is another piece of leftover legacy stuff from the original IH2 release and it's importance is negligible.. (I would need to test to be VERY sure of this..)
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
Not clear here what you mean.. Are the images not showing in your store or are you saying it's not caching JPG images..
The images are cached, but it appears the .htaccess is preventing them from being shown in the store. (i just see empty places where the pictures should be) Once i remove the .htaccess, the pictures do show up again.
Quote:
Originally Posted by
DivaVocals
In the menatime, the easiest way to get square images like you want is to edit your large product images and category images with equivalent dimensions before uploading them and IH2 will take care of sizing the small and medium images accordingly. There are a number of programs that will edit aspect ratios for a batch of images. Picassa being one such program..
Thanks, but after 4 years of handcrafting aprox. 2500 images (times 3 for small/med/large) i am very determined to never touch a picture editor again if we have software that can do it for us ;) Thats why i would also love to have a minimum function for the large pictures, so when they are not meeting these requirements the image gets scaled up to the min requirement.
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
DarkAngel
I have the version before all the revamping of it and do not have either the .htaccess nor the .keep
never had them at all and it works beautifully.
Thanks, works better without the files than with them. yes :cool:
Anyone still actively coding this module?
I have a working concept of "squaring" the images in my test.
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
nagelkruid
The images are cached, but it appears the .htaccess is preventing them from being shown in the store. (i just see empty places where the pictures should be) Once i remove the .htaccess, the pictures do show up again.
Then it sounds like it's a matter of modifying the directive in the .htaccess..
Quote:
Originally Posted by
nagelkruid
Thanks, works better without the files than with them. yes :cool:
Just wanted to post this for folks who follow this thread.. Deleting the .htaccess file in the bmz_cache folder is not a recommended course of action.. The commands in the htaccess file are to ensure that other files cannot be written to your bmz_cache folder.. With regards to jpg files, the .htaccess file includes filters for jpeg, jpeg, JPG, or JPEG files..
That said it's possible that your host's Apache implementation is not correctly reading the regular expression correctly. Why not try modifying the directive to EXPLICITLY filter for jpg or JPG instead of deleting the .htaccess file??
This is the line you should modify:
Code:
<FilesMatch ".*\.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
Try changing it to this:
Code:
<FilesMatch ".*\.(jpg|JPG|gif|GIF|png|PNG|swf|SWF)$" >
Quote:
Originally Posted by
nagelkruid
Thanks, but after 4 years of handcrafting aprox. 2500 images (times 3 for small/med/large) i am very determined to never touch a picture editor again if we have software that can do it for us ;) Thats why i would also love to have a minimum function for the large pictures, so when they are not meeting these requirements the image gets scaled up to the min requirement.
Only made the suggestion since what you are asking for is not in the immediate plans for those of us working on IH2
Quote:
Originally Posted by
nagelkruid
Anyone still actively coding this module?
I have a working concept of "squaring" the images in my test.
There are three of us who have been "tending to" and caring for this module (as demonstrated by the last few releases).. Would love to see your conceptual version..
Re: Image Handler 2 bmz-cache security error or not?
Quote:
Originally Posted by
DivaVocals
Only made the suggestion since what you are asking for is not in the immediate plans for those of us working on IH2
There are three of us who have been "tending to" and caring for this module (as demonstrated by the last few releases).. Would love to see your conceptual version..
ill drop it in pm, mind you it is programmed very conceptual and the comments are in dutch :smartalec:
Re: Image Handler 2 Support
I'm back...
Diva are you there?
Okay, I've downloaded WinMerge....question is, how do I know which files to merge? Follow Fual Slimbox php code or IH2 code? I'm not very familiar with a lot of php especially the "if" and all those php rules...
Also, in review, the two should be able to work together seamlessly. In both read me files for Fual Slimbox and IH2 they don't mention the need of merging files so I don't know where to start.
I also tried to do an update to IH2 as it's been updated recently. Broke my cart. I'm currently doing a backup. :frusty:
I was fine with IH2, the only reason that I added Fual Slimbox was because I prefered the overlay type of popup vs. the windows popup that IH2 offers. So sad!
Re: Image Handler 2 Support
Re: Image Handler 2 Support
Quote:
Originally Posted by
joyjoy
Okay, I've downloaded WinMerge....question is, how do I know which files to merge? Follow Fual Slimbox php code or IH2 code? I'm not very familiar with a lot of php especially the "if" and all those php rules...
What you need to do is look at the files for BOTH modules.. look for the files they both have in common and using your file comparison tool, you'll need to merge the code from BOTH Fual Slimbox and IH2 into one merged file.. You need BOTH the Fual Slimbox code and the IH2 code in order for BOTH modules to work together.. I hope that's a little clearer..
ETA: I took a QUICK look at IH2 and Fual Slimbox.. There is one file in common between these two modules:
includes/modules/YOUR_TEMPLATE/additional_images.php
Use your file comparison tool and merge the Fual Slimbox code into the includes/modules/YOUR_TEMPLATE/additional_images.php from your IH2 files and BOTH should work together..
Quote:
Originally Posted by
joyjoy
Also, in review, the two should be able to work together seamlessly. In both read me files for Fual Slimbox and IH2 they don't mention the need of merging files so I don't know where to start.
They DO work together, but that requires that the files shared in common by both modules have to be merged so that the code for BOTH IH2 and Fual Slimbox are in ONE file.
Quote:
Originally Posted by
joyjoy
I also tried to do an update to IH2 as it's been updated recently. Broke my cart. I'm currently doing a backup. :frusty:
Not sure how this happened.. Installing IH2 should work without breaking anything.. That said IF you have installed other modules which modify files also used by IH2 and you do not file merge them that could create issues.. This is why I ALWAYS make a backup of my store (files as well as the DB) BEFORE I install any modules so that if I am installing a module and anything goes wrong I can EASILY roll back to the last working state..
Quote:
Originally Posted by
joyjoy
I was fine with IH2, the only reason that I added Fual Slimbox was because I prefered the overlay type of popup vs. the windows popup that IH2 offers. So sad!
There are many shopowners who use both IH2 with either Fual Slimbox or Zen Lightbox together.. But you MUST take the time to merge the common files so that they will work together..
I hope this helps..:smile: