I have a suggestion for Thickbox (if there is to be another version) in regards to showing images.
I stream images to the user via an ASP.NET page. As a result, the URL does not end with one of the common image extensions. So it ends up not being displayed (or showing the ASCII representation of the image) and slowing the page down. As a workaround, I changed the urlType checking to use 'url' instead of 'baseURL': In TB_show, look for the line starting with 'var urlType' and replace with: var urlType = url.toLowerCase().match(urlString); The link to you generated image would be changed to something like: path/to/image.aspx?imageId=1&ext=.jpg This is not the best way to do it, and may break other thickbox links. To prevent the need for this, perhaps the class name could be used to decide if the link is to an image? i.e. <a href="path/to/image.aspx?imageId=1" class="thickbox image">Image Link</a> It may even result in less code (in the JavaScript file - the pages with images would need the class altering). _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
