News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF 2.1 - Custom Image Width/Height Values Sometimes Ignored

Started by GL700Wing, July 18, 2023, 09:41:18 PM

Previous topic - Next topic

GL700Wing

If a custom width/height is specified when an image is inserted inline and the maximum width/height values configured for images in posts in 'Attachment Settings' have lower values the custom values are ignored.

Maximum display width/height configured to 150px.
MaxDisplayWH.jpg

Inline image is configured with custom width of 384px but only displays as 150px.
MaxDisplayWH-150.jpg

If maximum display width/height are configured to more than custom height/width, or to '0', the image displays as per the custom values. 
MaxDisplayWH-0.jpg

This may be working as intended but there is no indication when the insert options are displayed to indicate there are maximum width/height values already set and that the displayed inline image size will not exceed these values.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

m4z

I believe that works as intended (but a hint about that in the upload UI would be helpful).
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: