Jump to content

Enable HTML


theend3r

Recommended Posts

It's nice we can [imgur]x[ /imgur] but why not allow us to use full html?

I wanted to embed an imgur album smaller than the regular width="100%" height="550" but it looks like that's not possible, correct me if I'm wrong.

Adding basic html arguments to the existing functions would be enough I guess but simply enabling html would be far better.

Link to comment
Share on other sites

Because permitting HTML is a security risk. Once you enable HTML, any number of JavaScript, XSS, PHP, and many other exploits become easily accessible. Filtering entered HTML for dangerous content is a much more taxing load on a server than simply not permitting it in the first place. By only permitting some HTML objects through the use of BBCode, it's basically a zero-load filter that prevents unsafe code being executed on the forums.

Link to comment
Share on other sites

I suspected as much. In that case would it be possible to implement resizing of some sort? Like [imgur width=50%]x[/imgur]. Although I guess it's probably not worth it since hardly anyone would use it except maybe for some oversized images.

Thanks for the reply.

Link to comment
Share on other sites

They do. theendr wants the ability to make the embed element smaller than it is by default. AFAIK, currently it's impossible to put two side by side, or make them smaller at all... although... it might be possible to botch together a solution using a table -- if you insert a table with invisible borders, then insert an album into each cell, it should (hopefully) auto-arrange them for you. You can freely change the width that way, too.

Not sure how imgur's code would handle that, but it's worth a shot.

Link to comment
Share on other sites

They do. theendr wants the ability to make the embed element smaller than it is by default. AFAIK, currently it's impossible to put two side by side, or make them smaller at all... although... it might be possible to botch together a solution using a table -- if you insert a table with invisible borders, then insert an album into each cell, it should (hopefully) auto-arrange them for you. You can freely change the width that way, too.

Not sure how imgur's code would handle that, but it's worth a shot.

Yep, the table solution should work. Thanks.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...