View Full Version : Suggestion: Image resizing BB code
Ganyu
12-13-2014, 08:57 AM
I was wondering if it'll be possible to implement the BB code which enables images to be re-sized. (I'm pretty sure the merits of having such a code is obvious. XD)
Suicune's Fire
12-14-2014, 05:50 AM
I agree with this! I've searched up before how to do it but the formula didn't work on PXR unfortunately.
Ganyu
12-14-2014, 06:57 AM
What a shame :c
Pokemon Trainer Sarah
12-14-2014, 11:11 PM
Do you know of a vB forum that uses something similar? I have had a look but haven't been able to find anything that would work, either.
Suicune's Fire
12-14-2014, 11:29 PM
Unfortunately I'm not aware of one myself. =/ Why does vB have to be difficult? :C
PTGigi
12-15-2014, 12:05 AM
What about this? http://www.vbulletin.org/forum/showthread.php?t=287476
I can't view the code because I'm not a vBulletin user but it looks like what we're looking for o:
Pokemon Trainer Sarah
12-15-2014, 12:38 AM
Ooh nice find!
http://www.vbulletin.org/forum/showthread.php?t=287476
ray_quazaa Can you get us that code (second post, it seems?)^ so we can try it out?
Ganyu
12-15-2014, 01:53 AM
Or you could try this: http://www.slateport.com/showthread.php?t=63
[imgsize] is what they use. :3
Pokemon Trainer Sarah
12-15-2014, 02:09 AM
Ah okay! BBCode really just takes a HTML code and lets you use it on the forum. So we need the corresponding HTML from where they set it up in their admincp. Which Ray can probably also get for us. xD
ray_quazaa
12-15-2014, 10:33 PM
Ghostwriter; Stealing from SPC is what it's all about. Actually, it's super helpful for us to help each other out. And I can just lift it from their admincp!
BB CODE
http://i.imgur.com/gjZr2qR.gif
HTML
<img width="50%" src="http://i.imgur.com/gjZr2qR.gif">
Pokemon Trainer Sarah, you're better at inserting code than I am. :) I let you admincp this away. :)
Pokemon Trainer Sarah
12-15-2014, 11:21 PM
Thanks Ray, you're awesome! :D I shall set this up.
Okay guys, the code is...
IMAGE URL
Where NUMBER is the number of pixels you want your image to be, in width.
Example, with
[imgsize=30]http://i.imgur.com/VhdLsrl.png
Example, with
[imgsize=200]http://i.imgur.com/VhdLsrl.png
And a reminder, you can find all our BBCodes here: http://www.pokemoncrossroads.com/forum/misc.php?do=bbcode
Ganyu
12-16-2014, 03:44 AM
Awesome! *showers kisses on Ray and Sarah*
Pokemon Trainer Sarah
12-16-2014, 04:56 AM
No worries! Thanks for the good suggestion :D
Powered by vBulletin® Version 4.2.3 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.