PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old August 15th, 2008, 08:20 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2008
Location: Upper Palatinate
Posts: 21
Cool Image Title: capitals or not

If the image title is entered, the initial letter of a word is changed. This causes some trouble, because a small letter is converted to upper case, if it is a single word.
If words are connected with a hyphen, it is vice versa. Is there a chance to switch off this automatism. It may cause confusion because german language is case sensitive. Same wording can have total different meaning depending from use of lower and upper case letters.

Example of what is happening: Veranstaltung im 7 Stern-Braeu - Veranstaltung Im 7 Stern-braeu

Best regards
Stagonolepis

Last edited by stagonolepis2085; August 15th, 2008 at 12:14 PM.
stagonolepis2085 is offline   Reply With Quote
Old August 15th, 2008, 11:59 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Please post an example of this where it is happening so I know where to look in the script thanks.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 15th, 2008, 12:28 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2008
Location: Upper Palatinate
Posts: 21
Quote:
Originally Posted by Chuck S View Post
Please post an example of this where it is happening so I know where to look in the script thanks.
Tour-de-Bier

-> Upload Image - Upload File from your Computer:

-> Image Title - Please enter a title for your file:

That is what I enter: "Veranstaltung im 7 Stern-Braeu"

and that is the result after file is uploaded: "Veranstaltung Im 7 Stern-braeu"

If I correct it before files are processed, result is the same, final description will be: "Veranstaltung Im 7 Stern-braeu".

I can only correct wrong upper or lower case letters it if I edit the image via "Image Tools - Edit Image" - but then there is the other problem.

Best regards
Stagonolepis
stagonolepis2085 is offline   Reply With Quote
Old August 15th, 2008, 05:48 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Well in normal operation I would not see an issue with this but if your having an issue with your foreign language you could try in your upload.php file in the gallery directory either comment out with two // or delete this line and see if that helps

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 16th, 2008, 03:41 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2008
Location: Upper Palatinate
Posts: 21
Quote:
Originally Posted by Chuck S View Post
Well in normal operation I would not see an issue with this but if your having an issue with your foreign language you could try in your upload.php file in the gallery directory either comment out with two // or delete this line and see if that helps

Code:
Content visible to verified customers only.
This eliminates conversion while files are uploaded, next step is processing the files - and afterwards still lower cases are converted to upper cases and vice versa.

Best regards
Stagonolepis


By the way: English is my foreign language.
stagonolepis2085 is offline   Reply With Quote
Old August 16th, 2008, 08:44 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Is this title or is this filename? There are three areas where I beleive where ucwords is used

http://us2.php.net/ucwords

upload.php
functions_gallery_imageedit.php
vba_gallery_admin.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 16th, 2008, 09:31 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2008
Location: Upper Palatinate
Posts: 21
It is always the "Image Title" were letters are changed.

As far as I have understood "ucwords(strtolower($massimageinfo['title'])" converts first letter to an upper case letter and all other letters to lower case ones. And that is happening: "IBM" is converted to "Ibm".

I have found "ucwords" in the above mentioned files and commented it out. Now it seem´s to be ok.

Thank you for helping.

Best regards
Stagonolepis

Last edited by stagonolepis2085; August 16th, 2008 at 10:20 AM.
stagonolepis2085 is offline   Reply With Quote
Old August 16th, 2008, 12:11 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Not a problem
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
None English Image Title uae Installs and Upgrade - vBulletin 3.6x 0 December 4th, 2007 02:30 AM
Code for the title of an image. Sybaris Photopost Pro How Do I...? 0 May 22nd, 2006 02:15 PM
Title and submiter name under the image Damir P Photopost Pro How Do I...? 1 April 7th, 2005 10:58 AM


All times are GMT -5. The time now is 04:38 AM.

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