menu

Academic

Chat about Source Themes Academic, the page builder for Hugo 👩‍💻📝🚀

Channels
Team

How to change the size of pictures?

June 4, 2020 at 5:59pm

How to change the size of pictures?

June 4, 2020 at 5:59pm
Is it possible to change the width and height of a picture in the following syntax or otherwise?
{{< figure src="image.jpg" title="A caption" lightbox="true" >}}

June 4, 2020 at 6:23pm
If I recall, size parameters (in units of pixels) such as {{< figure .... width="500" height="600" >}} can be specified for figures
like-fill
2
  • reply
  • like
If I recall, size parameters (in units of pixels) such as {{< figure .... width="500" height="600" >}} can be specified for figures
Or you can also write width="50%" to scale figures in a relative way
like-fill
2
  • reply
  • like

June 6, 2020 at 11:41am
like-fill
1
  • reply
  • like