PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.6x (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-6x/)
-   -   Uppercase images (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-6x/135747-uppercase-images.html)

Chris Lang March 8th, 2008 12:26 AM

Uppercase images
 
Is there any way we can keep the uppercase letters in image names?

I know there is one strtolower on the upload.php file... but that doesn't seem to be the right one to change.

Any help?

Zachariah March 8th, 2008 08:28 AM

strtolower(); - all alphabetic characters converted to lowercase

Take a look @ Line 263
Code:

Content visible to verified customers only.
Change to:
Code:

Content visible to verified customers only.
/forums/includes/functions_gallery_imageedit.php

This will only ensure the 1st letter is Cap and leave the rest of the name alone.

Chris Lang March 10th, 2008 02:37 AM

Did that... thanks Zachariah

And I also changed
Code:

Content visible to verified customers only.
to

Code:

Content visible to verified customers only.
but now I can't upload JPG extensions... only jpg is there a way to make it like this

Code:

Content visible to verified customers only.
NEVERMIND... answered my own question with the above code... it works now... and I didn't need to use your code Zachariah... sorry about that I should have made myself clear in the first post.


All times are GMT -5. The time now is 12:57 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97