Area for general discussions, where people can rant and chat about anything.

Forum Image BBCode

Forum Image BBCode

Postby SolarPortal » 20 Mar 2015, 15:59

Since it has been a pain in the rear end to resize an image so it fits on the forum post page.

I have just built this BBCode to get around this problem. It will re size every image to fit on the forum post for the max-width.

Code: Select all
New Image bbcode: Resizes to max width of forum page post.
[image]http://www.linktoMyImage.extension[/image]

old non-resizing:
[img]http://www.linktoMyImage.extension[/img]
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 3 guests

cron