Uploads - How to stop changing case

5 posts by 3 authors in: Forums > CMS Builder
Last Post: June 1, 2013   (RSS)

By theclicklab - May 30, 2013

Hi there, when we upload files, the file names are converted to lowercase. How do we turn this off? Many thanks, Jan

By gkornbluth - May 31, 2013

Hi Jan,

Just curious, why would you want this?

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By theclicklab - May 31, 2013

Because we are using this particular cms as a file repository and images get exported out to separate ecommerce stores where all the skus and image references are in upper case. This means we either have convert our ecommerce stores over to lowercase or manually rename every image. 

By gkornbluth - May 31, 2013 - edited: May 31, 2013

Hi,

Just a guess at an approach.

In the file lib/upload_functions.php there are 5 instances of strtolower that change case to all lower case. One has the note: //  file names are saved in lower case for better cross platform compatibility

Make a backup of the file and then see if you can remove some or all of them without breaking things.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php