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: Stupid (probably!) question relating to displayimage.php  (Read 2184 times)

0 Members and 1 Guest are viewing this topic.

dianajameson

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Stupid (probably!) question relating to displayimage.php
« on: January 08, 2007, 01:03:43 am »

Hi

This is probably a very silly question but I wish to add a line of text under movies saying "Please be patient whilst movie loads"

At the moment I have the Title and Description shown under the movie as it is playing and wish to add this text in approx the same location but I can't find which file to edit. I have looked through displayimage.php but cant see a suitable place. Am I looking in the wrong file?

Also (and this may be a little more difficult!) I only want the text to show if the file is a movie and NOT if it a picture. Is this possible?

Many thanks

Diana
x
Logged

Nibbler

  • Guest
Re: Stupid (probably!) question relating to displayimage.php
« Reply #1 on: January 08, 2007, 01:14:06 am »

Copy the theme_html_picture() function from themes/sample/theme.php to your theme.php and modify it.

Add your text here

Code: [Select]
$pic_html .= "</object><br />\n";
$pic_html .= "<p align=\"center\">Please be patient whilst movie loads</p>";
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 15 queries.