Advanced search  

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

Pages: [1]   Go Down

Author Topic: More space between footer and end of page when displaying image  (Read 3737 times)

0 Members and 1 Guest are viewing this topic.

ejgladwin

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
    • Edward Gladwin's Photo Gallery

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
« Last Edit: July 13, 2005, 10:12:36 pm by Nibbler »
Logged

ejgladwin

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
    • Edward Gladwin's Photo Gallery
Re: More space between footer and end of page when displaying image
« Reply #1 on: July 13, 2005, 10:07:46 pm »

Solved it myself :)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: More space between footer and end of page when displaying image
« Reply #2 on: July 14, 2005, 02:41:48 am »

How about giving back to the community and explaining what you did?  You may help others in the same predicament.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
    • Edward Gladwin's Photo Gallery
Re: More space between footer and end of page when displaying image
« Reply #3 on: July 14, 2005, 01:58:02 pm »

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.):

Code: [Select]
echo "<img src='images/spacer.gif' width='1' height='17' /><br />";
And in displayimage.php I changed the end of function slideshow() from

Code: [Select]
endtable();
pagefooter();

To this:

Code: [Select]
endtable();
echo "<img src='images/spacer.gif' width='1' height='17' /><br />";
pagefooter();
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.