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.
Generated images have mime type image/jpg instead of image/jpeg.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2725425-image-generate-mime-type.patch | 1.78 KB | mfb |
#3 | 2725425-test-only.patch | 934 bytes | mfb |
Comments
Comment #2
mondrakeMakes sense, but I am afraid without a test this will not go in
Comment #3
mfbHere's a test
Comment #5
mfbComment #6
mondrakeLooks good to me, has tests
Comment #7
alexpottCommitted 7f674d9 and pushed to 8.1.x and 8.2.x. Thanks!
Committed to 8.1.x as well because ::generateSampleValue() is not used in run-time code and therefore vey low-risk.