~Bunbunmaru News~ > Letters to the Editor
Bug Report Thread
<< < (90/97) > >>
Helepolis:
I wasn't expecting the signature part  :ohdear:  sorry for making you sacrifice your signature. However, it does indeed now show that any img tag during posting is considered 500 Internal Server Error.

Now the main question is, why?
Raikaria:
Posting to confirm troubles with the img tag; specifically in RPG for this occasion.
Tom:
The fix for the IMG tag is here!
When I first heard about it, I immediately realized whats wrong, normally BBCode directly converts to HTML, as is with [ b ], [ i ], and [ s ] tags, however the image tag is special in that it needs metadata in order to function properly, specifically the image width and height so the forum knows if it needs to resize a high definition image to fit a post.  That script has to load the image file, switch on one of the many different formats depending on the header than read the bytes that describe the image's width and height.  This image file decoder is what has stopped functioning, so the workaround is to manually specify the image's metadata as follows:

Code:

--- Code: ---[img width=48 height=48]http://lunarcast.net/img/mystictk/CDGDef.png[/img]

--- End code ---
Which yields the result:


Do make sure to replace the width, height and URL with your image please
Gesh86:

--- Quote from: Tom on March 27, 2019, 04:48:12 AM ---The fix for the IMG tag is here!
When I first heard about it, I immediately realized whats wrong, normally BBCode directly converts to HTML, as is with [ b ], [ i ], and [ s ] tags, however the image tag is special in that it needs metadata in order to function properly, specifically the image width and height so the forum knows if it needs to resize a high definition image to fit a post.  That script has to load the image file, switch on one of the many different formats depending on the header than read the bytes that describe the image's width and height.  This image file decoder is what has stopped functioning, so the workaround is to manually specify the image's metadata as follows:

Code:

--- Code: ---[img width=48 height=48]http://lunarcast.net/img/mystictk/CDGDef.png[/img]

--- End code ---
Which yields the result:


Do make sure to replace the width, height and URL with your image please

--- End quote ---
Thank you very much for this! Can confirm that it was the problem and defining the width and height allowed me to make my screenshot-laden posts.  :]
Fulisha of Light:
I'm getting 500 Internal Server Errors over here. All seem to happen if I'm on a topic that has at least 1 post of mine on the page from what it seems to be. I also keep getting it on my profile and messages, so my access to them is blocked and I can't change anything at all.  :(
Navigation
Message Index
Next page
Previous page

Go to full version