Removing Page Header from displayimage.php pages?? Help! Removing Page Header from displayimage.php pages?? Help!
 

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

Removing Page Header from displayimage.php pages?? Help!

Started by ericsj, November 30, 2004, 06:14:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ericsj

Hopefully this question can be answered quick and easy:

I want to remove the page header from the displayimage.php page that comes up when you click on a thumbnail.  I want to be able to have intermediate images sized 700x525, and be entirely visible upon first loading the page in a 1024x768 resolution.  To do this I want to remove the page header.

Current layout:

- Page Header -
- Bread Crumbs -
- Image Navigation Menu -
- Image -
- Rate this Image -
- File Information -
- Add Comment -
- Footer -

Desired layout:

- Bread Crumbs -
- Image Navigation Menu -
- Image -
- etc, etc, etc. -

This would fit the image on the page perfectly.  Is there a way to remove the header on just this page, and leave it in place on the main page?

I was hoping there's just a way to make the pageheader(...) function conditional -- the condtion being that the page calling it *isn't* displayimage.php.  Removing the call to pageheader *does* remove the header, but I lose the theme styles and it's pretty ugly.  I must be close though, right?  Right track. ...  .yes? .  .no?

Even a point in the right direction would be appreciated.  Thanks!!

Joachim Müller

urm, not what I'd request, but the function pageheader is called twice in displayimage.php, you could try commenting it out and insert a custom function instead that doesn't output the navigation, but does the rest the function pageheader usually does.

Joachim