Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing image dimensions / orientation of avif files #6141

Closed
crisgraphics opened this issue Jan 13, 2024 · 3 comments · Fixed by #6143
Closed

Missing image dimensions / orientation of avif files #6141

crisgraphics opened this issue Jan 13, 2024 · 3 comments · Fixed by #6143
Assignees
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Milestone

Comments

@crisgraphics
Copy link

Hello,
when I upload avif files in the panel, the resulting uploads don't have any infos about dimension or orientation.
Is it possible to add that, so that I can use file methods like width(), height() and orientation() etc...?

(Ps: sorry if in advance, if this has been brought up before - couldn't find any related issue.)

Screenshots
avif-example

To reproduce

  1. Go to 'Panel'
  2. Upload an .avif file somewhere
  3. See file info

Your setup

Kirby Version
4.0.3

Your system

  • OS: macOS 13.6.3
  • Browser: FF Developer
  • Version: 122.0b9
@distantnative distantnative self-assigned this Jan 14, 2024
@distantnative
Copy link
Member

Having raised PHP requirement to 8.1 we can actually do that!

@distantnative distantnative added the type: enhancement ✨ Suggests an enhancement; improves Kirby label Jan 14, 2024
@distantnative distantnative added this to the 4.0.4 milestone Jan 14, 2024
distantnative added a commit that referenced this issue Jan 14, 2024
@distantnative distantnative linked a pull request Jan 14, 2024 that will close this issue
5 tasks
@crisgraphics
Copy link
Author

Thank You very much Nico!

@distantnative
Copy link
Member

I have to correct myself though: only seems to work on php 8.2 without compiling special version of php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants