getgrav / getgrav/grav-plugin-admin

All media except for images failing to upload in admin media

Open
#1,837 3 comments 0 reactions 0 assignees View on GitHub
more info needed
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

I am having this exact same issue on admin v1.9.12.

Images dragged into the media field trigger a POST event. All other file types do not.

https://discourse.getgrav.org/t/page-media-only-accepts-images/11544/6

_Originally posted by @matthewbecker1990 in https://github.com/getgrav/grav-plugin-admin/issues/1737#issuecomment-590236525_

Contributor guide

Open the contributing guide

Research direction

The report identifies the admin media field and observes that only dragged images trigger a POST; no files or tests are named. Start by reproducing the upload behavior for non-image files and tracing the admin media upload entry point; done means non-image files trigger the expected upload request as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.