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

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

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();