Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How to locally save youtube preview image?

Started by Alexander Kim 9 years ago · 0 replies · 712 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 Andy Miller, 6 days ago
0 108 6 days ago
General · by lynbor, 1 month ago
3 437 2 weeks ago
General · by lynbor, 3 weeks ago
7 557 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago