Will not allow png upload

Created on 17 March 2023, over 1 year ago
Updated 10 April 2024, 7 months ago

Problem/Motivation

When I try to upload a png image, I get an error that only png, gif, jpg, and jpeg are allowed. I'm uploading a png!

Steps to reproduce

  1. Go to Content -> Owl Carousel 2 list
  2. Click Add Carousel
  3. Give it a name and click Add Image
  4. Click Browse and choose a png
  5. Error is returned. I've attached a screenshot.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇺🇸United States chanelwheeler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @chanelwheeler
  • First commit to issue fork.
  • @ranjit1032002 opened merge request.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India Ranjit1032002

    Created MR!1 for the issue mentioned, please review.
    Thank You.

  • 🇮🇳India gurbakshish

    I have reviewed the issue and MR is working fine at my end. Thanks

  • I am having a very similar issue. On a new Drupal 10 install, I added this module using composer. It installed successfully but when I go to upload different types of supposedly supported files (png, gif, jpeg), I will get the error message. I tried the code changes recommended above and now I can upload a png file but I can ONLY upload a png file. I suppose I can work around that for now but as I'm deciding on what carousel module to use, I would like to know if this is gonna be fixed or if I should move on to a different module. I'm fairly new to Drupal. I'm not a programmer but can edit code. Can someone help me understand why I'm having this problem and, better yet, how to resolve it?

Production build 0.71.5 2024