Image resizing - BBCode update?

Discuss things related to this website and ask questions about the forum. New members can introduce themselves here too. Announcements will also be posted here. Note topics are auto pruned if not viewed within 30 days.
Post Reply
User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

Image resizing - BBCode update?

Post by cieply »

is it possible to update bbcode so it support image resizing like described here? :
http://www.bbcode.org/examples/?id=10

sometimes I want to add an image from inet and it's to big or too small so it would be better to resize it but unfortunately doesn't work

any boss could do something like that?
l'aria fresca,
vino puro, ...

User avatar
Arokhs Twin
Site Admin
Posts: 1295
Joined: Wed Jul 18, 2001 9:36 pm
Location: United Kingdom
Contact:

Re: BBCode update?

Post by Arokhs Twin »

Seems image resizing is not supported in this software without 3rd party mods. Hopefully it will get added in the future. So I added a custom code as below:-

Code: Select all

[rimg width={NUMBER1} height={NUMBER2}]{URL}[/rimg] 
Example:-

original Image

Code: Select all

 [img]http://www.arokhslair.net/images/arokh.jpg[/img]
Original resized to 50x50

Code: Select all

[rimg width=50 height=50]http://www.arokhslair.net/images/arokh.jpg[/rimg]
I also edited the post title to make it easier for others to find.
By fire and by blood I join with thee in the Order of the Flame!
Webmaster of Arokh's Lair

User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

done

Post by cieply »

I've just checked it and it works L)
thanks
l'aria fresca,
vino puro, ...

User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

Re: Image resizing - BBCode update?

Post by cieply »

is there a chance to get it back working after last renovation of site?
pretty please
l'aria fresca,
vino puro, ...

User avatar
Arokhs Twin
Site Admin
Posts: 1295
Joined: Wed Jul 18, 2001 9:36 pm
Location: United Kingdom
Contact:

Re: Image resizing - BBCode update?

Post by Arokhs Twin »

It seems to be working for me. What style & web browser are you using?



Original resized to 75x75 using above code in original post, tested with all styles available. I have enabled BBCode in signatures as that was disabled in case you are trying to add a signature image. HTML remains disabled for signatures.
By fire and by blood I join with thee in the Order of the Flame!
Webmaster of Arokh's Lair

User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

Re: Image resizing - BBCode update?

Post by cieply »

my bad, I found my mistake - it was a space between [rimg] http://example.com/sample.pic[/rimg] tags and url

thanks anyway
l'aria fresca,
vino puro, ...

User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

Is it still working?

Post by cieply »

I noticed it is not working any more. Is that a problem to restore that functionality?
l'aria fresca,
vino puro, ...

User avatar
Arokhs Twin
Site Admin
Posts: 1295
Joined: Wed Jul 18, 2001 9:36 pm
Location: United Kingdom
Contact:

Re: Image resizing - BBCode update?

Post by Arokhs Twin »

Hmm, it still works for me. Definitely no spaces in the rimg code?
By fire and by blood I join with thee in the Order of the Flame!
Webmaster of Arokh's Lair

User avatar
cieply
Dragon
Posts: 424
Joined: Wed Jun 26, 2013 3:43 pm

-

Post by cieply »

I made a typo. My fault.
It works. Sorry to bother.
l'aria fresca,
vino puro, ...

Post Reply