Seasonal gallery on responsive site

I tried it, but still nothing.

My actual seasonal.php reads as follows:

<?php $images = array(1 => 'winter1.jpeg', 2 => 'winter2.jpeg, 3 => 'winter3.jpeg', 4 => 'winter4.jpeg', 5 => 'spring1.jpeg', 6 => 'spring2.jpeg', 7 => 'spring3.jpeg', 8 => 'spring4.jpeg', 9 => 'summer1.jpeg', 10 => 'summer2.jpeg', 11 => 'summer3.jpeg', 12 => 'summer4.jpeg', 13 => 'fall1.jpeg', 14 => 'fall2.jpeg', 15 => 'fall3.jpeg', 16 => 'fall4.jpeg'); header('Content-type: text/css'); ?>

#seasonalpicture {
background-image: url(<?php print($images[date('n')); ?>);
background-size: cover;
background-position: center;
}

It is (and has always been) uploaded (FTP) as follows: /public_html/Resources/seasonal.php

The page is responsive and also has WebYep CMS on it. Could that be a factor?


freewaytalk mailing list
email@hidden
Update your subscriptions at: