Advertisement:

Author Topic: Shows code?  (Read 496 times)

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Shows code?
« on: May 15, 2019, 11:10:22 AM »
When I attach an image, why does it show the code:

[attach id=6]69cb750rcmbl.jpg[/attach]

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

Thanks

Offline SychO

  • Lead Customizer
  • SMF Hero
  • *
  • Posts: 1,523
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Shows code?
« Reply #1 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.

Imazighen

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #2 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.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,270
Re: Shows code?
« Reply #3 on: May 15, 2019, 11:29:27 AM »
link to where you are having this issue?

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #4 on: May 15, 2019, 11:36:30 AM »
I have it set so guests can see attachments.    I can change it.

Offline SychO

  • Lead Customizer
  • SMF Hero
  • *
  • Posts: 1,523
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Shows code?
« Reply #5 on: May 15, 2019, 11:37:57 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

Imazighen

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #6 on: May 15, 2019, 11:38:53 AM »
Ok, I changed the permission.

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

Thanks

Offline SychO

  • Lead Customizer
  • SMF Hero
  • *
  • Posts: 1,523
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Shows code?
« Reply #7 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 ?

Imazighen

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #8 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.

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #9 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.
.

Offline SychO

  • Lead Customizer
  • SMF Hero
  • *
  • Posts: 1,523
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Shows code?
« Reply #10 on: May 15, 2019, 12:13:11 PM »
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,

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

Imazighen

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #11 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.
« Last Edit: May 15, 2019, 12:31:43 PM by SALocalcom »

Offline SALocalcom

  • Jr. Member
  • **
  • Posts: 159
    • San Antonio Local Community
Re: Shows code?
« Reply #12 on: May 15, 2019, 12:54:24 PM »
I think it is resizing.....