#4480·pocketbase

Adding image dimensions (width and height) as header/meta attributes

Author: Fractal-TessCreated Mar 3, 2024Updated Dec 29, 2025

Hey there,

Would you consider appending a header to the response of file requests that are common image extensions to indicate their dimensions?

For example, I was working on my gallery app, and I needed to know the dimensions of the image I was displaying to apply some logic. However, it seems that to get to the dimensions information, I would need to download most of the file chunks and try to parse them.

Anyway, do let me know if I'm missing something very obvious, but otherwise, cheers!