close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


uploaded file names need to be lower case

Thread began 10/25/2012 8:23 pm by htm2112 | Last modified 12/06/2012 6:15 am by yagyamc444384 | 1931 views | 2 replies |


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_UploadFiles("WA_UploadResult1", "image", "2", "[FileName]_[Increment]", "JPG:80", $WA_UploadResult1_Params);

makes what is stored in [FileName]_[Increment] lowercase?

Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following code at line 1 of your page:


if(isset($_FILES)) { 
$_FILES as $k => $v) { 
$_FILES[$k]["name"] = strtolower($_FILES[$k]["name"]); 

Sign in to reply to this post


Message to htm2112

Hello htm2112,

I'm Michael a.k.a Yagya from themeforest. . I wanted to ask if you would be kind and able to send me the wordpress version of The Clothes Shop theme please? I posted on the link below but I couldn't find your email address anywhere so am sending you a personal message here..



Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...