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

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

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