vimeo preview image is not created, the URL of the image (/sites/[sub-domain]/files/styles/media_gallery_thumbnail/public/media-vimeo/19593709.jpg) is not linking to any image.
[EDIT: original issue updated and hopefully clarified]

Media 7.x-1.2
Media: Vimeo 7.x-1.0-beta5+7-dev
Media: YouTube 7.x-1.0-beta3+4-dev
Media Gallery 7.x-1.0-beta8

On remote server (Drupal 7.14 with php 5.4) the preview image is not retrieved (see details below).
On local server on a fresh installation it is.

Below are a few extra details of my remote installation. I will appreciate any help to look for possible database errors or incompatibilities and solve the issue.

- when I select media (from a URL source) the information is saved but there's no preview on the node edit page;
- at this point Drupal logs this error: "Warning: filesize(): stat failed for vimeo://v/[number-of-vimeo-video] in file_save() (line 570 of /usr/share/drupal7/includes/file.inc)."
- besides that, inline video field seems to work fine: the video is loaded from the chosen provider and the node is created;
- no preview image is retrieved and saved on the server, and thus no derivative image is created by Drupal.
- in /admin/config/media/file-types/manage/video/file-display/media_gallery_thumbnail ("media_gallery_thumbnail" is the display I chose for video field in a view) I checked both "Vimeo Preview Image" and "YouTube Preview Image"
- if in "Vimeo Preview Image" and "YouTube Preview Image" I check "None (Original Image)", the original Vimeo or Youtube thumbnail is loaded.
- if in "Vimeo Preview Image" and "YouTube Preview Image" I check any other Drupal-set "Image Style" (for example my custom "video_gallery_img" style), the image is broken because the file is not found: /sites/[my-website]/files/styles/video_gallery_img/public/media-youtube/yjKksb0RruE.jpg is empty and a message is displayed: "Error generating image"
- The error in Drupal logs is: "Unable to generate the derived image located at...." No other error message in php logs.
- /sites/[my-website]/files folder permissions are set to 775 recursively.

Comments

vthirteen’s picture

Priority: Normal » Major

after some research the problem with Vimeo thumbnails can be related to several factors, most of them mentioned in this thread: http://drupal.org/node/1180386

some of them, not related to Media or Media Vimeo modules are:
- permissions on the server
- vimeo videos are set as private.

That's not my case.
besides those two, the rest of possible causes are related to Media or Media Vimeo module.
media_youtube module 2.x-dev has been fixed, but as far as i can see media_vimeo has not.

as far as i can see this is a major issue for media_vimeo module.

vthirteen’s picture

Project: Media: Vimeo » D7 Media
Issue summary: View changes

i had overseen another similar issue that is now mentioned in case of duplicates

vthirteen’s picture

Title: vimeo preview image is not created » Media preview image is not created
Version: 7.x-1.0-beta5 » 7.x-1.2

[EDIT: post removed because most of its contents are now in the first post]

vthirteen’s picture

Category: bug » support
Priority: Major » Normal
vthirteen’s picture

Issue summary: View changes

further details and expanations added

vthirteen’s picture

maybe a duplicate of http://drupal.org/node/1388106 ?

ericjan’s picture

Similar issue here, I can add Youtube video's but the preview images are not created in the media browser and in the preview of the node edit form and node view. Instead I see an image placeholder. Searching for Youtube video's is working from within the media browser, but again I see only image placeholders. The field I have is: Multimedia asset with Media file selector. Before upgrading I had no problems.

I use:

Drupal 7.20
File entity 7.x-2.0-unstable7+37-dev
Media: YouTube 7.x-2.0-rc2+0-dev
Embedded Media Field 7.x-1.0-alpha2

vthirteen’s picture

Status: Active » Closed (works as designed)

in my case the reason was allow_url_fopen set to Off in host's php.
See also here: http://drupal.org/node/1388106#comment-5905994

vthirteen’s picture

Issue summary: View changes

details added