|
|
Joined: Nov 2004
Posts: 18
stranger
|
stranger
Joined: Nov 2004
Posts: 18 |
[img] http://www.jinchess.com/chessboard/?pos=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/img] Trying to post an image that is generated by a script doesn't seem to work. It did in Classic. (We use them for chess diagrams.) Are the img tags limited to URLs with image extensions? Can this be changed to allow links like the above to work? Even html didn't work and it's enabled for mods and admins. Thanks. Mig
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
I am sure that it is because the file extension is missing. If you goto the control panel you are required to enter allowed file extensions for image inserts. But you can use the url insert for it as is. I posted a reply in the test forum where you started at and that works.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Nov 2004
Posts: 18
stranger
|
stranger
Joined: Nov 2004
Posts: 18 |
I don't want a link to the image; I want the image, the chessboard, to appear in the post. That worked in classic with img tags and URLs like this one.
I saw the extension list for attachments, not for image inserts. Where is that? Although it doesn't sound like that will solve it.
Thanks for your help.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I think it's due to the ? in the link
|
|
|
|
Joined: Feb 2007
Posts: 1,294 Likes: 2
Veteran
|
Veteran
Joined: Feb 2007
Posts: 1,294 Likes: 2 |
I don't see a .jpg .gif or .png at the end, that is what it is looking for.
|
|
|
|
Joined: Nov 2004
Posts: 18
stranger
|
stranger
Joined: Nov 2004
Posts: 18 |
That's what I imagined, but it's a script and it is never going to have an extension. But since it used to work in Classic is there any way to either fake this functionality in this version of Threads, perhaps with html, or to have it added in the next update?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I'll have to put in an option. Right now it checks to see if the image is being generated by a script as a security precaution.
If you're comfortable with regex, it's blocked on line 639 of libs/bbcode.inc.php.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Yes a lot of sites have recently been doing this type of coding I guess to cut down on people hotlinking and / or grabbing their images. I've seen other applications that don't like this newer method either. Guess just another growing pain of the Internet.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
|
|
|