On 01/09/2023, Invisible Man <[email protected]> wrote:
> Glenn,
> How am I meant to publish images on Mastodon?
> I have this in weewx.conf for the Mastodon extension:
>
> ```
> # comma separated list of up to 4 images
> images =
> '/home/weewx/external_html/daytempdew.png,/home/weewx/external_html/dayrain.png,/home/weewx/external_html/dayuv.png'
> ```
>
> Those paths lead to graphs. I thought they would be appended to the toot,
> like in the image of the README.md
> of https://github.com/glennmckechnie/weewx-mastodon, but that's not the
> case. So, how does it work?
paths and images are declared separately.
In the weewx.conf section, [[Mastodon]] , there are 3 lines relating to images.
In your example, you want these 2.
# complete if uploading images from a local directory
image_directory = /home/weewx/external_html
# comma separated list of up to 4 images
images = daytempdew.png, dayrain.png, dayuv.png
That should work for you, and if it doesn't then review the log for
wxtoot specific messages and include them in a reply.
> This is my mastodon account: https://piaille.fr/@biotmeteo
>
> Thanks,
> Axelle
--
Cheers
Glenn
rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAAraAzjUMV%2BfjBAatY72zqYYWYk0Ojb3gLqTdj6esG5B6BVM9A%40mail.gmail.com.