I'm trying to set up my nodes containing embedded youtube videos to display a preview image in the teaser. If I set the image style to "None (Original Image)" it displays fine using the youtube url. If I set it to one of my one of the other image styles, it fails to generate the derivitive because it can't load the original image public://media-youtube/Kbd8X7f1MFc.jpg

Is the preview image supposed to be saved locally? If so, who is supposed to do that? Is the image module supposed to work on a remote image? If so, why are we getting a local url?

Comments

bkat’s picture

It seems to work now after restarting my server. I was getting weird errors in get_headers() in another part of this module which seems to be resolved after restarting apache.

aaron’s picture

Category: bug » support
Status: Active » Fixed

yes, this module downloads the original file so that it can make derivatives of it. The image module is currently incapable of creating derivatives of remote files. Glad that your issue was resolved.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.