img path is being modified and I dont know why or how to avoid it #4295
Answered
by
sentience
ironfish1000
asked this question in
Q&A
|
Hi, I am using the 11ty / eleventy-base-blog at: If in a .njk partial I have: The output is: IE something is putting content/ in front of the path. Is this is due to the Eleventy image plugin? How do I get the correct URL? |
Answered by
sentience
Jun 13, 2026
Replies: 1 comment 1 reply
|
You can quickly determine if it's Eleventy Image that's doing it by adding <img
src="assets/og-images/CP_20260530_074137.png"
alt="{{ item.data.title | escape }}"
width="300"
height="200"
eleventy:ignore
> |
1 reply
Answer selected by
ironfish1000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can quickly determine if it's Eleventy Image that's doing it by adding
eleventy:ignoreto the tag: