Page 1 of 1

Flickr images not working with [img] tag

Posted: 19 May 2011, 22:49
by Anthonyck
When I try to use the img tag with a Flickr link I get an error that reads something to the effect of "Could not retrieve image size..."

I have messed around with the syntax, and can't get any closer than this. I have tried using the link that points to the smallest of the "All sizes" option on Flickr, and that offers no different result. Hence, I'm the douche forced to use links. Since I use an iPad about 75% of the time I'm on the site, saving a low-res version and the. Uploading isn't always an option, though I should try the upload feature also. With that said, Flickr resizing the image as a stock feature is way quicker than using pixresizer, photoshop, or irfanview.

Anthony

Re: Flickr images not working with [img] tag

Posted: 19 May 2011, 22:52
by Jools
Can you post an example?

Jools

Re: Flickr images not working with [img] tag

Posted: 19 May 2011, 23:33
by MatsP
Image

It works for me. However, you have to trick around, as flickr don't really want you to post the image itself, but a link to their site. I got the above by using the "link" option under the "share this image".


<a href="http://www.flickr.com/photos/48744143@N03/5637246472/" title="IMG_1086 by Mats Petersson, on Flickr"><img src="http://farm6.static.flickr.com/5142/563 ... db30_b.jpg" width="800" height="480" alt="IMG_1086"></a>

The bit you want is the red portion that is between the quotes after img src=.

--
Mats

Re: Flickr images not working with [img] tag

Posted: 20 May 2011, 03:08
by Anthonyck
Brilliant. Here goes:
Image