Coppermine and logo on a site
-> Coppermine

#1: Coppermine and logo on a site Author: wookiiLocation: France PostPosted: Fri Mar 16, 2007 10:40 am
    ----
Helo World Smile

2 answer :
1) In my site (cms dragonfly 911), i want to view all album image with a "diaporama" function, but in a full page !!!
It's possible ???

2) It's possible to remove a logo of a site for win height and see image per image ?
Actually, i scroll down a windows ti view a entire image.

Thanks a lot and sorry for this bad english Embarassed

#2: Re: Coppermine and logo on a site Author: EestlaneLocation: Estonia PostPosted: Fri Mar 16, 2007 11:26 am
    ----
1) I didn't understand, what is "diaporama" function. Explain.

2) You can define scaled down image's height or width in admin->coppermine

#3: Re: Coppermine and logo on a site Author: wookiiLocation: France PostPosted: Fri Mar 16, 2007 1:16 pm
    ----
Eestlane wrote:
1) I didn't understand, what is "diaporama" function. Explain.
Sorry. This is a slideshow !

Eestlane wrote:
2) You can define scaled down image's height or width in admin->coppermine
Width !

The logo can't be not display via modification on php page ?

#4: Re: Coppermine and logo on a site Author: EestlaneLocation: Estonia PostPosted: Fri Mar 16, 2007 1:29 pm
    ----
First off enter you server speculations

2) So you don't want the pageheader to appear, while viewing picture in coppermine? Did I get it right? I know a solution, if so...

#5: Re: Coppermine and logo on a site Author: EestlaneLocation: Estonia PostPosted: Fri Mar 16, 2007 1:32 pm
    ----
server specifications* Razz

#6: Re: Coppermine and logo on a site Author: wookiiLocation: France PostPosted: Fri Mar 16, 2007 2:46 pm
    ----
Eestlane wrote:
First off enter you server speculations

CMS version : 9.1.1
PHP version : 4.4.2
MySQL version : 4.1.22 (client: 3.23.49)
System : Linux http35 2.4.34-grsec

Eestlane wrote:
2) So you don't want the pageheader to appear, while viewing picture in coppermine?
YES !
Eestlane wrote:
Did I get it right?
It's right !
You are so good Smile

Eestlane wrote:
I know a solution, if so...
I'm pending to your lips Smile

#7: Re: Coppermine and logo on a site Author: EestlaneLocation: Estonia PostPosted: Fri Mar 16, 2007 3:24 pm
    ----
I meant that you should enter your server specs to your profile, you see the enter word in my last post links to the spot where you can enter it.

Anyway, to the point, you have to edit your theme, ok, here's how to:

Open themes/YOUR_THEME/theme.php
Add after
PHP:
'S_SITENAME'   => $sitename,
(or any of these exept the last one) to new line:

PHP:
'NOT_IMAGE'    => !preg_match('/displayimage/', get_uri()),

Open themes/YOUR_THEME/template/header.html and add before header:
PHP:
<!-- IF NOT_IMAGE -->
and after header
PHP:
<!-- ENDIF -->

That's it!
It's a bit {expletive removed} code atm, it could do module name or something check also, beacuse at the moment if whatever module's url contains "displayimage", then it won't show the header. But I just wanted to make as simple as possible.



-> Coppermine

All times are GMT

Page 1 of 1