miniBB Support Forums | 16 years on The Web
miniBB ® 


 | Begin | Register | Reply | Search | Statistics | File Bank | 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:',''+'/'),'[/imgs]','')" onmouseover="window.status='{$l_bb_image}';return true" onmouseout="window.status='';return true"><img src="" 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
 Share Topic's Link

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

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

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 ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.