Back

Image flipped when using file preview endpoint

  • 0
  • Self Hosted
  • Storage
darkmess
20 Mar, 2024, 13:54

I'm baffled... There is this one image that gets flipped when using the file preview endpoint, but not the file view. I can't reproduce it on cloud only on my 1.5.3 self hosted instance. I'm also unable to reproduce with any other image

Image 1 is getFileView Image 2 is getFilePreview

TL;DR
Issue: Image appears flipped when using the file preview endpoint compared to the file view. Developer is experiencing a problem where a particular image is flipped only in the file preview endpoint but not in the file view. This issue is specific to a self-hosted 1.5.3 instance and cannot be replicated with other images. Solution: Check for any inconsistencies between the file preview and view endpoints in the code or configuration related to image display.
darkmess
20 Mar, 2024, 13:58

You can even see it happening from the console, the image is flipped in the bucket file preview but not when I open it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more