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

Apply to content images

Started by ontime 9 years ago · 0 replies · 733 views
9 years ago

Hi,
My specific question is related to Lightbox, but it actually quite general:
How can I apply transformations to images/medias that are rendered from a Markdown content block ?

I have the most classic situation, articles displaying images inside their content. And I would like to add to those images Lightboxes so that we could click them.

Obviously, I could display all images using a loop and add the Lightbox functionality. But, it is not an acceptable solution, I need the images to remain inside the Markdown content.

Thanks

last edited 02/12/18 by ontime

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by FrViPofm, 4 weeks ago
4 469 2 weeks ago
Themes & Styling · by johan thomas, 5 years ago
1 799 3 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 656 2 months ago
Themes & Styling · by Sebadamus, 3 months ago
5 677 2 months ago
Themes & Styling · by martynfoster735, 3 months ago
1 640 3 months ago