Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292075

Image Dimensions Validation on Media upload

$
0
0

What are the steps required to reproduce the bug?
Create a new media type using an image field.
Go to manage fields and set Image Resolution restrictions on the image field
Add the media type as a referenced field on a content type
Select 'Media Library' as the widget in the Manage Form Display page of the content type

What behavior were you expecting?
When you go to create a new content of the content type mentioned above and select 'Add Media' to upload an image, it is expected that the upload form will bring all the restrictions from the field settings in media type.

What happened instead?
The upload form only restricted the image upload by file size (in Bytes) and file type but not the image resolution.


Viewing all articles
Browse latest Browse all 292075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>