Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • edd Friend

    Hi there

    I’m displaying images in the Ja content slider and by default the image links to the article and I need to avoid that, I mean: I dont not want that the image links anywhere.
    My image is not linking anywhere, my image is a simple image, so why it creates a link.
    In the admin: Extensions > Module Manager > Ja content slider, there is no option for it, just to avoid link the title but not the image.

    So, please, could some one tell me how can I avoid the link in the image?

    Thanks a lot

    Saguaros Moderator

    Hi edd,

    By default, the image inside this JA Content Slider module will be linkable. If you want to remove it, you can open the file: ROOT/modules/mod_jacontentslider/helper.php

    Then look for this function renderImage and comment this line of code:
    $image = ‘<a href=”‘ . $link . ‘” title=”” class=”ja-image”>’ . $image . ‘</a>’;

    And clean all caches once done.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 5 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum