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)

CommentFileSizeAuthor
GenerateThumbnail.patch849 bytesnbourdial
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brunodbo’s picture

Issue summary: View changes

Is 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.

steinmb’s picture

Status: Needs review » Postponed (maintainer needs more info)
steinmb’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing due to no activity