Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Apply to content images

Started by ontime 9 years ago · 0 replies · 654 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 stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 3 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago