miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | 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 | Edited by: Paul 
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:','http://www.minibb.com/forums'+'/'),'[/imgs]','')" onmouseover="window.status='{$l_bb_image}';return true" onmouseout="window.status='';return true"><img src="http://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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP