How to resize images

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
naturenotes
Posts: 1
Joined: Sun Jul 05, 2020 5:55 pm

How to resize images

Post by naturenotes » Sun Jul 05, 2020 6:04 pm

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

User avatar
Arvid
FlatPress Coder
Posts: 92
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: How to resize images

Post by Arvid » Thu Jul 09, 2020 7:11 pm

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
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜


🇩🇪 Habe aktuell für meinen Arbeitgeber hier im Ruhrgebiet eine Stelle zu besetzen! 🇩🇪
- Softwareentwickler (Webanwendungen) - unbefristet, sofort

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest