Author Topic: www.kepek.ch  (Read 1791 times)

lcapt

  • Guest
www.kepek.ch
« on: December 05, 2006, 09:53:13 AM »
Hello,

This is my second website with WebsiteBaker (the first is for testing purpose only). I have making that for a swiss-french photographer.

You can show it at: http://www.kepek.ch

I use "another image galery" module but i have making some change like auto-insert another image at the bottom of each picture (signature) and resize image to 500px in addition to thumbnails.

i have add a little function to change the top banner at each season and include it on the template:
Code: [Select]
// season change the 21 ( it is not the real day but a good approach )
function season() {
$limits=array('/12/21'=>'winter.jpg', '/09/21'=>'autumn.jpg', '/06/21'=>'summer.jpg', '/03/21'=>'spring.jpg', '/01/01'=>'winter.jpg');
foreach ($limits AS $key => $value) {
$limit=date("Y").$key;
if (strtotime($adate)>=strtotime($limit)) {
return $value;
}
}
}
Come back the 21th december to see if it work  :-)

Actually i am working on the template because the actual is too "JoomlaNation like".

Regards,

Lionel

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: www.kepek.ch
« Reply #1 on: December 05, 2006, 10:50:57 AM »
Hi Lionel,

does look quite good :-)

Quote
I use "another image galery" module but i have making some change like auto-insert another image at the bottom of each picture (signature) and resize image to 500px in addition to thumbnails.

Care to share this "updated" gallery or give us the changes so we can implement it?

Also the idea with the seasonal banner is quite good, thanks for sharing that.

cheers

Klaus

Offline bgg

  • Posts: 103
Re: www.kepek.ch
« Reply #2 on: February 28, 2007, 06:50:11 AM »
i like the site with pics!