Open giancarlobi opened 4 years ago
Gracias Giancarlo!
El El sáb, 13 de jun. de 2020 a la(s) 05:53, Giancarlo < notifications@github.com> escribió:
Assigned #47 https://github.com/esmero/webform_strawberryfield/issues/47 to @DiegoPino https://github.com/DiegoPino.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/esmero/webform_strawberryfield/issues/47#event-3440651885, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU7ZZ6Q2XAZJHHNR2MLCL3RWNEATANCNFSM4N45LLFA .
-- Diego Pino Navarro Digital Repositories Developer Metropolitan New York Library Council (METRO)
This adds a bit more info to the issue https://stackoverflow.com/questions/21534729/show-custom-text-for-applied-file-type-filters-on-file-dialog-to-upload-particul
Editing object by webform, I cannot upload a JP2 file by Chrome and Firefox because both don't show file with .jp2 extension into file system browser. @DiegoPino investigate and found that the HTML call includes
accept=“image/*"
but both browsers don't have "image/jp2" into option list. In addition @DiegoPino checked that if we have an explicit request into HTMl asaccept="image/jp2,image/*"
(by Chrome Dev tools) then it works. He suggests two solutions:accept="image/jp2,image/*"