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

ICO Images Can't Be Shown in Admin or Downloaded via API #484

Open
volomike opened this issue Nov 23, 2020 · 1 comment
Open

ICO Images Can't Be Shown in Admin or Downloaded via API #484

volomike opened this issue Nov 23, 2020 · 1 comment
Milestone

Comments

@volomike
Copy link

  1. Create an Entry of type Default and title Gallery, slug gallery.
  2. Edit it.
  3. Click Media.
  4. Select an ico file like favicon.ico.
  5. Upload it.

You'll see that it doesn't display the image. Also, when you try to download it via the API, it won't let you. But make it a JPG or PNG and you can download just fine.

@Awilum
Copy link
Member

Awilum commented Dec 2, 2020

Thanks for your feedback.

I can reproduce this issue with .ico

Slim Application Error
The application could not run because of the following error:

Details

Type: Intervention\Image\Exception\NotReadableException
Message: Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files.
File: /Applications/MAMP/htdocs/flextype/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php
Line: 59

it is not supported.

need to think how to resolve this

@Awilum Awilum modified the milestones: 0.9.13, 0.9.14 Dec 2, 2020
@Awilum Awilum modified the milestones: 0.9.14, 1.0.0 Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants