My first MOD! came about when none of the Auto-thumbnailers were working with my HQ gifs. So I made it so they are still images until mouse-over - it previews the actual file.
you see this on Video/porno websites..
I also made it so that width is a percentage = fluid thumbnail layout.
Demo: hdgif.com/home (images need buffering period, you'll see)
located in includes/
functions.phpFIND: else {
$file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
$image_info = @getimagesize($file_src);
$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
$thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\"".$width_height." alt=\"".format_text($image_name, 2)."\" title=\"".format_text($image_name, 2)."\" />";
}
REPLACE WITH: else {
$file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
$orig_src = get_file_path($thumb_file_name, "media", $cat_id, 0, 1);
$image_info = @getimagesize($file_src);
$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
$thumb = "<img onmouseover=\"(src='$orig_src')\" src=\"".$file_src."\" onmouseout=\"(src='$file_src')\" width=\"90%\" class=\"pic\" border=\"0\" alt=\"".format_text($image_name, 2)."\" title=\"".format_text($image_name, 2)."\"/>";
}Any suggestions?
REQUESTs:
In IE i need to fix the width.. how do i add width="90%" into string - onmouseover=\"(src='$orig_src')\" ??
For the Lightbox Page I want to use the "media" source instead of the "thumb" so that they are animated - help here would be cool...
Also If you go to my Lightbox page and click on an image i get a 404 error
any help with that would be great
Hope you like my lil mod
THNX!