Resizing images for forums
Moderator: Neamara
- alethe
- Senior Member
- Posts: 2851
- Joined: Thu Dec 17, 2009 4:39 pm
- Name: [REDACTED]
- Gender: Female
- Location: scadrial
- Contact:
Resizing images for forums
Kind of a question, kind of a suggestion...
Currently, images using the IMG tag do not resize. This means that, in order to fit the image in the forum space, they must be resized manually by the user. I've been doing this via discord previews, but the quality gets lowered drastically.
Is there a way to do this in the forum coding itself? OR is there a setting somewhere that needs to be flipped on for images to be resized automatically to fit in the forum's textbox space?
Currently, images using the IMG tag do not resize. This means that, in order to fit the image in the forum space, they must be resized manually by the user. I've been doing this via discord previews, but the quality gets lowered drastically.
Is there a way to do this in the forum coding itself? OR is there a setting somewhere that needs to be flipped on for images to be resized automatically to fit in the forum's textbox space?
⊷⊷⋋⋱ ✭ ⋰⋌⊶⊶
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
┏_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┓
ARE YOU A JEDI ?
┗_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┛
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
⊷⋋⋱⍣⋰⋌⊶
⋯
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
┏_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┓
ARE YOU A JEDI ?
┗_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┛
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
⊷⋋⋱⍣⋰⋌⊶
⋯
av/sig : fidd/lupe
- Neamara
- WolfQuest Moderator
- Posts: 5887
- Joined: Sat Feb 14, 2009 3:57 am
- Gender: Female
- Location: England, United Kingdom
- Contact:
Re: Resizing images for forums
There is a resize image BBCode we've had for a while, but it wasn't shared publicly due to the lack of restrictions we could impose to prevent abuse, since it doesn't tie into the restrictions of normal IMG tags. As of the last forum upgrade, it's been enabled for Image & Media Tags usergroup members thanks to an added extension.
I'll see if there are any ways to enforce automatic resizing without resorting to that BBCode. (I realize I did say the forum will handle image resizing in the Wolf Artwork instructions sticky, which I'll address -- the error came from thinking attachment logic, not IMG bbcode logic. My bad! )
Code: Select all
[url=Full Size URL][rimg=640]Direct Image URL[/rimg][/url]
Nothing interesting happens.
[XBL] • [Switch SW-7220-7090-5161]
──── ⋆ ✯ ⋆ ────
WQ Wiki • WQ Discord • WQ Reddit
[XBL] • [Switch SW-7220-7090-5161]
──── ⋆ ✯ ⋆ ────
WQ Wiki • WQ Discord • WQ Reddit
Avatar © Dieselpvnk
- alethe
- Senior Member
- Posts: 2851
- Joined: Thu Dec 17, 2009 4:39 pm
- Name: [REDACTED]
- Gender: Female
- Location: scadrial
- Contact:
Re: Resizing images for forums
okie, lemme try this out real quick...
well it previews correctly. let's see if it stays the same when i hit the real submit...
edit: oh perfect! thank you for plugging that in neam!
well it previews correctly. let's see if it stays the same when i hit the real submit...
edit: oh perfect! thank you for plugging that in neam!
⊷⊷⋋⋱ ✭ ⋰⋌⊶⊶
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
┏_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┓
ARE YOU A JEDI ?
┗_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┛
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
⊷⋋⋱⍣⋰⋌⊶
⋯
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
┏_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┓
ARE YOU A JEDI ?
┗_ _ _ _ _ _ _ _ _ _ _ _ ⋯⋯⋯_ _ _ _ _ _ _ _ _ _ _ _ ┛
┉┉┅┅╍╍━━━━━━━━━━╍╍┅┅┉┉
⊷⋋⋱⍣⋰⋌⊶
⋯
av/sig : fidd/lupe
Re: Resizing images for forums
I was actually trying to work out which resize code this forum uses the other week so I'm really glad this got brought up. Thanks!
avatar by LupinzPack
- DaniBeez
- Senior Member
- Posts: 601
- Joined: Fri Jul 28, 2017 8:15 pm
- Gender: Female
- Location: Canada
- Contact:
Re: Resizing images for forums
Wait, I thought too-large images were already being automatically resized with respect to width on the forums? I wasn't doing anything special on my phone photography thread for resizing, for example. Good to know there is a manual option, though. Just confused about if automatic resizing is happening or not?! Is it only occurring in certain areas?
DaniBeez
___Community member since 2010
___Avatar by Sambhur
___Community member since 2010
___Avatar by Sambhur
Re: Resizing images for forums
I was actually under this impression as well and am also curious to know the answer. I only wanted to know about manual resizing for my own convenience/preference ahaha.DaniBeez wrote: ↑Fri Aug 20, 2021 10:17 amWait, I thought too-large images were already being automatically resized with respect to width on the forums? I wasn't doing anything special on my phone photography thread for resizing, for example. Good to know there is a manual option, though. Just confused about if automatic resizing is happening or not?! Is it only occurring in certain areas?
avatar by LupinzPack
- Neamara
- WolfQuest Moderator
- Posts: 5887
- Joined: Sat Feb 14, 2009 3:57 am
- Gender: Female
- Location: England, United Kingdom
- Contact:
Re: Resizing images for forums
Well, we can certainly test that... here's a 1920x1080 screenshot using vanilla image tags.
I've checked the result in each of the installed styles. It does!
I know older board versions didn't auto-resize anything, so it's nice to know that phpBB is capable of it now. I'm going to leave rimg tags available in case anyone wants to use it for manual on-site resizing.
I've checked the result in each of the installed styles. It does!
I know older board versions didn't auto-resize anything, so it's nice to know that phpBB is capable of it now. I'm going to leave rimg tags available in case anyone wants to use it for manual on-site resizing.
Nothing interesting happens.
[XBL] • [Switch SW-7220-7090-5161]
──── ⋆ ✯ ⋆ ────
WQ Wiki • WQ Discord • WQ Reddit
[XBL] • [Switch SW-7220-7090-5161]
──── ⋆ ✯ ⋆ ────
WQ Wiki • WQ Discord • WQ Reddit
Avatar © Dieselpvnk
Re: Resizing images for forums
Awesome, thanks Neam! And yeah, I still think that manual resizing is still very needed for stuff like non-landscape images lmao.
avatar by LupinzPack
- DaniBeez
- Senior Member
- Posts: 601
- Joined: Fri Jul 28, 2017 8:15 pm
- Gender: Female
- Location: Canada
- Contact:
Re: Resizing images for forums
Thanks, good to know
DaniBeez
___Community member since 2010
___Avatar by Sambhur
___Community member since 2010
___Avatar by Sambhur