Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: SALocalcom on May 15, 2019, 11:10:22 AM

Title: Shows code?
Post by: SALocalcom on May 15, 2019, 11:10:22 AM
When I attach an image, why does it show the code:

69cb750rcmbl.jpg

in the post, then the image below the post? ..or actually the thumbnail.

Thanks
Title: Re: Shows code?
Post by: SychO on May 15, 2019, 11:19:17 AM
Admin -> Forum -> Attachments & Avatars -> Attachements Settings ->  Do not show attachments under the post if they are already embedded in it.
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 11:26:37 AM
Thanks, I did that and now all I see is a download link.  Don't see the image.

I've also enabled just the bbc that involves images.
Title: Re: Shows code?
Post by: Illori on May 15, 2019, 11:29:27 AM
link to where you are having this issue?
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 11:36:30 AM
I have it set so guests can see attachments.    I can change it.
Title: Re: Shows code?
Post by: SychO on May 15, 2019, 11:37:57 AM
Quote from: SALocalcom on May 15, 2019, 11:36:30 AM
I have it set so guests can see attachments.    I can change it.

yes a link to the exact post would be helpful to understand the problem
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 11:38:53 AM
Ok, I changed the permission.

https://salocal.com/saf03/index.php?topic=9.0

Thanks
Title: Re: Shows code?
Post by: SychO on May 15, 2019, 11:44:14 AM
does that happen with all attachments ? whether "Do not show attachments under the post if they are already embedded in it." is on or off ?
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 11:50:58 AM
Yes, but I've only tried 2.

If I "show" image under post, then I get the thumbnail, under the post and the code shows as I indicated above.
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 11:57:11 AM
Ok, I got it...I think.

Just different settings.

Thanks!

I took off resizing of images.  I hope it will still resize images that are over my 700 x 700pxl limit.
That's what I'm after.

Does the software do that automatically?  If not most people won't go to the trouble of doing it themselves.
.
Title: Re: Shows code?
Post by: SychO on May 15, 2019, 12:13:11 PM
Quote from: SALocalcom on May 15, 2019, 11:57:11 AM
Ok, I got it...I think.

Just different settings.

Thanks!

I took off resizing of images.  I hope it will still resize images that are over my 700 x 700pxl limit.
That's what I'm after.

That shouldn't happen, It might be a mod messing with the parsing of attachments,

Quote from: SALocalcom on May 15, 2019, 11:57:11 AM
Does the software do that automatically?  If not most people won't go to the trouble of doing it themselves.
.

It will resize it on the html level afaik
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 12:18:10 PM
I think I remember a setting to let html resize the image, but wasn't that 2.0.15?

I'll look for that setting in 2.1 rc2.  No that setting is not in the newer version.

My only mods are: tiny portal, ad management, zen blocks.

They all installed without issue.
Title: Re: Shows code?
Post by: SALocalcom on May 15, 2019, 12:54:24 PM
I think it is resizing.....