Page 1 of 1

How to resize images

Posted: Sun Jul 05, 2020 6:04 pm
by naturenotes
Hi there! I'm using the Flatpress with the Leggero theme for a blog, and wanted to know if there is an easy way to use HTML code to resize an image file uploaded using your uploader tool? Is there a way to do this within the

Code: Select all

[img=imagename.jpg]
.

(I'm trying to make this as easy as possible for multiple people to post entries with several images.)

Thanks!

Karen

Re: How to resize images

Posted: Thu Jul 09, 2020 7:11 pm
by Arvid
Karen, welcome to FlatPress :)

You can easily set the dimensions of images with the width and height attributes of the img tag, simply like:

Code: Select all

[img=image.jpg width=200]
For more details, see the BBCode page on our wiki: https://wiki.flatpress.org/doc:plugins:bbcode

All the best,
Arvid