miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Pictures don't show up without a caption

 
Author bjcolsn
Partaker
#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 !

Bj

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

[imgs]URL[/imgs]
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:','https://www.minibb.com/forums'+'/'),'[/imgs]','')" onmouseover="window.status='{$l_bb_image}';return true" onmouseout="window.status='';return true"><img src="https://www.minibb.com/forums/img/button_image.gif" style="width:22px;height:22px" alt="{$l_bb_image}" title="{$l_bb_image}" /></a>

Author bjcolsn
Partaker
#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 forum rules; otherwise it could be locked or removed 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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑