Grigg Graphic Services

Problem Linking Background Image to Article

2 posts in this topic

Hi, I'm using the BT Background Slideshow extension as a rotator on the home page, and I wanted to be able to link one of the images to an article on the site.

How do I link specific images in the slideshow to another article? Do I have to link a caption, or can I just make the image itself linked to the article?

Here's the site: development.grigg.com/kadima

I have version 2.4.11 installed.

 

Thanks,

Ryan

 

Share this post


Link to post
Share on other sites

Hello Grigg,

Just open the file:

../modules/mod_bt_backgroundslideshow/tmpl/default.php line 101 replace the code:

<img class="imgslide" src="<?php echo $photo->url ?>" alt="<?php echo htmlentities($photo->title) ?>" />

by:

<a title="<?php echo $photo->title;?>" href="<?php echo $photo->link;?>">

<img class="imgslide" src="<?php echo $photo->url ?>" alt="<?php echo htmlentities($photo->title) ?>" />

</a>

Best regards,

Share this post


Link to post
Share on other sites