Image Effects
#1105
Replies: 2 comments 2 replies
-
|
Works for me with latest versions of the theme and Hugo. Please note that I need access to your sources to further troubleshoot this issue. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Ah, ampersand!
On 9 Jun 2025 00:55, Sören Weber ***@***.***> wrote:
Only SVGs. I got 2 png files inline very nicely!
I am not sure, if we are on the same page. inlinecontent is for SVGs and prints the SVG XML into your HTML.
dataurl can put any image into your HTML as a data url (this works for SVG too, and you may mistake this as inlining?)
But that aside, how do I get a classes= clause and another attribute (e.g. height or width) in the same argument?
Just don't use classes but the image effects in query parameter as shown on: https://mcshelby.github.io/hugo-theme-relearn/authoring/linking/imageeffects/index.html

—
Reply to this email directly, view it on GitHub<#1105 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BOVVHRBAOU6RHMAPMPPRVI33CSWKJAVCNFSM6AAAAAB626L3USVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBQGQZTIOA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For some reason, although I have set imageEffects.inlinecontent=true in my hugo.toml, the only way I can get inline images is by adding
?classes=inlineto my link parameters. However, if I do that I can't work out the syntax for also specifying width or height. Can anyone help?BTW: I also specified
shadow = truein my hugo.toml and that works just fine!Beta Was this translation helpful? Give feedback.
All reactions