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

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

Main Menu

how to change File Information ?

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

Previous topic - Next topic

0 Members and 2 Guests 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