Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Autotitle in capital letters (its possible?)  (Read 1630 times)

0 Members and 1 Guest are viewing this topic.

kpgmza

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Autotitle in capital letters (its possible?)
« on: September 22, 2011, 06:30:03 pm »

Friends:

I need add a modification to my gallery. Can you helpme?

The registered members of my gallery have put a rule: all photos uploaded must have the title in capital letters. But many users do not respect this rule and the admins have to change or filling manually in each photo. It's possible a little modify to the gallery requires change the incorrect titles (not completed or filled in lowecase) to uppercase or in otherwise the title written in lowercase to be converted automatically to uppercase?

Well.. I hope you can help me...

Thank you very much!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Autotitle in capital letters (its possible?)
« Reply #1 on: September 22, 2011, 06:35:31 pm »

The flash uploader first uploads all files and the user then has to add the title. At this point all files are already in the gallery, so any modification will only work for the simple upload form, which is not very comfortable. Converting lowercase characters to uppercase might be possible, but won't help you if there's no title at all.
Logged

kpgmza

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Autotitle in capital letters (its possible?)
« Reply #2 on: September 22, 2011, 10:07:44 pm »

Thanks for the fast reply...

I understand. I've enabled the flash uploading form... so... we take the option means that the user puts the title in lower case and we need to be automatically converted to uppercase. How can I modify my code?

Thanks!

Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: Autotitle in capital letters (its possible?)
« Reply #3 on: September 22, 2011, 11:56:24 pm »

Why not just change the output / appearance?

Try adding /  testing this on your themes/your_theme/style.css

Find this :
Code: [Select]
.pic_title {
Add this and experiment...
Code: [Select]
font-variant:small-caps;
See this link:
http://www.w3schools.com/cssref/pr_font_font-variant.asp
Pages: [1]   Go Up
 

Page created in 0.063 seconds with 19 queries.