Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2016-03-02 22:57:25

TucsonCowboy
New member
Registered: 2016-03-02
Posts: 1

Attaching Photos to a Post

Hello Everyone - I'm new here, and I just set up my first forum. I'm excited that I finally managed to get it accomplished! I want to be able to use it to offer free items between members, along with the usual type 'community' posts. My question is how does one upload photos with their post, as though they were putting up an ad on Craig's List for selling their lawnmower? Thanks

Offline

#2 2016-04-23 16:46:27

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 231

Re: Attaching Photos to a Post

This is quite a simple task but does require the assistance of another website.

You cannot attach pictures to posts in FluxBB at this stage, so what you've got to do is upload your images to an image hosting website such as Imgur. Copy and paste the URL in the image tags on your forum and post your topic.

That's about all there is to it. smile

Offline

#3 2016-04-25 11:03:20

Ten
Member
From: Minsk
Registered: 2016-04-12
Posts: 37
Website

Re: Attaching Photos to a Post

^ this
Teached by clicking "url tag:"

Last edited by Ten (2016-04-25 11:04:49)


Old Sig_New Sig_NeweN SiggiS
- Rudik3000 From EE big_smile

Offline

#4 2016-06-15 09:53:46

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 231

Re: Attaching Photos to a Post

My pleasure. big_smile

Offline

#5 2017-12-28 15:32:49

Bryan256
Member
Registered: 2017-12-13
Posts: 34

Re: Attaching Photos to a Post

Kind of old thread, but any way. Many forums do not like to allow attachments, images , or files. There are various reasons, security, and then a lot of attachments takes up a lot of space. Using "image tags" solves it.
Bryan-tmb.JPG
Here is how the code looks:

[url=http://www.parrotsandopenbsd.org/birds/images/parrots/Bryan.JPG][img]http://www.parrotsandopenbsd.org/birds/images/parrots/Bryan-tmb.JPG[/img][/url]

It is important to also use thumbnails, a full sized image does not all ways fit on the board very well.

Actually, there is a mod now, that can be added to fluxBB, it enables attachments, I don't use it though.
https://fluxbb.org/resources/mods/simple-image-upload/

I have a little script I use to make the uploading and resizing easier, semi automatic.

for file in *gif; do
    new_file=`echo $file | sed 's/.gif$//'`
    convert -resize 25% $file $new_file-tmb.gif
    #jpegoptim ... $new_file-tmb.png
#mv *.JPG-tmb.jpg tmb
scp *.gif yourserevr@(yourserverIP)/:/var/www/htdocs/images
put *.gif

done

After the image is uploaded, copy/paste the thumbnail into image tags, and the full size image, into the url tags,
It can be changed, to be .png, .jpg or what ever.

Last edited by Bryan256 (2017-12-28 15:49:54)

Offline

Board footer

Powered by FluxBB