Hi,

I've added my Flickr API key and secret and everything seems to be fine, but when I look at my picture it is blank, except for: "THIS PHOTO IS CURRENTLY UNAVAILABLE".

If I click on the blank picture it takes me to the working photo on Flickr. Any ideas?

Cheers

Comments

a_c_m’s picture

Status: Active » Postponed (maintainer needs more info)

What size are you trying to display your image at - it could be flickr isnt storing it at that size. Also can you paste in the img code generated by the module ?

halfiranian’s picture

Hi,

Here is the code generated by the module:

<div class="field-item">
<a href="http://www.flickr.com/photos/21108722@N05/2364526179">
<img width="600" title="Frechen, 22 March 2008" alt="Frechen, 22 March 2008" src="http://farm3.static.flickr.com/2412/2364526179_6d19772ac4_b.jpg"/>
</a>
</div>

any ideas greatly appreciated!

Cheers,

James

halfiranian’s picture

Status: Postponed (maintainer needs more info) » Active
halfiranian’s picture

Is it something to do with the @ sign in this url?

http://www.flickr.com/photos/21108722@N05/2364526179

I've just found out that embed works fine for urls with no strange characters in them.

Cheers,

James

a_c_m’s picture

Status: Active » Postponed (maintainer needs more info)

the @ sign in the url should be fine, as far as i know its just part of flickr's internal representation of your username, nothing to worry about.

From the look of http://www.flickr.com/photos/unpacampaign/2364526179/sizes/m/ not all the sizes are available (i think its missing the largest, non orignal one) - could it be your trying to display the size that hasn't been created. Also if thats not it, i think emfield caches its queries to the api systems (like flickr) the cache may be stale - i'm not 100% on how to clear it, but making sure cron has run is probably a good place to start.

Are you just having issues with this one image?

halfiranian’s picture

Status: Postponed (maintainer needs more info) » Active

Hi a_c_m,

I'm still having this problem. So strange I can't seem to figure out why it works on some and not on others.

This photo on flickr displays fine http://www.flickr.com/photos/14516334@N00/345009210/
on this page http://globaldemo.org/picture/729

Whereas this photo on flickr http://www.flickr.com/photos/12117148@N03/1232145942
gives the error on this page http://globaldemo.org/picture/702

I'm at a total loss.

Furthermore, the image displays on your test server here http://drupalhub.org/node/372

I've run cron but not sure what else to do.

Cheers

a_c_m’s picture

i'm not sure why, but i'm guessing its got something to do with sizes...

http://www.flickr.com/photos/aussiegall/345009210/sizes/l/

has different dimensions and size types (look at the list along the top of the page) to :

http://www.flickr.com/photos/projectarchive/1232145942/sizes/o/

Also in your Drupal site under /admin/content/node you might want to select all the nodes with embedded media and from "update options" select "Reload embedded media data", just in case its stale data.

halfiranian’s picture

Thanks mate for that reply.

I tried "reload embedded media data" but had no joy. What do I do if the sizes are a problem?

I haven't made any size-related settings and they seem to show fine on your drupalhub.org installation.

Strange.. thanks for the help

halfiranian’s picture

Status: Active » Closed (fixed)

Wow, thanks again mate.

I reset the size to the default (500), and that seems to be fine.

Thanks mate, you're a lifesaver. I'll reopen this if it starts acting up again.

patchak’s picture

Thanks! I was also having trouble with this... the size it was indeed...
Patchak

seakayjay’s picture

Status: Closed (fixed) » Active

I'm having the same issue. Everything is working fine if I set to default size 500px. However, when I want to display the photos with value set 1000px, the message of "This Photo is currently unavailable" is shown.

Thanks.

patchak’s picture

yes, if flickr does not have that size, it won't display...

Patchak

alex ua’s picture

Version: 5.x-1.2 » 5.x-1.x-dev
Status: Active » Closed (won't fix)

Please see this issue: http://drupal.org/node/637778

Active development of the Flickr provider has been moved to the media_flickr module (http://drupal.org/project/media_flickr), so we need to remove the flickr.inc file from emfield, since a newer, better, version of the provider is available there.

Please direct any flickr related support requests to the media_flickr issue queue: http://drupal.org/project/issues/media_flickr.