how to change File Information ? how to change File Information ?
 

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]

Main Menu

how to change File Information ?

Started by enriquei, December 07, 2012, 11:34:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

enriquei

Hi There
how can i change the File Information such as:

Filename:
Album name:
Keywords:

i want to change these words to:
Filename:  -----> Hotel Name
Album name:  ------ Hotel City
Keywords: ------ Hotel Keywords

so how can i change these words?
thanx

Αndré

You either have to edit the language file(s), but as those strings may be also used at other places, it's probably better to edit the function
html_picinfo in displayimage.php.

enriquei

hi there
thanks for your reply
in the displayimage page the word is such as: Filename:
i don't find this in the php file

Αndré

Search for

  • $lang_common['filename']
  • $lang_picinfo['Album name']
  • $lang_common['keywords']
and replace them with

  • 'Hotel Name'
  • 'Hotel City'
  • 'Hotel Keywords'

enriquei

Hi There
i did and i got this error:

Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/website/public_html/photos/displayimage.php on line 130

Αndré

Review line 130, it should look like
$info['Hotel Name'] = htmlspecialchars($CURRENT_PIC_DATA['filename']);

enriquei

its working now thank you

i'm wondering if i can change the title font size (that appear under image )
thanx again