Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Apply to content images

Started by ontime 9 years ago · 0 replies · 688 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, 15 hours ago
1 29 2 hours ago
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 481 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 460 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 490 2 months ago