coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dianajameson on January 08, 2007, 01:03:43 AM

Title: Stupid (probably!) question relating to displayimage.php
Post by: dianajameson 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
Title: Re: Stupid (probably!) question relating to displayimage.php
Post by: Nibbler 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


$pic_html .= "</object><br />\n";
$pic_html .= "<p align=\"center\">Please be patient whilst movie loads</p>";