SMF 2.1 Simple Insert Image

Started by GL700Wing, July 16, 2023, 04:11:05 PM

Previous topic - Next topic

GL700Wing

Link to the mod

SMF 2.1 Simple Insert Image - v1.0

This modification changes the default 'Insert' action so that an image is now automatically inserted inline in a message with a single click (ie, the user is not given the option to specify the image width/height) and images are inserted using the maximum width/height values configured in 'Attachment Settings'.

Note: User's can choose to be given the option to specify the image width/height by enabling the 'Insert images posted inline using custom width/height values' setting in the 'Inline Images' area of the 'Look and Layout' section of their profile.


Release History
v1.0 - 16-Jul-23
o Initial release.


License
Copyright 2023 Kathy Leslie

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Life doesn't have to be perfect to be wonderful ...

peter_mein

What also does not work with your mod is the removal of the appendix. If you click once on the red x and then cancel and try again, it no longer works.

GL700Wing

Quote from: peter_mein on July 17, 2023, 04:23:45 AMWhat also does not work with your mod is the removal of the appendix. If you click once on the red x and then cancel and try again, it no longer works.
The issue you are experiencing has nothing to do with this mod - I have confirmed that the same thing also happens when the mod is not installed.
Life doesn't have to be perfect to be wonderful ...

peter_mein

That's right. But can you not also correct this error directly ?

GL700Wing

Quote from: peter_mein on July 17, 2023, 07:34:44 AMThat's right. But can you not also correct this error directly ?
No - it's a bug with SMF 2.1 and you should report it in the Bug Reports board.
Life doesn't have to be perfect to be wonderful ...

Shades.

ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: