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

[Bug]: Question mark comes instead of asset thumbnail in Asset's left grid #16759

Closed
rajeshkumarhm opened this issue Mar 11, 2024 · 3 comments · Fixed by #16886
Closed

[Bug]: Question mark comes instead of asset thumbnail in Asset's left grid #16759

rajeshkumarhm opened this issue Mar 11, 2024 · 3 comments · Fixed by #16886
Assignees
Milestone

Comments

@rajeshkumarhm
Copy link

Pimcore version

11

Steps to reproduce

Go to the Assets section -> Upload an image with capital letter extension name, for ex: "rabbit.PNG" -> Question mark icon will be appeared in left tree instead of thumbnail

Actual Behavior

Go to the Assets section -> Upload an image with capital letter extension name, for ex: "rabbit.PNG" -> Question mark icon will be appeared in left tree instead of thumbnail

Expected Behavior

Go to the Assets section -> Upload an image with capital letter extension name, for ex: "rabbit.PNG" -> Thumbnail should be displayed instead of question mark icon.

@rajeshkumarhm
Copy link
Author

tmp_4438a8e3-f026-4a2f-bd5d-ea8e1179ae38

@kingjia90
Copy link
Contributor

Thank you for reporting!

It's clearly because the file format is uppercase as JPG, which might not be best practice.
If renamed to .jpg it should work fine

@kingjia90
Copy link
Contributor

kingjia90 commented Apr 2, 2024

I've created a PR #16886 that should help and fix it, but in general (by looking at all overall usages) it seems that it would be not recommended to use it as upper cased

@kingjia90 kingjia90 linked a pull request Apr 2, 2024 that will close this issue
@kingjia90 kingjia90 added this to the 11.2.3 milestone Apr 2, 2024
@fashxp fashxp closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants