Well I'm using 1.3.9d with the latest IH2 right now; all working fine for me :blink:
Printable View
Well I'm using 1.3.9d with the latest IH2 right now; all working fine for me :blink:
How can I get these bits of IH out of my ZenCart?
I have a cart that had been messed about a bit, and now has been upgraded.
Image Handler was not installed on the new upgrade, but there are entries in the Admin > Configuration > Images menu, which look like Image Handler entries. I guess they are from the database. I would like to get these out of my cart to clean it up.
http://i85.photobucket.com/albums/k5...ge-handler.jpg
I had a look at a copy of IH and there is no uninstall sql, so how can I get rid of these entries pleaese?
Is there an uninstall .sql patch?
Is it simple enough to do it manually from php MyAdmin? If so - how?
Thanks
Paul
Hmm.
Have installed this module on a 1.3.8 as per instructions as far as I can tell and it works nicely in zooming the product images, but when I try to go to the manager page in the admin section I just get a blank page. Anyone have any idea where to start troubleshooting this please?
Thanks, Jim
That is to say when I go to admin > image handler 2, I get a blank page. On the front end it is working nicely with the zoom function. :frusty:
When I first installed it, the image handler 2 link in tools worked apart from the 'manager' tab. Now the page doesn't show at all. Sorry for the multiple post, I kept missing the 7 minute expiry on editing :/
FUGGEDABOUTIT!
I reupped all the admin files a second time and it seems it works again. one of the files must have got corrupted on the server somehow. quick bit of corruption that.
Ok anyone who downloaded my Javascript fix, there is a bug in it that may effect you
when you mouse off an image a horizontal scrollbar may appear at the bottom of the page.
There is a dead easy fix for this
around line 86 there is this function
change the 2000 to -2000 that is minus 2000 or negative 2000Quote:
function hidetrail(){
trailstyle = gettrail().style;
trailstyle.visibility = "hidden";
document.onmousemove = "";
trailstyle.left = "2000px";
trailstyle.top = "2000px";
}
my apologies i don't know how I missed this, it's so patently obvious once i noticed the scroll bar.Quote:
function hidetrail(){
trailstyle = gettrail().style;
trailstyle.visibility = "hidden";
document.onmousemove = "";
trailstyle.left = "-2000px";
trailstyle.top = "-2000px";
}
On the bright side even with the bug the script was still an improvement
I am not sure if this is a bug on image handler 2. I found out when you set the images to not proportional or "0" in
admin->configuraton->images->Image - Use Proportional Images on Products and Categories
Image hover won't work and product info image won't display.
I know I am probably being a bit thick, but what setting do I tweak to make the zoom rollover image larger when rolling over a thumb?
Many thanks,
Jim
Many thanks for the help! :clap:
seems this addon changes core files, is there a version that is for zen cart 1.3.9d? Thanks.
pc users use winmerge
i use a mac mainly and i use text wrangler which is a freebie too
I compared image handler 2 files and my live zen cart files, seems that there are 6 files will need to be changed. Maybe not all of them are core files, some of them might be from other addon? I checked the files, they do have difference beside those comments at the beginning of the file! Here is the list of files:
\includes\modules\additional_images.php
\includes\modules\main_product_image.php
\includes\modules\pages\popup_image\header_php.php
\includes\modules\pages\popup_image_additional\header_php.php
\includes\templates\template_default\popup_image_additional\tpl_main_page.php
\admin\includes\modules\category_product_listing.php
seems to me it is hard to merge? any advice?
If you have other addond that use those files then you will need to make duplicates of the ones on your server...compare them with the ones from IH2...then just find the differences that pertain to IH2 and add them to your duplicates....
on the ones you already have on the server add a ~ to the end to deactivate it so the ending looks like .php~
that way should you need to revert you just delete the edited files and remove the ~ for activating the former ones
Hey, does anyone know how I can get IH to recognize .BMP files? MY client is uploading them and for some reason they're not getting converted. I have imagemagick installed, and it supports .bmp (GD lib does not).
Thanks!
So here's the deal.. I'm almost done with my testing of the Rev 8 files. Ckosloff has finished testing the Rev 8 files against PHP 5.3, and has indicated to me that Rev 8 is PHP 5.3 compatible. I have been testing against PHP 5.2.x and have no issues there either.
I have tested the new files with Nigel's updated Javascript in IE8, Chrome, Safari and Firefox, and all works wonderfully..:clap: Now that said there are a few significant changes for Rev 8 that I wanted to note before I finalize my testing and bundle this up and submit it.
- No more hotzones - The feature adds no real value to IH2, and it has been removed. The been settings for hotzones have also been removed from Admin > Configuration > Images. In case anyone is wondering, the hover feature works JUST FINE without hotzones.:smile:
- The IH zoom medium images settings has also been removed from Admin > Configuration > Images. This feature HAS NEVER worked because the code required for it to work was NEVER IMPLEMENTED in any IH2 release. I have long suspected that this is largely due to the likely conflicts between the various lightbox contributions and any hovering/zooming code. No matter why, the code is not there, and so the configuration settings code has been removed.
What this means for anyone upgrading to Rev 8 is that you MUST run the uninstall for the version you are currently running BEFORE applying the new Rev 8 files. Otherwise you will get errors!!
Let me say that again, if you are upgrading from ANY version PRIOR to Rev 8 you MUST uninstall the version you are currently running, then copy over the new IH2 files, and then run install to re-activate IH2 Rev 8.
Here's the link to my test site so you can see the newest version of IH2 in action:
http: // zen138 . overthehillweb . com/index.php?main_page=product_info&cPath=1&products_id=1
you testing site looks fine. Can't wait to see the new version! thanks!
Also let me be PERFECTLY clear.. I take NO CREDIT whatsoever for this new release.. I am only the author of the IH2 readme document..
The REAL credit belongs to ckosloff, and Mano for graciously (and merfifully taking the files I tried to "upgrade" and not only upgrading IH2, but cleaning up and streamliing the code.
Of course an undying thanks also goes to Nigel for toiling away at (finally) full cross browser compatibility for the IH2 javascript..
The real heavy lifting was done by these three gentlemen, and I have made sure that the readme CLEARLY reflects that.:clap:
The zoom medium images DID work with the additional optional extras folder before it was removed for the last update.
I liked the zoom medium images behaviour, whether it worked with lightbox is another thing, i did not have lightbox installed but on it's own it worked just fine and i tested it on all the main browsers.
It's a shame zoom medium images has not been worked on and enabled as the ability to hover over the medium sized image on the page without clicking was in my opinion a very useful feature.
So while you are half right about medium image zoom i can say there was an option and it was available at one point, yes i know you and Ckosloff didn't like it thus removed it but it was a working option at one point.
Is there a reason Medium image zoom does not work or cannot be made to work. ?
The joy of open source...
solution:
take the code, add your own bits to make that feature you like work again. Rename, for example "Mal2809's version of Image Handler2". zip it, submit it... but be prepared for
a) needing your own support thread
b) a million or so support request
c) DivaVocals repeatedly kicking off at you for your version
Anybody can take open source and concoct an ugly kludge.
A so-called updated version was causing a support nightmare so I (reluctantly) decided to update IH2, mostly for my own usage.
Guess what? It worked and solved many problems.
Some people like to have huge images popup on medium (main product) images and clutter the page, while at the same time breaking all gallery mods, matter of taste.
But, PLEASE, don't start a war of conflicting versions and add to confusion.
What Diva has said after thoroughly testing the new version makes perfect sense, stick to that and be trouble-free.
BTW, Diva, in the jscript_imagehover.js be sure to include Nigel's correction on lines 87 & 88, 2000 px should be a negative value -2000.
As I just explained, the code for medium images zoom was never included in Tim Kroeger's original contribution or any subsequent update.
The introduction of the "optional extras" which added this feature was poorly documented/supported, and did not explain that the use of this code would disable any lightbox or jquery contributions rendering them non workable.
The decision to remove the "optional extras" folders from Rev 7 wasn't just because ckosloff and I "didn't like" the feature. It was removed because, based on the posts in the support thread after it's introduction, the "optional extras" created more problems for store owners. The number of support posts related to problems caused by the optional extras made it clear that these folders should not be included in Rev 7. (the version in which the optional extras was removed from the download package)
To answer your question fully, I suspect that the reason Tim did not include this ability (zoom on medium images) in the codebase had everything to do with managing compatibility between zoom on medium images functionality with the MANY contributions which affect product image behavior. For example:
- Attribute image replaces main product image on selecting attribute
- Attribute Pop-up (Large Images)
- External Product Images
- Fual Slimbox (Lightbox)
- Zen Lightbox
In our analysis we realized that the best way to add zoom on medium images and still provide those store owners who like/want lightbox features (and other similar product image effects) would probably require incorporating these features directly to the IH2 codebase. To maintain full store owner control and flexibility, the codebase would have to include the following features:
- Admin configurable zoom on medium images
- Admin configurable lightbox effects
- The ability for zoom on medium images to work if lightbox features are activated.
The work required to add zoom on medium images AND lightbox effects required a lot more coding work than ckosloff and Mano were willing to invest on a volunteer basis.
So in the end this work is left to anyone else in the open source community who wants to tackle a re-write of IH to fully incorporate (and hopefully SUPPORT) the addition of these features. Sure anyone can add a hack to cobble in zoom on medium images, but IH is a well written contribution, and if the feature is going to be added, then it should be done in the smae careful manner IMO.. In the meantime I will include in the readme links to the thread which shows how to add zoom on medium image along with the appropriate cautions about incompatibility with lightbox and other similar contributions.
The intent of the Rev 7 version of IH2 was to cleanup IH2. The intent of the Rev 8 release was to further that code cleanup along with incorporating PHP 5.3 compatibility. I am grateful for the efforts of the three gentlemen who volunteered their efforts to that end!:smile:
IH2 at the heart of it's code is really meant to ease the management of product images (particularly the management of additional product images), and to help improve page performance by optimizing the product images. Fancy image functions such as zooming are really just extra features. Nice to have features for sure, but IMO they are not "the reason" to use IH2.
Yes... why not...
do you have a problem with someone taking your open source code and playing with it to suit their needs... so long as it is well documented on what it does, doesn’t do and what it breaks/doesn’t break etc, and that decision should be taken by the ppl who authorise mods for download.
If you do have that problem, why allow it to be open source?
id say 70% of the mods on this site are ugly broken mods...
I personally used to think IH2 was great, until my host upgraded to php5.3 and watermarks stopped working.. i got sick of waiting for an update so paid for image mod based on IH2. does everything IH2 does but slightly better, i can add multiple images directly from the product listing page without having to click around the admin to add multiple images.. Etc...
my point being, IH2’s beauty of code is subjective and you have no right to tell someone what they can and cannot do with open code… if he wants to creat a fork of IH2.. Let him.. What difference does it make to you, if my memory is right, I seem to remember you semi-jumping ship to join/start a ZC fork.
Each to their own... let him do what he wants without you chirping on
Just a quick note to Diva, CKoslof and all others working on the IH2 mod to say thanks for working on this and I appreciate the time you are taking to do this in your 'spare' time. I am redesigning my site for 139 and am patiently awaiting the final IH2 r8 package to finish it off. You guys are awesome!
Thanks Diva for clarification.
Regarding this new zoom nonsense:
You do not need IH2 just to zoom on images, this is a very simple Javascript effect accomplished with the onmouseover event handler.
In fact, I have seen this contrib called "stupid" because the brilliant poster could achieve the zoom effect without it.
Congratulations, but, as Diva pointed out, this is the least important thing about IH2.
Beginners almost always stumble on adding additional images to products, IH2 makes this point-and-click, can organize images in sub-cats, is compatible with mass upload utilities, and, you can have any gallery mod installed and uninstalled without altering IH2 core files.
IH2 is a codebase that allows for installation of different effects, the fact that it does not zoom on product images is because that is the programming hook for other contribs.
Finally, yes, you can zoom on product images all you want.
You can also dive head on in a sea of trouble if you would, for all I care.
I repeat my plea, please take your discredited defense of that zoom effect elsewhere, IH2 does not need your brilliant innovations.
Oh, yes, I did not semi-jump ship, I jumped away completely, the only reason I post here is because I still feel responsible for this mod.
It's called ethics.
hey,
i've got to solve following problem:
on the product page, i want to display the second image as the "main" image and beginning from the 3rd pic the additonal image.
as far as i know, for additional images it is easy because i just need to raise the $i so the for loop starts beginning from pic number 2 instead of number 1.
but what about the main image?
best regards,
peter
man i can't wait for the rev8
i'm trying to merge some of the files right now just curious what is this for i seen it a few times on teh 1.3.9d files i'm trying to merge with
Quote:
// check for a medium image else use small
if (!file_exists(DIR_WS_IMAGES . 'medium/' . $products_image_medium)) {
$products_image_medium = DIR_WS_IMAGES . $products_image;
} else {
$products_image_medium = DIR_WS_IMAGES . 'medium/' . $products_image_medium;
}
// check for a large image else use medium else use small
if (!file_exists(DIR_WS_IMAGES . 'large/' . $products_image_large)) {
$products_image_large = $products_image_medium;
} else {
$products_image_large = DIR_WS_IMAGES . 'large/' . $products_image_large;
}
so should it be transferd to the IH2 files or is there no need for it
Congrats Diva for submission.
Always so humble to take credit, you were the "alma mater" and coordinator of this effort.
I hope it gets published soon.
We outcasts had to update IH2 anyway, because it was not working on that other unspeakable fork either, when on PHP 5.3.x (hey, there is no free lunch).
I hope the dark forces of censorship don't prevail.
You are right that nobody wanted to tackle the inclusion of a gallery mod.
With so many of them around, some users might not even like the included one, and, even with the option to deactivate it, it might not be that easy to uninstall,, even with the option to deactivate it.
I know I floated the idea once, but decided to dump it, better keep IH2 as a codebase.
Rasmus Lerdorf always emphasizes the idea of simplicity.
Indeed, it is always better to KISS.
Carlos, it is I who should thank you for taking the reins on this development.. I made but a FEW minor changes to the code you and Mano authored.. It's not humility, it ethics.. I could never take credit for an app in which the ONLY part of it I authored is the readme.. So I am happy to give credit where credit is REALLY due.. Will shout it from the mountaintops.. Thanks again for your work!!:hug:Thanks also to Mano and Nigel for their work.. Without all of you kind souls IH2 Rev 8 would not have come to be..
it seems to be working fine but as soon as yours is approved i will update the ih2 to rev8 as i'm sure i made a million mistakes in the merging attempt as i have no clue what any line of info really does it's all trial and error until something works :( thank you very much
I only asked if it could be included as i did like the option of using it.
Its not a huge issue for me if its not there and i'm just glad someone has updated this to work with the latest Zen Cart and PHP 5.3 as my server will be upgrading from 5.2.9 soon.
So please do not think this is some sort of attack on your work, its not and i appreciate your efforts, it was simply a query i had as to why medium images could not be enabled, i simply wanted to know the complexities involved in such work. and thats why i posted as i did have medium images working last year before a recent upgrade.
I can live without it as i am now using Fual Slimbox with Image Handler, purely a question i had and thats all as if it could have been made to work i may have ditched Slimbox to use that function. ( although it never worked in the Opera browser )
Incidentally research i did suggests 1024x768 is the most common display resolution used today but more and more people are using higher resolutions, i myself have a 1920x1080 display.
I designed my site to take into account the most common resolution and thus i have my images set at the resolution below.
I think 350px for height for medium images and 650px for large size images is about right when you take into account around 75% of people still use 1024x768 resolution.
I don't consider that to be too large an image size, indeed i consider those sizes appropriate, now 300px is too small for what should be a large image although thats just my opinion.
I mention all this because zoom on medium will not overspill at the sizes i have chosen and displays great on most peoples browsers, sure the old 800x600 displays will have issues but its a personal preference as the smaller the image the more of a compromise you make, i believe i have reached a good compromise while some sites have far too small an image such as 300px for large images.
It's all good though and i know you are not wanting to implement medium zoom so i'll use what is available.
Thank you for updating the plugin.
Let me be clear on this.. It's not a matter of "not wanting to". It is as I explained a LOT MORE COMPLEX to add this feature AND maintain compatibility with other modules which affect product image displays. There are two ways this could be resolved:
- Build these features into Image Handler
- Build a separate module which works with Image Handler specifically which provides this functionality
As building free Zen Cart modules is a volunteer effort, our volunteers on this module were unable to volunteer this additional effort based on the amount of work required.
That said IMO, the REAL reason to use Image Handler is not the fancy image effect features.. IMO the most compelling reason to use Image Handler is twofold:
- It eases the work required to create additional product images..
- Performance. The optimization of image performance and the use of image caching to help with performance is a HUGE reason to use Image Handler.
For my clients they do not have to understand how Zen Cart recognizes additional images or naming rules etc.. They simply upload additional images and Image Handler handles the proper naming Zen Cart needs to link those images to the same product.
My three cents..:smile:
i have submitted 3
1st one was refused after a week
2nd was accepted after a few days
3rd was accepted almost two weeks after submission, (i actually forgot i submitted it, it took that long).
i guess it goes on how busy they are / important the mod is / size of the mod
SWGUY would know better, he's a mod and has loads of mods
I run a digital scrap store, and while inserting additional images, I did not notice that one was 12in by 12in until after I added it, and common sense tells me that this is WAY too big. Now I am unable to delete the image through the admin area, and I am also not seeing any options to add more images. When I view the product in the store, none of the additional images are showing either.
I tried replacing the large image files with a much smaller one via FTP, in the main directory, and I tried clearing the Image Handler Cache, but I am still having no luck.
I am attaching a screen shot of the image handler view, so you can see that it is giving no options.
My store is currently down for maintenance until I get this fixed, so I really need to figure out what to do. If somebody could help me fix this issue, I would appreciate it so much.
Thanks for any and all help, and sorry if this issue has already been addressed, I searched the forum the best I could for a solution before I posted.
I am currently running version 1.3.9c (all updates installed)
This is not a new install.
Mods Installed:
Image Handler 2 *Installed Error Free*
Sales Report *Installed Error Free*
Admin Activity Report *Installed Error Free*
Paypal Verified Sidebox *Installed Error Free*
Admin Profile 1.1 Beta *Installed Error Free*
RSS Feed 2.0 *Installed Error Free*
Angelbaby - have you used imagehandler successfully since upgrading as unless I am wrong it is not yet compatable with the new versions.
I just upgraded my digital scrapbook store but have not installed Imagehandler yet and am using a workaround to add additional images.
I am using IH2 v2.0 with zc 1.3.9d. It seems to do everything it should.Quote:
have you used imagehandler successfully since upgrading as unless I am wrong it is not yet compatable with the new versions.
But I'm running on php5.2x....my understanding was php5.3 was where the trouble would hit with this version (?).
SOXOPHONEPLAYER - THANKS FOR THAT. I MUST BE GOIN CRAZY - THE LATEST VERSION I FOUND SAID COMPATABLE WITH ZC 1.3.8
I JUST CHECKED AGAIN THOUGH AND IT THE NEWEST NOW SAYS COMPATABLE WITH 1.3.9 AND NOW SAYS PHP 5.3 Compatible?: Yes
Yahoooo!!!!
Downloaded, installed and working perfectly in minutes. You guys ROCK!!!
Thanks,
Marc
Thank you! :smile: Will do some updating tonight.
Well done!
Reminder: Anyone upgrading from any older version of Image Handler2 for 1.3.x to the Rev 8 version MUST run the uninstall function from the version you are currently running BEFORE applying the new Image Handler2 for 1.3.x Rev 8 files to your store. Otherwise you will get errors!!
Yes I have used the new image handler since the upgrade and have had no problems until one of my designers sent me a preview that was way to big. The image was for our collab this month and I didn't check the size before I uploaded it. You may want to try IH now, it seems to work great great for me, at least until I uploaded a 12in by 12in preview :(
Angelbaby whenever I have had trouble with the images it has been with names. Like a designer uploading image called preview and then it adds it to anything else that she has called preview. I would try deleting it from your ftp then go in and add the new one through editing the product. BUT make the name something completely different from the original one you had. I can't tell from your preview cause its little but I am guessing you have several images for the collab. Start over and change the name of the main one - make it completely different. Once you change the name of the main image it will only associate previews with that name structure to the product and hopefully that will fix it.
Hi All,
Is there a way to force IH2 to display certain small images instead of it generating diffferent cache small images?
I want my Small images to be the exact same dimensions as they now vary because the large image sizes vary obviously?
That way I can Create Exact Size Thumbnails Images for all the small images and get IH to recognise them as the small images!
Best Regards,
Where can i download the Image Handler Rev 8?
I don't find it. :(
Hello wihandy,
At the top of the page. Below Zen-Cart logo. Click on "Free Software Add Ons." Here you go. Image Handler Rev 8 linkQuote:
Where can i download the Image Handler Rev 8?
I don't find it.:(
Hello from the Great Smokey Mountains
I am using Image Handler 2 on my website and I like it a lot.
http://www.groove-emart.com
The problem that I am having is when I upload more than one additional image the 2 images sit side by side on the product page. :no:
To help you understand what I mean check out this product page from my website. http://groove-emart.com/index.php?ma...ducts_id=70983
Can you see the two images just below "Please Choose Size. I want to spread those images apart.
How do I do that?
Thank you in advanced
David Groover
Groove-eMart.Com
I think thats a theme issue, but even if it's not you can go into your template folder using FTP and edit this file, tpl_product_info_display.php - if its not located in your template theme then copy the one from template default into your themes template folder to override that one.
Once in tpl_product_info_display.php edit the lumps of code to display the page as you wish, make a backup file first so you can just upload the old file should you make a mistake.
Look for <!--bof Additional Product Images -->
<?php
/**
* display the products additional images
*/
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
As an experiment try moving that code to just above <!--bof Product description -->
That should give you an idea of what you can do with the additional images on the page, you can then experiment with other placements, remember to make a backup of the file you are editing though just in case you mess up.
You can also space them apart using old fashioned html or add line breaks etc etc.
Location to file - your store name/includes/templates/your theme/templates/tpl_product_info_display.php
or your store name/includes/templates/template default/templates/tpl_product_info_display.php
As Mal2809 correctly pointed out this is not an issue with Image Handler at all.. If you require further help with correcting your page layout issue, you should create a new topic thread in the layout section of this support forum to get assistance with your template/page layout issues..:smile:
Using Zen cart 1.38a with the classic template still. Installed IH2 and made sure all my image settings, etc were equivalent with what was recommended. After this I installed it and went into the tools -> IH2, etc.
I for some reason can't get any pictures to hover. When I hover over the product listing picture there is no blown up image that hovers over it(or any image for that mater).
Uninstalled IH2 and downloaded another 1.38 version and uploaded all the files on my FTP. Installed it again and still running into the same problem.
Would this likely be a problem with the hover.jss file?
Went through one by one on each folder on the FTP and compared it to the downloaded folder and made sure all files, etc were there. Had 49 successful transfers and 0 failed on the FTP.
http://www.d2west.com/index.php?main...05_332_319_142
An example is the first image I tried it with.
Your javascript was copied over to ALL of the template folders.. In fact I made sure that all of the template folders (custom, default and classic) all contained the same files and folders. timebombx has NONE of the Classic template javascript files in his store files..
In the last release of Image Handler Rev 8
admin/includes/modules/category_product_listing.php
around line 217
Zen Cart 1.39 code
Image Handler versionPHP Code:
$products_count = 0;
if (isset($_GET['search']) && !empty($_GET['search']) && $action != 'edit_category') {
// fix duplicates and force search to use master_categories_id
/*
Then line 239-259 Missing this chunk in the image handlerPHP Code:
$products_count = 0;
if (isset($_GET['search'])) {
PHP Code:
*/
$products_query_raw = ("select p.products_type, p.products_id, pd.products_name, p.products_quantity,
p.products_image, p.products_price, p.products_date_added,
p.products_last_modified, p.products_date_available,
p.products_status, p2c.categories_id,
p.products_model,
p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute,
p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping,
p.products_quantity_order_max, p.products_sort_order,
p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, "
. TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and (p.products_id = p2c.products_id
and p.master_categories_id = p2c.categories_id)
and (
pd.products_name like '%" . zen_db_input($_GET['search']) . "%'
or pd.products_description like '%" . zen_db_input($_GET['search']) . "%'
or p.products_id = '" . zen_db_input($_GET['search']) . "'
or p.products_model like '%" . zen_db_input($_GET['search']) . "%')" .
$order_by);
What exactly is the different between these 2 occurrence? Was this intentionally or error??
The file provided look similar to 1.38a but the latest release shows that there were changes to that particular file that are related to Search Empty Field.
Any advise would be appreciated as I am doing an upgrade to Zen Cart on the main site (Testing Server).
Looks like this was unintentionally overlooked..:blush: I will update the download package and resubmit.. I will also take a quick look through the rest of the core Zen files to make sure we didn't overlook other core Zen files (I think this is a one off thing though..) Thanks for pointing this out! :smile:
No problem.
If you could please post what needs to be change on here. I am half way through updating the site since we have a lot of custom work it is taking forever to merge every file.
Includes minor changes to correct minor omissions from Rev 8 files. If you've already installed Rev 8 simply replace your install files with the Rev 8a files. If you are already running Rev 8, you shouldn't have any issues, but should update to Rev 8a anyway..
Thanks to CoolPartsOnline and Nigel for their sharp eyes.:bigups:. When there are multiple people working on one project it's not unusual for things to get lost in the cracks.. Fortunately these were minor omissions..:smile:
That is not the only correction to be made on file /admin/includes/modules/category_product_listing.php
There is also a syntax error in line 38, which was carried over from rev. 7, that is my fault.
Please bear in mind that programming corrections to IH2 were done by a guy who is not into Zen Cart nor module creation, and who just wanted to clean out deprecated functions and programming errors.
The result is quite good because rev. 8 works fine, it can of course be improved.
I have already made corrections to that file, just wait for me to test it, and the other overwritten Zen Cart core files.
Will be in touch with Diva, who will finally test everything.
Cool.. I will submit another update as soon as I test Carlos' new files..
Just so it's clear, there is NOTHING WRONG with the version of IH2 available in the downloads section now.. It will work just fine, but as has been pointed out, we do need to make a few minor corrections.. Stay tuned!:smile:
Thanks for the new Image Handler 2 update for 1.3.9! I installed it and everything is working but the watermark feature. I have enabled by clicking yes on IH watermark in Admin- Configuration on all sizes of IH, (small, medium and large) and it's not working on any of them. I really only want to enable it on large images, but have enabled them all to see that made a difference, but no luck. Any suggestions? Thanks!
See if this helps:
Quote:
Watermarking
In order for watermarking to work for every image dimension the specific corresponding watermark images have to be present. That means, you have to upload files to the following specific locations:
- images/watermark.png
- images/medium/watermark_MED.png (or your specified MEDIUM_IMAGE_SUFFIX)
- images/large/watermark_LRG.png (or your specified LARGE_IMAGE_SUFFIX)
I included some demo watermark images for small, medium and large sized images featuring a slightly modified Zen-Cart logo for a quick start. Nothing more to do, switch on, switch off, just as you like. Image Handler takes care of generating images accordingly. You can specify where you want the watermark to appear on the image canvas by selecting NorthWest, North, NorthEast, West, Center, East, SoutWest, South and SouthEast for the Wartermark Gravity setting.
Many thanks! They are working! :clap: Now off to make some custom watermark images...
I just installed the latest IH2 on my 1.3.9d store. Also, I purchased a template to use to have a starting point for my store. My problem is that the template is not sync'd with IH2, so for the product listing page it is showing my main images that I uploaded and not the IH2 small images.
Can someone tell me where the small images are stored so I can modify my template to point to them? I see that the medium and large images are stored at images/medium and images/large, but I do not see an images/small folder?
If you do not set a path for the images they are most likely all tossed into the main store images folder.
But make sure that if the main image is a jpg that all the additional ones are jpg too...
you can not have the main one jpg, gif or png and have the additional ones being another extension.
store link would be real good so the ones more experienced can possibly give you more info
Okay, got ckosloff's updated files loaded and tested..
(See: http: // zen138 . overthehillweb . com /index.php?main_page=product_info&cPath=1&products_id=1)
Gonna submit one more IH2 update (Rev 8b) to the downloads section.. I will make it available on my site (see siggy for link) until Rev8b is approved and available in the downloads section.
From the new readme file:
Quote:
Rev 8 Changelog
This version of Image Handler2 is based on Ver 2.0 Rev 7 for Zen Cart 1.3.8b by ckosloff.
- (Rev 8) Updated to add PHP 5.3.x compatibility (tested to for backwards compatibility through PHP 5.2.x). Lots of code in Rev. 7 was inconsistent, so this version is not only compatible with 1.3.9 and PHP5.3.x, but it will also improve performance on PHP 5.2.x Many support issues will be solved by just upgrading to Rev 8.
- (Rev 8) Clean up HTML to remove deprecated HTML tags
- (Rev 8) Updated javascript which now support full cross browser compatibility (tested in Chrome, Safari, Internet Explorer 8 and Firefox for Windows)
- (Rev 8) No more image hotzones - The hotzone feature added no real value to Image Handler2, and it has been removed. The configuration settings for hotzones have also been removed from Admin > Configuration > Images. In case anyone is wondering, the image hover feature works just fine WITHOUT hotzones.:smile:
- (Rev 8) The IH zoom medium images configuration setting has also been removed from Admin > Configuration > Images. This feature (zoom on medium images) was a future enhancement that was NEVER IMPLEMENTED in any Image Handler2 release. Continuing to leave this configuration setting in place for non-existent functionality has been a long source of confusion in the Image Handler2 support thread, and therefore it will be removed.
- (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) The following files were deleted from the install package (they are now obsolete)
- images/zoom.png
- images/medium/zoom_MED.png
- images/large/zoom_LG.png
- includes/template/classic (if you are using the Classic template simply rename the YOUR_TEMPLATE folder as per the install instructions below)
What this means for anyone upgrading from ANY older version of Image Handler2 for 1.3.x to this new Rev 8b version is that you MUST run the un-install function from the version you are currently running BEFORE applying the new Image Handler2 for 1.3.x Rev 8b files to your store. Otherwise you will get errors!!
Hi all,
I have this very odd problem, my IH only works with small images, I have no idea what could be the problem. in the admin end I can see that it does resize images and everything is fine, but store front is different, images do not come form bmz_cache folder, however it does work with small images. :shocking:
Thanks!
You've provided nowhere near enough information for anyone to provide you any kind of assistance..
So let me post this. From the readme file:
Also one last thing: Make sure you copied ALL of the add-on files to your store!! (Most issues are caused by storeowners who decide to NOT load ALL of the module files)Quote:
Make sure Image Handler2 is installed. Admin > Tools > Image Handler2 > Admin. Set permissions in your images and bmz_cache folder to 777 (they need to be the same, in some cases 755 also works).
If Image Handler2 does not work:
- Make sure all files are in correct location
- Make sure the files are not corrupt from bad FTP transfers
- Make sure that there are no javascript conflicts (this last point has been largely addressed since Rev 7)
Hi Diva!
You said:
So I checked your signature, followed the link, and poked around your site. Specifically, I clicked on "Zen Cart Add-Ons". There was a list of mods that you described as having "been submitted to the Zen Cart downloads section and are still pending admin approval".Quote:
Gonna submit one more IH2 update (Rev 8b) to the downloads section.. I will make it available on my site (see siggy for link) until Rev8b is approved and available in the downloads section.
But notably missing was the IH2 update (Rev 8b).
If I went to the wrong place, could you point me in the right direction?
Thanks,
Mike
Sorry about that.. You didn't go to the wrong place.. I haven't posted the zip file yet.. I also asked the admins to hold off on the submission.. there was a slight discrepancy between ckosloff's and my test results of the new code. So I was waiting for a friend I had enlisted to test and to help validate the test results for the new package.
Also a few minor modifications were pointed out to me via PM that I needed to include in the IH2 module.. Should have everything all updated later this afternoon..
Also
Thanks for the update, Diva.
Wonderful, I'll be back later this afternoon to see if you posted the zip on your site!Quote:
Should have everything all updated later this afternoon..
Thank you so very VERY much for all your hard work on this. Also, a big hip hip horaah! for all the other volunteers on this!
:clap::clap::clap::clap::clap::clap::clap:
Much as I appreciate the work done on bringing this up to date, I think removing the hotzone is a retrograde step - the pop-up rapidly becomes incredibly annoying if it happens, as it will now, every time the mouse touches an image.
When the hotzone was switched on, the popup only occurred when you put the mouse on the cross-in-a-box rather than any time you touched an image.
However, having spent the past half-hour searching our clients sites so that I can give you a demo, can I find a single one that took my advice to set the hotzone on? No!! Therefore I concede that the majority opinion must be to not use the facility anyway! :D
But I thought it was good! :P
I understand how it was supposed to work, but honest to goodness Ryk, this feature has never worked for me on any of my older Zen Cart installs.. :smile: (which is why I was okay with it not being included/fixed in this release)
:laugh::laugh::laugh::laugh: