Author Topic: BBCode for resizing images  (Read 1337 times)

Urthai

  • Order of the Athanor
  • No Lifers
  • *****
  • Posts: 2024
  • Captain Obvious!!
    • View Profile
    • Hyves
BBCode for resizing images
« on: September 08, 2010, 01:59:39 PM »
Hello, the bbcode for resizing images doesns't seem to work

For example:
[img=100x50]http://www.bbcode.org/images/lubeck_small.jpg[/img]

Source for the code (and other bbcodes) http://www.bbcode.org/examples/?id=10
Urthai - lvl 90 Space Laser Druid

Zusterke

  • Sister of the light
  • Administrator
  • No Lifers
  • *****
  • Posts: 4459
    • View Profile
    • http://www.orderoftheathanor.eu
Re: BBCode for resizing images
« Reply #1 on: September 08, 2010, 02:44:16 PM »
I blame Winter. He told me to use SMF.

Wintermute

  • Legend of Athanor
  • No Lifers
  • *****
  • Posts: 3912
  • Not an Ent
    • View Profile
Re: BBCode for resizing images
« Reply #2 on: September 08, 2010, 03:41:30 PM »
bbcode is not a standard, and is therefor not transferable between forums :) (i dont think the code you pasted works on any of the forums i am on)

this is what this forum has implemented


^^ this works though

edit: keep in mind, that this only resizes in the browser. If the picture is 10 megabyte, it will still download the entire 10 megabyte file. In those cases, i advise to resize first (there are a couple of services that can do it for you)
« Last Edit: September 08, 2010, 03:46:13 PM by Wintermute »
Wintermute - lvl85 Resto/Moonkin Druid || Neuromancer - lvl80 Blood/Unholy DK || Sprawl - lvl76 Bm Hunter

What is the difference between you and a mallard with a cold? One's a sick duck..... I can't remember how it ends, but your mothers a whore!