Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I got issue when I add a new Flickr media. The thumbnail is not generated.
Following the Youtube Media module, in the file :
includes/MediaFlickrStreamWrapper.inc
there should be something like that :
$response = drupal_http_request($this->getOriginalThumbnailPath());
if (!isset($response->error)) {
file_unmanaged_save_data($response->data, $local_path, TRUE);
}
else {
@copy($this->getOriginalThumbnailPath(), $local_path);
}
instead of
@copy($this->getOriginalThumbnailPath(), $local_path);
I propose the patch attached to be commited.
(see same issue for Dailymotion media module : https://drupal.org/node/2064329)
(see same issue for Vimeo media module : https://drupal.org/node/2064831)
Comment | File | Size | Author |
---|---|---|---|
GenerateThumbnail.patch | 849 bytes | nbourdial |
Comments
Comment #1
brunodboIs it possible you didn't configure the preview file display? Go to
admin/structure/file-types/manage/image/file-display/preview
, check the box next to 'Flickr Preview Image', and select an image style.Comment #2
steinmb CreditAttribution: steinmb commentedComment #3
steinmb CreditAttribution: steinmb commentedClosing due to no activity