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

Facebook images

Author Steve Shaw
#1 | Posted: 23 Sep 2014 15:03 
Hi Paul,

Is there a way to use facebook images within MiniBB?
Often, when you right click on a Facebook image via Firefox and select 'Show Image' the URL is not a direct .jpg URL, but it still shows just the image.

Such as: 131_n.jpg?oh=8419333668b6113c1611389b2f185743&oe=5483CC03&__gda__=1422109168_9f1e3d6abc92b0ed8b1aaf2d390518be

This is just the image, but the URL doesn't meet MiniBB's requirements.
Is it possible to change that so the image can be used?


Author Paul
Lead Developer
#2 | Posted: 23 Sep 2014 19:17 
You may change the rule in bb_codes.php, removing .(gif|jpg|jpeg|png) pattern for [imgs] and [img] parts, but then the codes insertion will become absolutely insecure. All normal images must end with their extensions; that rule was introduced because of security terms. Basically, I think, re-copying images like this is a bit out of website rules. In a timely term, they also could change this address and make it unavailable, it looks like a temporary cache or something like this.

There's another, more convenient way of storing such images: copy the image itself on the disk, then re-upload it on forum, using either File Bank either File Upload add-ons. Storing images locally is better in all terms.

Specific miniBB Support Forums / Specific / Facebook images Top

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

 Short link for this topic:

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 ® 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