Thanks, DarkAngel! Issue has been sorted.
Sorry Diva, I thought I had screwed up my merging of files into 139d and that is what caused the prob. Thanks to nigelt74, I now see it was a silly mistake... not related to IH2.
![]()
Thanks, DarkAngel! Issue has been sorted.
Sorry Diva, I thought I had screwed up my merging of files into 139d and that is what caused the prob. Thanks to nigelt74, I now see it was a silly mistake... not related to IH2.
![]()
ok. so i have to wait for the next release of Image Handler 2 to get it to work in PHP 5.3.![]()
anyway, is it okay if I install zen lightbox and EZ populate before Image Handler?
i want my website to be up and running ASAP.
and when the next release of Image handler 2 is available, i can install it directly.![]()
you can install any add on you wish in whatever order...mainly.
just be certain to not toss the folder with the files or zips cause some addons share files...thus uploading a file may overwrite one that needed by a previous addon.
also do not just upload the folders that come with your addons....just upload the files to the exact same place located in the zips files and create a folder with your templates name in the places needed as indicated in the addon zip.
backup your database before any installations, just in case
ok. thx for the replies.![]()
I have IH2 installed and working fine under 139d and Zen Lightbox.
Is there any way to remove the "alt" image product description that pops up when I mouse over an image? Or is this browser-dependent?
While it does eventually go away after several seconds it blocks the product decscription on the image and is a distraction.
http://www.earnest-enterprises.com
I've scoured the forum for an answer to this but don't find anything. Thanks for any thoughts on this....
Ok i haven't looked into this for a few years But
No pretty sure there is no way without hacking some fairly important IH files,
the image link contains both an alt tag and a title tag,
The alt tag should be displayed as a tooltip when the image is missing, (although webkit browsers ignore this, i think)
The title tag should be displayed as a tooltip when you hover the mouse over the image, although IE being IE displays the alt tag on mouse hover, whereas the other browsers display the title tag as per the W3c specs
Why am i telling you all this, well if you are going to try removing the alt tag, you will need to remove the title tag as well to fix the issue in the other browsers, which will also make your site less compatible with screen readers (for the disabled)
From what i know you cannot style these particular tooltips with CSS to make them disappear, there is some weird involved reason about them not being elements, that i don't really understand.
There are javascript hacks to make the alt/title text tooltips disappear, however unless you know a bit of code it's best to avoid.
although now I have written that, i am sure someone will popup with a logical and patently obvious way to do it
Ok, this is what i did many years ago to fix this issue, but it does affect accessibility for screen readers, a javascript option is better
This is the quick and dirty fix, and effects one core file and is offered with no guarantees, this also isn't really an image handler problem, it is a generic zencart function to allow for accessibility
Find your \includes\functions\html_output.php file make a backup of the file
go to around line 122 and you will see the following code, this is where the title tag and attribute tag are produced
change it to this the double slashes in front of the lines make the php parser browser ignore those line, i personally leave them in as it makes problems easier to find, it also helps if you need to merge the file when adding a mod that effects itCode:// alt is added to the img tag even if it is null to prevent browsers from outputting // the image filename as default $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"'; if (zen_not_null($alt)) { $image .= ' title=" ' . zen_output_string($alt) . ' "'; }
I have tested this and it does work, but its up to you to edit the files.Code:// alt is added to the img tag even if it is null to prevent browsers from outputting // the image filename as default // $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"'; $image = '<img src="' . zen_output_string($src) . '"'; // if (zen_not_null($alt)) { // $image .= ' title=" ' . zen_output_string($alt) . ' "'; // }
no warranties no guarantees etc
Ignore the previous post i misread the question
Bookmarks