ElkArte Community

Project Support => Support => Topic started by: Zee09 on June 28, 2022, 09:59:25 am

Title: Picture Posting
Post by: Zee09 on June 28, 2022, 09:59:25 am


Is there a way to post pictures with no message content.
I have to post a . (period) or an emoji to post a picture with no text.
Thanks all.
Title: Re: Picture Posting
Post by: Spuds on June 28, 2022, 10:14:57 am
I assume it give the message body was left empty error? 

Seems like we could add a check for attachments + text before setting that notification.  I think it would require edits to both the form submittal function (JS) as well as the post controller.  But right now you need to add some text.
Title: Re: Picture Posting
Post by: radu81 on June 28, 2022, 10:46:03 am
Not exactly what you are asking but you can post your picture as inline attachment
Title: Re: Picture Posting
Post by: Zee09 on June 28, 2022, 12:34:18 pm
Thanks as always
@spuds  yes I use a period, but it is no issue except for new members who come from other forums like Xenforo.
Yes, I get an error until I correct it with something in the text line
Title: Re: Picture Posting
Post by: Steeley on June 29, 2022, 10:34:11 am
I put a "hidden message" in the text - "hidden", by changing the text color to white to match the background.

Shhhhh... don't tell anyone.. Let them find it.

Might as well have some fun with it..
Title: Re: Picture Posting
Post by: Zee09 on June 29, 2022, 12:19:29 pm
Quote from: Steeley – I put a "hidden message" in the text - "hidden", by changing the text color to white to match the background.

Shhhhh... don't tell anyone.. Let them find it.

Might as well have some fun with it..

You got me wondering... I hate signatures where people list 50 things on every post, but they could
directly post a picture without any issue..right?
Edit
Just tried it- it did not work..
Title: Re: Picture Posting
Post by: radu81 on June 29, 2022, 07:15:46 pm
(Link-10040)
Title: Re: Picture Posting
Post by: radu81 on June 29, 2022, 07:16:50 pm
in the post above there is no text inserted, only an inline image
Title: Re: Picture Posting
Post by: Steeley on June 30, 2022, 12:58:54 am
Quote from: radu81 – in the post above there is no text inserted, only an inline image

Probably because the code for making it "inline" is considered "text"?
Title: Re: Picture Posting
Post by: radu81 on June 30, 2022, 02:21:29 am
yes ;)