Problem/Motivation
Images with uppercase extensions (e.g. image.JPG) are not available to use in the Canto browser.
Steps to reproduce
I don't know why some images are uploaded with uppercase extensions, but if they are, try setting up the canto module and you won't find those images to choose.
Proposed resolution
The bug appears to be with the main.js provided by canto, but should be an easy fix.
Additionally, the validation in Drupal needs changing to have strtolower on the extension.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
rob230 commentedThis change allows the images to be found.
Comment #3
rob230 commentedFor the CantoBrowser widget I think it needs this line changing:
Change to:
Sorry I didn't make a patch for this.