Primer on CSP for anyone who cares: https://dev.to/mattferderer/what-is-csp ... bsite-28df
Basically imgur links here will show up as broken due to imgur not being allowed as a source. Perhaps consider allowing google through as well.
springrts.com CSP is blocking imgur as a source
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: springrts.com CSP is blocking imgur as a source
thats by intention:
- spam bots are embedding images from external pages.
- privacy
- external services randomly disappear
- springrts.com is backed up
- spam bots are embedding images from external pages.
- privacy
- external services randomly disappear
- springrts.com is backed up
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: springrts.com CSP is blocking imgur as a source
It's pretty short sighted to think that anyone will happily use the forum uploader. This effectively causes conversation to be less productive. Sure you CAN upload to the forum, but that is literally the least desirable method.
If you want to embed an image properly on the forum you have to attach it, click place inline. Post, right click to get attachment link, remove attachment line, place image link in image tags.
If you want to embed an image properly on the forum you have to attach it, click place inline. Post, right click to get attachment link, remove attachment line, place image link in image tags.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: springrts.com CSP is blocking imgur as a source
Actually you can just:you have to attach it, click place inline. Post, right click to get attachment link, remove attachment line, place image link in image tags
upload, right click filename -> copy link location, paste inside image tag.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: springrts.com CSP is blocking imgur as a source
Relying on external image hosting providers is pretty bad. They are out of your control. I hate it alot in other forums when browsing two year old threads and all those images are gone cause some random image hoster decided to go out of existence.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: springrts.com CSP is blocking imgur as a source
If you do that, unless phpbb fixed something, the image will take forever to load. Forum has been updated several times since this was an issue, so I have no idea if it's still a problem (the link you got was not a direct link to the file).Silentwings wrote: ↑03 Dec 2018, 08:17Actually you can just:you have to attach it, click place inline. Post, right click to get attachment link, remove attachment line, place image link in image tags
upload, right click filename -> copy link location, paste inside image tag.
Let's test
- Attachments
-
- 6cb8b510512acef-a-nw-p.jpg
- (27.8 KiB) Not downloaded yet
Re: springrts.com CSP is blocking imgur as a source
I feel like we've taken two steps back. The attach-image & right-click method Silentwings outlined seems so unintuitive I'll need to save these instructions somewhere.
Spam bots are only visible to mods/admins and they should be dealt with by using proper antispam techniques.
EDIT: And I don't want the "attachment" to be appear in the bottom, so now I have to delete that? What happens if I delete an attachment but an image points there? Well let's see here: viewtopic.php?f=90&t=38465&p=589043#p589043
Spam bots are only visible to mods/admins and they should be dealt with by using proper antispam techniques.
EDIT: And I don't want the "attachment" to be appear in the bottom, so now I have to delete that? What happens if I delete an attachment but an image points there? Well let's see here: viewtopic.php?f=90&t=38465&p=589043#p589043
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: springrts.com CSP is blocking imgur as a source
Teabag seems to have a found a way to make an attachment display as an image, without showing an "extra" attachments bit, but I don't know how he did it...
viewtopic.php?f=11&t=38597#p589046
viewtopic.php?f=11&t=38597#p589046
Re: springrts.com CSP is blocking imgur as a source
I'm a bit upset that it broke a bunch of images in existing threads.
Re: springrts.com CSP is blocking imgur as a source
apparently it even blocks https links from springfiles, like this
https://springfiles.com/sites/default/f ... chroma.jpg
grrrr....
https://springfiles.com/sites/default/f ... chroma.jpg
grrrr....