-
When checking for accessibility, one of the things that bothers me its the warning about image sizes. I search how to do that without including it manually on all included images. I was wondering if there is something on theme level I can do to address that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Nikola can’t do that automagically, and that probably wouldn’t be done on the theme level. It could be done by post compilers, I don’t think reST has an option for this. You could try extending your input format of choice with that feature, or perhaps a filter — but note that reading the images to get their sizes might increase build time a lot (especially if you try to do that with remote images.) |
Beta Was this translation helpful? Give feedback.
Nikola can’t do that automagically, and that probably wouldn’t be done on the theme level. It could be done by post compilers, I don’t think reST has an option for this. You could try extending your input format of choice with that feature, or perhaps a filter — but note that reading the images to get their sizes might increase build time a lot (especially if you try to do that with remote images.)