uploaded file names need to be lower case
I have been having trouble with this off and on. How can you ensure that all files uploaded will be lowercase? If any part of the filename is uppercase, the image does not display.
I found that if you add the following after line 86 in helper.php, you get partway there:
$attemptedFileName = strtolower($attemptedFileName);
Problem is that if the file exists, I have set the option to rename the new file. But the renamed new file does not become lowercase.
So If I am uploading DCSN101.jpg, this fix turns it into dcsn101.jpg. But if I upload it again, it turns into DCSN101_1.jpg.
How can I ensure that
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "image", "2", "[FileName]_[Increment]", "JPG:80", $WA_UploadResult1_Params);
makes what is stored in [FileName]_[Increment] lowercase?