miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Pictures don't show up without a caption

Author bjcolsn
#1 | Posted: 24 Aug 2014 21:51 
Hi there,
I've noticed that pictures do not show up if i do not use a caption. Since i'm lazy, i often skip this step..

To be more precise :
[img=URL]caption[/img] works fine
[img=URL][/img] does not.

Anything i coud do to correct this ?
Thanks !


Author Paul
Lead Developer
#2 | Posted: 25 Aug 2014 13:06 | Edited by: Paul 
Just use another BB code for this.


Editing templates/main_post_form.html you could achieve that there is inserted non-prompted [imgs] tag.

<a href="JavaScript:paste_strinL('',3,'[imgs]'+prompt('URL:','{$main_url}'+'/'),'[/imgs]','')" onmouseover="window.status='{$l_bb_image}';return true" onmouseout="window.status='';return true"><img src="{$main_url}/img/button_image.gif" style="width:22px;height:22px" alt="{$l_bb_image}" title="{$l_bb_image}" /></a>

Author bjcolsn
#3 | Posted: 25 Aug 2014 19:22 
Thanks Paul !
there's an extra ']' in your code. It works great thanks :) !

Author Paul
Lead Developer
#4 | Posted: 25 Aug 2014 19:41 
Thanks, hopefully I fixed it above. Enjoy :)

Specific miniBB Support Forums / Specific / Pictures don't show up without a caption Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB