BB code: [attach]

When creating the Weekend Challenge voting thread (lately) I’m constantly running into the 10.000 character per post limit. Because of that I’m trying to find ways to limit the number of characters per entry. I just noticed that there is an [attach] BB code for displaying attachments within a post. This would be a lot shorter that using and [IMG] + 2 (very long) image URLs.
[noparse]
[attach]499600[/attach]
[/noparse]
BUT, on the BB code explanation page it says:

“The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.”

And that seems to be correct. There is a link to the image - but the preview (thumbnail) is missing.

Is there any other way to make this a little shorter?
[noparse]
https://blenderartists.org/forum/attachment.php?attachmentid=499600&thumb=1
[/noparse]
Thanks for any ideas! :slight_smile:

Ooooh… that is a tough one. I wonder if it’s possible to not include BBcode as part of the character count. There’s a chance that this is a hard limit set by our database. Hopefully not, though.

Sounds great. :slight_smile:

In case it isn’t possible: Do you know of a way to use relative paths for and [IMG]?

“attachment.php?attachmentid=499600”

instead of:

https://blenderartists.org/forum/attachment.php?attachmentid=499600

That would already help a lot.