I currently don't see any way to refresh the downloaded thumbnail for a video. I'm wondering if there is a way that you have been handling this or if I had just missed a checkbox somewhere to allow this to happen.

Comments

guschilds’s picture

Title: THumbnail isn't updated » Thumbnail isn't updated
Status: Active » Needs review
StatusFileSize
new4.2 KB

Hey jbennett,

The easiest way to delete all YouTube Filed thumbnails is to delete the directory that the module saves its image files in. By default that is sites/default/files/youtube. The easiest way to delete the thumbnail for a single video is to find the file in that directory with the same video ID and delete it. Next time a page is loaded that uses the thumbnail for that video, it will be re-downloaded from YouTube.

There is currently no way to do this within the module settings. I've attached a patch that adds a "Refresh existing thumbnail image files" button to the module settings. This will delete all YouTube Field images in the files directory (as mentioned above) except for those generated with image styles. The message displayed after the button is clicked hints that the imagestyleflush module may help with deleting those versions.

This patch applies to the 7.x-1.3 version. Could you try it? Do you think this button is useful and would help others?

Thanks!

dasginganinja’s picture

guschilds: I tested this patch against 7.x-1.3 and it is working for me. I think it's a nice feature to have and could help others.

  • guschilds committed 1c2658a on 7.x-1.x
    Issue #2349875 by jbennett, guschilds, dasginganinja: Added setting to...
guschilds’s picture

Title: Thumbnail isn't updated » Add setting to delete all thumbnail files so they can be re-downloaded
Version: 7.x-1.3 » 8.x-1.x-dev
Status: Needs review » Needs work

The patch in #1 has been committed to the 7.x-1.x branch. To keep features aligned, this functionality now needs to be ported to the 8.x-1.x branch.

  • guschilds committed cf928fa on 8.x-1.x
    Issue #2349875 by guschilds: Added setting to delete all thumbnail files...
guschilds’s picture

Status: Needs work » Fixed

This has been ported to the 8.x-1.x branch and committed. Both versions now have this feature. Thanks again for the help.

Status: Fixed » Closed (fixed)

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