Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to locally save youtube preview image?

Started by Alexander Kim 9 years ago · 0 replies · 795 views
9 years ago

That's my video list template:

TWIG
{% set regexp = '#^https://www.youtube.com/watch\\?v=#' %}

<img src="https://img.youtube.com/vi/{{ page.header.youtube|regex_replace(regexp, '') }}/hqdefault.jpg"

Is there any way to save that preview image locally to Media manager?

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago