Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick question on the forum's BBCode  (Read 898 times)

Immortal-D

  • Bay Watcher
  • [Not_A_Tree]
    • View Profile
Quick question on the forum's BBCode
« on: September 14, 2017, 10:48:48 pm »

I've seen a few images posted wherein the picture is automatically scaled down, and clicking it renders it as a blowup in full size.  Does anyone know what code is needed to achieve this?

Egan_BW

  • Bay Watcher
    • View Profile
Re: Quick question on the forum's BBCode
« Reply #1 on: September 14, 2017, 11:31:28 pm »

You can set an image's height and width like this:
Code: [Select]
[img height=42 width=60]https://i.imgur.com/9cBHA8x.png[/img]
When you click on the image then it should toggle to it's normal size:



Also you can just set height or width and the image will scale accordingly.

Code: [Select]
[img height=42]https://i.imgur.com/9cBHA8x.png[/img]


Also it looks like this doesn't work in the preview mode, you'll have to actually post the thing before you can see it in action.
« Last Edit: September 14, 2017, 11:33:15 pm by Egan_BW »
Logged
I would starve tomorrow if I could eat the world today.

Immortal-D

  • Bay Watcher
  • [Not_A_Tree]
    • View Profile
Re: Quick question on the forum's BBCode
« Reply #2 on: September 15, 2017, 07:44:27 am »

Also it looks like this doesn't work in the preview mode, you'll have to actually post the thing before you can see it in action.
Ahh, that explains it.  Gracias :)