On Monday 05 March 2007 20:46, Marshall Salinger wrote: > I tried to pull up the image without the ";see|" at the end and I get a > 404. That is probably why it is only showing the alt text. You probably > have your images in a subdirectory and you need to change the path to > reflect that. > > If you want to use the code as is, you need to name your thumbnail > images with an "_s.jpg" and medium images to "_m.jpg". These are the > naming conventions used by flickr. That is where the images are coming > from. > This is the piece of info I was missing and did not understand. Now I have a better idea of what this is doing:
var url_m = url.replace(/_s.jpg/g, '_m.jpg'); return '<a href="' + url_m + '" title="' + title + '" The implementatiooon works fine now. All I needed to do was create two different size versions of the same image, put them in the same directory and the code did the rest. Thanks . _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/