Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Field collection is not honoring the upload size limit set for image fields.
If I set the upload size limit to be 1MB for an image field, if that image field is embedded within a field collection, users can upload an image of 3MBs, for example.
Comments
Comment #1
chrbak CreditAttribution: chrbak commentedI have the same problem with my collection field that contains an image field with upload size limit to 600KB. A user can upload an image above the size limit...
Comment #2
chrbak CreditAttribution: chrbak commentedSorry my mistake, like administrator you have no file upload limit.
I tried as a simple user and the limitations exists as supposed to be..
It is clarified in the documentation link : function file_validate_size
Comment #3
jmuzz CreditAttribution: jmuzz commentedClosing based on #2.