MyBB Community Forums

Full Version: Resize of linked images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I tried to find an answer to my question without success.
Maybe I am just blind Dodgy

is there a way to resize the display size of linked images (IMG code).
I know vB has it, so i bet there is a way to do so in myBB as well Smile

Should work like this:

User posts an image using the IMG tags, image is e.g. 1600x1200.
the display size in the post is automatically scaled down to e.g. 800x600 and the image is automatically linked to the full size source which opens in a new window/tab (whatever your browser is).

Is that possible?
This code:
[img=50x50]http://www.php.net/images/php.gif[/img]
Gives you:
[Image: php.gif]

Not automatically linked, but you can add the URL like this:
[url=http://www.php.net/images/php.gif][img=50x50]http://www.php.net/images/php.gif[/img][/url]
Which gives you this:
[Image: php.gif]
Oh, ok... so its about educating users to use this...
wonder if that works Wink

Is there any tweak to get it to a specific max. value?
Not that I am aware of, no. I imagine it would be hard to validate something like that.
Ok, vB somehow does that.
Anyway, thanks so far!
I think what you are talking about with vBulletin is that they resize images if they are over a specified size - I thought you were talking about with the [img=SIZExSIZE] tags. Wink

I guess there must be a way to do it the way the vBulletin plugin does it, I just don't think it exists for MyBB yet.
If you want, have a search for it here at the Mods site, and if you can't find it go ahead and request it. I'm sure many people would like it. Smile
Yeah, thats what i ment.
I have to work on phrasing my questions maybe Toungue

I didn't find smth like that yet, so I'll post a request Smile
(2008-10-08, 04:57 PM)Matt_ Wrote: [ -> ]http://mods.mybboard.net/view/image-resizer-&-optimizer

Give that a whirl.
I have that installed too, does exactly what you want Smile