Ticket: [X] Image Posting Error: Unsupported Format Issue

@badtuning Just created a ticket
Question: Can't make posts with images on X. "[Error] posting on x Error: Input buffer contains unsupported image format"
Attempted: Using local storage. Trying different image format (webp and jpg) and it still won't post. Posting works when I don't upload an image though.
Working On: X posting
Using Postiz On: Docker-compose via Cosmos-Cloud
Take it from here @Postiz
7 Replies
Support
SupportOP5w ago
@Postiz please help @badtuning
xcons
xcons4w ago
What is the file extension of the file you're trying to add? And are you using local storage as your storage provider?
badtuning
badtuning4w ago
I've tried webp, jpg and gif and they all don't work. I get "[Error] posting on x Error: Input buffer contains unsupported image format" in the docker logs. Also I tried posting on BlueSky and post with images don't work there as well. and yes, I'm using local storage Figured it out. Set up Cloudflare R2 storage and now posting with images work. Should probably mention that image uploading only works with Cloudflare in the installation portion of the docs unless I did something wrong.
Pratik Pathak
Pratik Pathak4w ago
for me, image uploading works via local storage. I setup just yesterday
xcons
xcons4w ago
Yeah, it's most likely your local storage had some permissions problems @badtuning are you Ok with the CloudFlare solution though?
badtuning
badtuning4w ago
I would prefer local I've tried binding the uploads mount with 777 permissions and running the container in privileged, still get the same error
xcons
xcons3w ago
So, if you change STORAGE_PROVIDER back to local, and then try an upload something, then show the Postiz container logs that's the only way we'll be able to debug this

Did you find this page helpful?