Closed (duplicate)
Project:
Media: Flickr
Version:
6.x-1.12
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2012 at 12:35 UTC
Updated:
13 Jun 2017 at 18:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jorisvt commentedThe same problems occurs on a site I build. All images that come from Flickr are presented
in a lower image format than configured in the image field (Media: flickr) of the content-type.
See: www.jagerjanssen.nl
It looks like the changes made in the content-type fields have no effect on the images presented by Flickr.
(domain.com/admin/content/node-type/project/fields/field_image)
For example, we want to see this one:
http://farm8.staticflickr.com/7039/6871295582_60bfb37eab_b.jpg
But we get this one:
http://farm8.staticflickr.com/7039/6871295582_60bfb37eab_n.jpg
And due to the different size the image gets blurred.
As you can see on the site, this is a big problem.
Hope that somebody can help.
Comment #2
domesticat commentedIt's not just 6.x-dev; I can confirm that 6.x-1.12 is affected as well, which makes me think something's changed on Flickr's end.
On the node type I'm using media: flickr with, I have the 'Full size' set to be 550px on the longest side. It's pulling in the [number]_n.jpg image, which is far too small and is being scaled up, with predictably blurry effects, on the node.
Comment #3
BenK commentedI'm experiencing the same problem in the 7.x version of this module... not sure what's wrong.
--Ben
Comment #4
BenK commentedBut I don't have the problem when I use the oEmbed module to display the photos.... so did something change in the Flickr API that isn't yet accounted for by this module?
--Ben
Comment #5
domesticat commentedHere's a more solid example: http://domesticat.net/quilts/say-yes-lets-go -- the large photo is quite blurred.
I have it set to display on the node as 'full size' and my settings for "full size display width" are 550 for width and 0 for height (since my images don't all have the same aspect ratio)
The node is scaling up http://farm7.staticflickr.com/6082/6083481652_984d132eca_n.jpg
Comment #6
thecanary commentedHi All, the issue with the blurry up-sized images comes from Flickr adding additional size options that the code currently does not account for. You need to update the Flickr.inc file on the following lines:
Line 267:
foreach (array('0' => 75, '2' => 100, '3' => 240, '4' => 320, '5' => 500, '6' => 640, '7' => 800, '8' => 1024, '9' => 1600, '10' => 2048) as $size => $value) {
line 275:
return '11';
Sorry don't have access to git to write a patch right now, will get back to you with that as soon as I can.
Comment #7
domesticat commentedConfirmed -- editing media_flickr/providers/emimage/flickr.inc with these changes (in D6) fixes the issue for me. I have sharp photos again.
Comment #8
domesticat commentedPatch attached. Hope I did this right. I really want to see this get in quickly; it's an icky bug.
Comment #9
Drupal Musician commentedI am also getting this in 7.x-dev with the medium file style has this patch not been included yet?
Comment #10
domesticat commentedIt has not. Needs someone to test it and then mark it as RTBC so the maintainer will roll a new version. (It'll need to be updated for 7.x as well.)
Comment #11
steinmb commented6.x is outdated but we should make sure 7.x is OK. Going to close this is a duplicate to #2066485: Media Flickr should download the original (largest) size photo from Flickr by default