Hey everyone,

PhiL from Belgium here. I have got a little problem with my Magazeen lite theme installation. On 'normal' pages all the slideshow images are visible...but they somehow disappear when you click on a node link.

- normal page: http://www.eropuitmetvriendinnen.be/site/tips (slideshow images show up)
- node page:
http://www.eropuitmetvriendinnen.be/site/content/doe-zoals-mick-jagger (no slideshow images)

It seems that the php code to show these images is not present in the node.tpl.php? Or could it be something else? Apart from the speed of the slideshow, nothing has been changed to the slideshow settings.

If you have a clue...it would help me a great deal.

Thanks in advance!
PhiL

Comments

This issue is old, but I have the same problem and the solution is to make a little change in "page.tpl.php" ("templates" folder).

The code that implements the images of the slideshow begins in line 80, and uses relative URLs:

<div class="image_reel">
<a href="#"><img src="<?php print drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide3.jpg" alt="" /></a>
<a href="#"><img src="<?php print drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide1.jpg" alt="" /></a>
<a href="#"><img src="<?php print drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide2.jpg" alt="" /></a>
</div>

If the URLs of the images (lines 81-83) are switched to absolute, the images load in all the pages:

<div class="image_reel">
<a href="#"><img src="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . base_path() . drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide3.jpg" alt="" /></a>
<a href="#"><img src="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . base_path() . drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide1.jpg" alt="" /></a>
<a href="#"><img src="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . base_path() . drupal_get_path('theme', 'magazeenlite')?>/images/slideshow/slide2.jpg" alt="" /></a>
</div>

Probably, a Drupal hardcoder can make it with code more clean. Meanwhile, this works as well. ;)