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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Apply to content images

Started by ontime 8 years ago · 0 replies · 531 views
8 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 Pedro M, 2 months ago
4 197 2 months ago
Themes & Styling · by Ian, 2 months ago
3 92 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 454 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 47 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 127 3 months ago