Welcome, Guest
Username: Password: Remember me
JO Responsive carousel for K2

TOPIC: Link Image to Article

Link Image to Article 9 years 2 months ago #1667

Hi:
The Jo Responsive carousel for k2 works great but is there a way to link the image to the article. It appears only the text in an active link.

Thank you.
The administrator has disabled public write access.

Link Image to Article 9 years 2 months ago #1668

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello Thomas
Thank you for using our product.
Yes. You can add to link the image to the article. Please help me find and open file: modules/mod_jo_k2_responsive_carousel/tmpl/default.php and go to line 86 and change
<img src="<?php echo $item->imageMedium?>" alt="<?php echo $item->title?>">
To
<a href="<?php echo $item->link?>" title="<?php echo $item->title?>"><img src="<?php echo $item->imageMedium?>" alt="<?php echo $item->title?>"></a>
Or you can send me joomla administrator via contact form and we will help you changed it
Best reagards
Bach Pham
The administrator has disabled public write access.

Link Image to Article 9 years 2 months ago #1669

Thank you for the solution and quick response!

It worked perfectly!
The administrator has disabled public write access.
Time to create page: 0.063 seconds