Flickr Image Link Integration

Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here.
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
AgentTim
Registered User
Posts: 2
Joined: Mon Mar 16, 2009 8:19 am
Contact:

Re: Alternative Flickr BBC code

Post by AgentTim »

...
After trying several Flickr BBCs that didn't work right, or didn't link back to Flickr (as required by their TOS),
I made a variation that works great for our phpBB3 forums.

Image
Section 1 (BBCode Usage):

Code: Select all

[flickr]<a href="{URL1}" title="{TEXT1}"><img src="{URL2}" width="{NUMBER1}" height="{NUMBER2}" alt="{TEXT2}" /></a>[/flickr]
Section 2 (HTML Replacement):

Code: Select all

<div align="left">
    <a href="{URL1}" target="_blank"><img src="{URL2}" border="0"></a><br />
    Image Title: <b>{TEXT1}</b><br />
    Width: {NUMBER1}px Height: {NUMBER2}px &nbsp; &nbsp;
    Required Link: <u><a href="{URL1}">Flickr Source Page</a></u> 
</div>
Section 3 (Help Line):

Code: Select all

Flickr: [flickr]<Flickr, Medium Size, Copy & Paste HTML>][/flickr]
And, of course, check the 'Display on Posting Page' box at bottom to activate it.

Usage:

Image

Note: This code is an alteration of Alex's code at http://digitalpardoe.co.uk/blog/show/115. It didn't work right for me, so I updated it.
Last edited by AgentTim on Tue Mar 17, 2009 12:09 am, edited 1 time in total.

User avatar
stickerboy
Registered User
Posts: 94
Joined: Fri Jun 04, 2004 3:05 pm
Location: Airdrie, UK
Contact:

Re: Flickr Image Link Integration

Post by stickerboy »

Hi. I might be worth posting this in the Custom BBCodes topic on phpbb.com
It's stickied in the Support Forum :)
I'm a web-designing prototyping tech-support musician
|| Twitter || Flickr || BandCamp ||
Please don't contact me via pm/email unless I ask you to/say it's ok

AgentTim
Registered User
Posts: 2
Joined: Mon Mar 16, 2009 8:19 am
Contact:

Re: Flickr Image Link Integration

Post by AgentTim »

Thank you for the suggestion. I have posted it there as well (on phpbb.com forums). Hopefully someone will find it useful.

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Flickr Image Link Integration

Post by Eelke »

Although unlikely, if Flickr ever changes their embedded HTML, you'll run into a problem. Can't change the current bbcode, or you'll break all existing posts using it. Create a new bbcode for the new format? Not practical either.

bobbob
Registered User
Posts: 5
Joined: Mon Mar 30, 2009 10:13 pm

Re: Flickr Image Link Integration

Post by bobbob »

Mario_AU wrote:i may be missing something but what is special about this ?
why not just link with the IMG tags ?
or is it that you get the different picture size options when you click yours ?
it's just that, to me, it sounded as if you suggested that one couldn't post pics from flickr in phpbb without the code.
i agree.. the image tags work adequately ... usually if users want more of a gallery, they use a gallery system.. a lot work very well with phpbb;

gallery menalto, coppermine

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Flickr Image Link Integration

Post by Eelke »

Again, if you want to embed an image from Flickr, you are required, by Flickr's TOS, to link to Flickr's photopage for the particular image. If you think: "Why would I bother to comply to that?", this topic isn't for you ;) If you would like to comply to the Flickr TOS, ask yourself how to accomplish that:
- Force your users to use standard BBCode to get the image linked (nested [ur] and [img] tags).
- ...?

;)

Post Reply