More space between footer and end of page when displaying image More space between footer and end of page when displaying image
 

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

More space between footer and end of page when displaying image

Started by ejgladwin, July 13, 2005, 12:44:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ejgladwin

Hello,

I've noticed that there is less space between the end of a page and the footer when displaying an image than on all the other pages (i.e. the main index page, album pages, etc..).

I've had a look and it seems that on all the pages there is a line which reads

<img src="images/spacer.gif" width="1" height="17" /><br />

between the end of the last table and the start of the footer.  However, this line isn't there when displaying an image, meaning that there is no space between the "leave a comment" box and my footer.

Could somebody tell me how I can insert that line so I can have the same gap when displaying an image as I do on all the other pages?  I had a look in displayimage.php but can't see where I would need to add that line.  Thanks in advance for any help!

Edward ~

http://photos.edgladwin.com/ - Edward Gladwin's Photo Gallery

ejgladwin


kegobeer

How about giving back to the community and explaining what you did?  You may help others in the same predicament.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

ejgladwin

In theme.php I added the following line to the end of function theme_display_image (after all the code for displaying the image, voting, comments, etc.):

echo "<img src='images/spacer.gif' width='1' height='17' /><br />";

And in displayimage.php I changed the end of function slideshow() from

endtable();
pagefooter();


To this:

endtable();
echo "<img src='images/spacer.gif' width='1' height='17' /><br />";
pagefooter();