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

Show a friendly message when trying to upload an image in a format different than .png or .jpg #3975

Closed
RachL opened this issue Jun 26, 2019 · 2 comments · Fixed by #9301
Closed
Assignees
Labels
bug-s4 The bug is annoying, but doesn't prevent from using the platform. Not so many users are impacted. priority We focus on this issue right now

Comments

@RachL
Copy link
Contributor

RachL commented Jun 26, 2019

Description

If you upload an image on a product, or create a product with an .svg image for example, the image won't be displayed. Only .png or .jpg are allowed, but the user does not know it.

Steps to Reproduce

  1. Go to admin/products
  2. Create a product with a .svg image or edit a product image with a .svg file
  3. See the display problem

Animated Gif/Screenshot

image

Severity

bug-s4: it's annoying, but you can use it

Your Environment

  • Version used: v2.1
  • Browser name and version: Firefox 67
  • Operating System and version (desktop or mobile): Ubuntu 19.10
@mkllnk
Copy link
Member

mkllnk commented Jun 14, 2022

This issue has been linked to an error in Bugsnag
ActiveStorage::IntegrityError in active_storage/representations/redirect#show

@mkllnk
Copy link
Member

mkllnk commented Jun 14, 2022

This issue has been unlinked from an error in Bugsnag
ActiveStorage::IntegrityError in active_storage/representations/redirect#show

@jibees jibees self-assigned this Jul 12, 2022
@jibees jibees added the priority We focus on this issue right now label Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-s4 The bug is annoying, but doesn't prevent from using the platform. Not so many users are impacted. priority We focus on this issue right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants