Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

kpgmza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
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: 15764
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 novice
  • *
  • Offline Offline
  • Posts: 26
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: 1545
  • 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.021 seconds with 20 queries.