How to resize images using BBCode

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
eagleman
Posts: 213
Joined: Sat Mar 02, 2019 12:10 pm

How to resize images using BBCode

Post by eagleman » Wed Jan 06, 2021 10:30 pm

Hello
I have started to write some posts on my blog, but sometimes I need to post an image and resize it to a more compact size using a percentage.
I have already read the BBCode guide but is not clear on this point.
Where I have to declare the size of the image and what kind of syntax does it use?
Thanks for the explanations.

laborix
Posts: 129
Joined: Sat Feb 16, 2019 3:51 pm

Re: How to resize images using BBCode

Post by laborix » Thu Jan 07, 2021 5:20 pm

eagleman wrote: Wed Jan 06, 2021 10:30 pm... post an image and resize it to a more compact size using a percentage. ...
Please use this coding after insert your image:

Code: Select all

[img=images/your-image.jpg scale=60%]

eagleman
Posts: 213
Joined: Sat Mar 02, 2019 12:10 pm

Re: How to resize images using BBCode

Post by eagleman » Thu Jan 07, 2021 8:44 pm

laborix wrote: Thu Jan 07, 2021 5:20 pm
eagleman wrote: Wed Jan 06, 2021 10:30 pm... post an image and resize it to a more compact size using a percentage. ...
Please use this coding after insert your image:

Code: Select all

[img=images/your-image.jpg scale=60%]
Thanks, it works. Now it will be easier for me to write a post ;)

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

Re: How to resize images using BBCode

Post by Arvid » Sat Jan 09, 2021 12:16 pm

Hi, for more details on the BBCode tags and their parameters, please refer to our wiki.

montore
Posts: 8
Joined: Fri Nov 22, 2024 6:06 am

Re: How to resize images using BBCode

Post by montore » Fri Dec 06, 2024 5:05 am

Resize the image using BBC code you can try this:-
img=images/your-image.jpg scale=60%

This works perfectly for making images compact while retaining clarity. By the way, if you ever need to compress your images before uploading to ensure optimal quality, you can try online tools like jpeg compressor. It's helpful and very straightforward.

montore
Posts: 8
Joined: Fri Nov 22, 2024 6:06 am

Re: How to resize images using BBCode

Post by montore » Sat Dec 07, 2024 6:26 am

Here is one of best online jpeg compressor tool. It supports many formats such as JPEG, PNG, SVG, TIFF, GIF, ICO, and many more.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests