Jump to content
echeng

Using Flickr to host images

Recommended Posts

Hello, guys! If you are looking for free hosting space, Flickr is a great place to start (and, it's free!). Once you have an account, you can embed Flickr-hosted images here in our forums. Also, be sure to join the Wetpixel Flickr group!

 

Here's how to embed:

 

1. look at an image in Flickr, and click "All Sizes" to get to a page that shows all of the accessible sizes for a given image.

 

2. click on "Medium" (500 x 333), which is perfect for Wetpixel

 

3. in the text box below the photo, you'll see some HTML, which is the code they want you to use to embed your image. Here's an example:

<a href="http://www.flickr.com/photos/echeng/201438534/" title="Photo Sharing"><img src="http://static.flickr.com/66/201438534_363e6306b9.jpg" width="500" height="333" alt="Humpback mother and calf (Megaptera noveangliae)" /></a>

 

4. since our forums don't support straight HTML, you have to convert it to bbcode. take the image location (img src) and hyperlink (a href), and convert them. Here's an example of the above image, converted into bbcode:

[url=http://www.flickr.com/photos/echeng/201438534/][img=http://static.flickr.com/66/201438534_363e6306b9.jpg][/url]

 

5. Test:

 

201438534_363e6306b9.jpg

Humpback mother and calf (Megaptera noveangliae)

 

6. (I added the caption, too)

 

If you embed a static image from Flickr, you MUST link back to Flickr. It is part of their Terms of Service.

Share this post


Link to post
Share on other sites

Flickr is great and this works really well - thanks Eric.

 

One thing I ran into was that if you host the images off your own site, then you can replace them at any time and the images on WetPixel will also be updated (like if you made an improvement to an image you had posted and wanted the changes reflected on WetPixel automatically).

 

So, just a tip for Flickr users that you cannot update (replace) your images with the free account. To replace an image with a new version, you have to have a Pro account with Flickr and then you can do it. Well worth the small fee.

 

Have fun!

Share this post


Link to post
Share on other sites

Here is a little perl snippet to rewrite the flickr link format into the phbss format

 

#!/usr/bin/env perl
while ( <> ) {
	if ( /href="([^"]+)".*src="([^"]+)"/ ) {
	# Rewrite into bbs format
	print "\[url=$1\]\[img\]$2\[/img\]\[/url\]\n";
	}
}

 

On a related topic, have people been having problems with flickr not serving images? A number of people have reported to me that my images are "Unavailable". It seems to resolve itself after a while, but it is problematic.

Edited by drsteve

Share this post


Link to post
Share on other sites

and one from the sed side

 

#!/usr/bin/env bash
echo $1 | sed -e 's#.*\(http[^"]*\).*\(http[^"]*\).*#[url=\1] [img=\2][/url]#'

as in:

 

./flickoff.sh '<a href="   ................  /a>'

assuming it is stored in flickoff.sh

Edited by n de d

Share this post


Link to post
Share on other sites

Can someone show how to embed a youtube clip, so we can share some of our underwater video?

 

Thanks!!

 

Mike

Share this post


Link to post
Share on other sites

Hi Mike,

 

There is a quite a lot of info about embedding video (including Youtube) here:

 

Topic on embedding video

 

It may be worth having a search around before posting!!!!

 

Anyone any ideas on using Flikr then...?

 

Many thanks

 

Adam

Share this post


Link to post
Share on other sites

In flickr, go to your photo. Click on "all sizes" above the photo.

 

At the bottom, this will give you the url for that photo. Now copy that entire text box.

 

Now back in your post on Wetpixel, select more options below the response box. Now click on the Icon that looks like a tree (if you mouse over it, it will say "insert image"). Now in the popup dialog box, paste the entire url of the photo there. Make sure you don't type "http" twice...

Hope that helps.

 

Cheers :angry: ,

Edited by pakman

Share this post


Link to post
Share on other sites

and to satisfy the flickr user requirements:

 

after copying the url on the flickr page, select the link "back to photo page", copy the url (in the adress box of your browser).

 

then select the picture you just inserted, use the link icon (the little globe with a chain link) and paste.

 

In this way your picture will link back to flickr as required.

 

gerard

 

565625236_aee56146b1_m.jpg

Share this post


Link to post
Share on other sites

Adam. This is what you used:

[url=http://www.flickr.com/photos/adamhanlon/2096940905/[/url][img=http://farm3.static.flickr.com/2400/2096940905_1c647315bd.jpg][url/]

and this is the correct one:

[url=http://www.flickr.com/photos/adamhanlon/2096940905/][img=http://farm3.static.flickr.com/2400/2096940905_1c647315bd.jpg][/url]

You had a slash in the wrong place, and an extra [/url] in there.

 

Of course, if you're using the WYSIWYG editor, you should follow the instructions the folks gave above. :angry:

Share this post


Link to post
Share on other sites

Hi Eric (and everyone!)

 

Many thanks for all your help. I've copied and pasted your bb code Eric, and this is what I get....?!!

 

2096940905_1c647315bd.jpg

 

Is it just me?

 

Thanks in advance again!

 

Adam

Share this post


Link to post
Share on other sites

Looks like there was an extra space in there. I did that for readability in the code section, but it apparently doesn't work when it's there. Give it a try again without the space between the URL and IMG tags.

Share this post


Link to post
Share on other sites

Got it!

 

Thanks Eric!

 

[url=http://www.flickr.com/photos/adamhanlon/2096940905/][img=http://farm3.static.flickr.com/2400/2096940905_1c647315bd.jpg][/url]

 

gives you this!

 

2096940905_1c647315bd.jpg

 

Perfect!

 

All the best

 

Adam

Share this post


Link to post
Share on other sites
You know - i'm pretty sick of all song that such as you sing to Flickr...

You just listen - now it's the best way to start !...that's last drop - HOW COULD IT BE the best way to start if there are a lot of more simple and easy hosts ? for example this free photo hosting.

New user first of all want to be host as simple as possible, easy to use - kill me , but anyway not flickr.

that site seems pretty god damn simple, nice info

 

stew

Share this post


Link to post
Share on other sites

Hi all,

 

I've noticed that Flickr has added the ability to generate BB code directly from the image now. This makes adding images from Flickr onto Wetpixel very straightforward.

 

Simply open you photostream and select the picture you wish to share. Locate the share button

 

Flickr%20share%203%20copy.jpg

 

Click on the small triangle:

 

Flickr%20share%201%20copy.jpg

 

In the options that drop down, select "Grab HTML/BB code".

 

Choose the Medium size

 

Select all the code in the box, and copy it to the clipboard:

 

Flickr%20share%202%20copy.jpg

 

Simply paste all that code straight into your post on Wetpixel. It will look like this (without the code bar):

 

[url=http://www.flickr.com/photos/adamhanlon/5880325220/][img=http://farm7.static.flickr.com/6038/5880325220_3cde6a7a61.jpg][/url]
[url=http://www.flickr.com/photos/adamhanlon/5880325220/]Egg casings[/url] by [url=http://www.flickr.com/people/adamhanlon/]Adam Hanlon[/url], on Flickr

 

Which if you click Preview Post (or add post) will give you this:

 

5880325220_3cde6a7a61.jpg

Egg casings by Adam Hanlon, on Flickr

 

Simples!

 

Adam

Share this post


Link to post
Share on other sites

When you blog a photo, you can post immediately by adding a title and body for the post. There's a link to your blog as well so you can check that the entry looks OK.

Share this post


Link to post
Share on other sites

Question, can you use shutterfly to host pictures? Most of my photos are stored there and it would make things much easier for me if I didn't have to go learn flickr. I've looked a bit and will continue to search, but shutterfly does not have a good reputation for such things.

Share this post


Link to post
Share on other sites
On 9/2/2018 at 7:47 AM, LyleORoss said:

Question, can you use shutterfly to host pictures? Most of my photos are stored there and it would make things much easier for me if I didn't have to go learn flickr. I've looked a bit and will continue to search, but shutterfly does not have a good reputation for such things.

At first Flickr is confusing but they actually improved their UX already. You can try it at Flickr. :D

Share this post


Link to post
Share on other sites

I havent used it in years, but now i have went back just to store some of my old good shots 

Share this post


Link to post
Share on other sites

Nice pic, Christian!

Share this post


Link to post
Share on other sites

Sponsors

Advertisements



×
×
  • Create New...