Quantcast

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please add a thumbnail option when inserting images

MotorheadMotorhead Member Posts: 1,193

This would be a big help when we want to add screenshots to a post. Currently we all know a large image plays havoc in this site's borders. Horizontal scrollbars abound.

When you're parsing out the BBML, it wouldn't be that much different, would it?


As far as I can tell ....

<img src=URL/file>
would become
<a href=URL/file target=_blank><img src=URL/file width=320 height=240></a>

The only change I see to the database is adding one boolean field to see if you need to wrap the A tag around the image.

I think it would really clean up posts that insert large images. Just my 2 copper pieces....

----------------------------------------------
image
"Some days you just can't get rid of a bomb." -- Batman

Comments

  • MotorheadMotorhead Member Posts: 1,193

    I realize the 320 x 240 wouldn't be ideal in all cases.

    So if the thumbnail option is present, preload the image in JavaScript and then display it at 20% of its original size.....

    I could do it for you if ya want.  I just need your FTP username/password....  image (kidding)

    ----------------------------------------------
    image
    "Some days you just can't get rid of a bomb." -- Batman

Sign In or Register to comment.