Seems hard to get an answer for this, but I see tons of sites with what I;m trying to do.
Heres a code from a site with something similar to what I'm looking for, not sure how to do this.
var reimg_maxWidth = 740, reimg_maxHeight = 740, reimg_relWidth = 0;
var reimg_swapPortrait = true;
var reimg_zoomImg = "./images/spacer.gif";
var reimg_zoomStyle = "width: 20px; height: 20px; background: url(./styles/diesel/imageset/icon_reimg_zoom_in.gif) top left no-repeat; filter: Alpha(Opacity=50); opacity: .50;";
var reimg_zoomHover = "background-position: 0 100%; cursor: pointer; filter: Alpha(Opacity=100); opacity: 1.00;";
var reimg_zoomAlt = "Zoom in (real dimensions: %1$d x %2$d)";
var reimg_zoomTarget = "_litebox";
function reimg(img, width, height) { window.reimg_version ? reimg_resize(img, width, height) : null; }
Heres a couple sites I'm talking about:
afterhoursdiesel.com
ktperformance.net
Someone pls advise me how to accomplish this.