Back to photostream

Copy .jpg URL location

The next step is a little ugly, so bear with me here.

 

We need to grab the URL for the actual .jpg file, the one that will be displayed as an image in the pages of Camera-wiki.org. Flickr stores these URLs as an impenetrable jumble of numbers and letters.

 

When you right-click on your desired photo (Mac: control-click), another menu option is to copy the image location.

 

This screenshot shows FIrefox: Copy Image Location

In Chrome, the wording is: Copy Image URL

In Safari, the wording is: Copy Image Address

 

We are now ready to paste the URL of the .jpg file into the wiki image template:

 

{{Flickr_image

|image_source= www.flickr.com/photos/tanaka/4607729278/in/pool-camerawiki

|image= farm2.static.flickr.com/1027/4607729278_52c6f46745_t.jpg

|image_align=

|image_text=

|image_by=

|image_rights=

}}

 

Unfortunately, we are not quite done here. What we have copied is Flickr's URL for the thumbnail-sized image. The detail to notice here is the underscore-t at the end of the URL, just before the .jpg.

 

Flickr constructs its file URLs so that the final couple of characters signify the image size:

 

_t.jpg is a thumbnail, max 100 pixels on a side

_m.jpg is the "small" size, max 240 pixels on a side

no suffix before .jpg is "medium" size, max 500 pixels on a side

_z.jpg is the larger "medium" size, max 640 pixels on a side.

 

…so by replacing those two characters with the desired ones we can get a larger and more generally useful image size. Typically wiki pages will use the 500-pixel size for large images at the top of an article, and the _m small size for additional details.

 

So editing the image template to remove _t and display the 500-pixel size now looks like:

 

{{Flickr_image

|image_source= www.flickr.com/photos/tanaka/4607729278/in/pool-camerawiki

|image= farm2.static.flickr.com/1027/4607729278_52c6f46745.jpg

|image_align=

|image_text=

|image_by=

|image_rights=

}}

 

Next we'll want to click on the chosen image and get back to the photographer's own page again. We still need to copy a few more details.

954 views
0 faves
0 comments
Uploaded on April 5, 2011
Taken on April 5, 2011