Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: ColinJM on April 12, 2024, 07:57:40 PM

Title: Images imbedded vs Attached?
Post by: ColinJM on April 12, 2024, 07:57:40 PM
Hi All,
Is there a way to do the following

Imbed (via IMG tag) all images - display original width up to 1040 pix

Attach - use thumbnails and carousel.

Here's my current settings which thumbnails everything - even imbedded images.

Title: Re: Images imbedded vs Attached?
Post by: ColinJM on April 12, 2024, 08:55:07 PM
kind of like this post https://www.simplemachines.org/community/index.php?topic=588617.0 but using a carousel for the attachment at the bottom - appears this forum uses a lightbox plug in or some code to override the default carousel.
Title: Re: Images imbedded vs Attached?
Post by: Kindred on April 12, 2024, 09:12:58 PM
We don't have a carousel as part of smf core...
Title: Re: Images imbedded vs Attached?
Post by: ColinJM on April 12, 2024, 09:25:42 PM
Quote from: Kindred on April 12, 2024, 09:12:58 PMWe don't have a carousel as part of smf core...
Thanks for the quick response Kindred - this is what I have in my forum with the above settings and attachments - like I said the max size for thumbnails seems to also control imbedded images in addition to attachments ie make no distinction - you might refer to it as a slideshow?
Title: Re: Images imbedded vs Attached?
Post by: Kindred on April 13, 2024, 04:56:44 AM
No... as defined in the settings, smf will display attachments thumbnails under/after the post, if that is your setting... and those thumbnails will display the full image if clicked. But it's just a list... there is no carousel or slideshow.
That is core smf... as it behaves on THIS site here...(simplemachines.org)

As of 2.1, users can ALSO choose to include attachments inline inside the post-content... and can also, as always, include EXTERNAL images inside an img bbc tag.

If you have some other behavior,  then you modified something.


The max width is defined here

index.php?action=admin;area=postsettings;sa=posts

index.php?action=admin;area=manageattachments;sa=attachments

Oddly, it seems that the same setting may be in two places...
Title: Re: Images imbedded vs Attached?
Post by: ColinJM on April 14, 2024, 02:58:05 AM
OK Thanks Kindred.
Title: Re: Images imbedded vs Attached?
Post by: Steve on April 14, 2024, 06:41:42 AM
Marking solved unless @ColinJM says different.
Title: Re: Images imbedded vs Attached?
Post by: ColinJM on April 14, 2024, 11:26:09 PM
Thanks Steve.