forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: osadnik on October 03, 2004, 02:39:20 pm

Title: different header and footer for images
Post by: osadnik on October 03, 2004, 02:39:20 pm
Hi there
I want to know how can I change header and footer of page with picture, after I click it in some album. Is this posible?
Title: Re: different header and footer for images
Post by: kiig on October 03, 2004, 03:50:18 pm
it's displayimage.php that shows the 'normal' image, - so if you want the normal header at the front-page, - the normal header when you look at the various thumbnails in the album, - and THEN want the header removed when the 'normal' image comes up (which is what I'm experimenting with at the moment, - because I want the 640x480 images to show at the very top of the page, - so 800x600 users won't have to scroll down alot)....

then.... you can remove the call to pageheader(....) and subsequently footer(.....) in displayimage.php

This will actually remove both header and footer from the page, - but it will obviously be without the 'theming' on your site as no tables (not all anyway) are loaded, - so it look's very different, - AND the problem remaining is that you can't click on the image to the 'big' original sized image up (yields java script errors).

I havent' spend that much time with it, - but it would be nice to be able to do a theme that is small enough to be in a 800x600 Iframe.

and if you want to CHANGE it (just read the original post again :-) ) you could again look at the parameters for pageheader in displayimage.php.... I guess it's possible to rearrange some of the elements or turn some of them off it that's what you want.

Kim Igel.
Title: Re: different header and footer for images
Post by: osadnik on October 05, 2004, 11:19:59 pm
thanks for help. works  :-*  ;)