This attachment is posted in a restricted board:
(Link-3531) Do you see anything?
I hope not. :P
What would you expect to see?
I see no attachment.
Cool, then it works! :P
And I see it :D
I wonder if it should show a default image along the lines "you don't have permissions to see this image" (created on-the-fly for localization).
Would be nicer then just looking like a broken image.
What about " if you can't use it, you can't see it " theory ?
I think one of those new facebook emoji (http://www.ElkArte.net/community/index.php?topic=3387.msg24280#msg24280) might just be the ticket as a default, nope should work fine :P
Probably just the old red circle / slash combo ?
Just to note, but I'll forget, when I did a preview on this post, I got the Circumflex character after the smiley.
That doesn't really work for a picture in a post you can see. Consider:
Testing an inline text file.
(Link-3574) How about actually displaying it for the user? Basically the HTML from server would be a download link (like now) but a script would replace it in a similar vein to the video autoembed.
Attachment blabla.css(this is a link):
html {
background-color: #666;
}
…
PS I'm not saying someone not me should write this. I'm just tossing the idea out there and I suppose I'm effectively volunteering.
Rather interesting idea!
I wonder about a couple of things, though:
1) txt is kind of easy, but if you provide txt then others will ask for pdf "at least", is there anything for them?
2) ... hmmm... no, okay, security should not be such a huge problem, provided the text is htmlspecialchar'ed, right?