test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • ahmetsait Friend
    #150947

    Hi,
    I want to insert an article an image in slideshow with right floating. I have added the image but it comes twice and ones is with black backgraound. I don’t want to this image with balck background to appear. How can I solve this Problem.

    Thank you.


    1. slide
    Saguaros Moderator
    #343308

    Dear ahmetsait!

    please open the file: modules/mod_jaslideshow2/tmpl/default_articles.php and remove code at line 12:
    [PHP] <?php echo $helper->renderImage ($item->title, $item->mainImage, $params, $mainWidth, $mainHeight );?>[/PHP]

    Good luck

    ahmetsait Friend
    #343360

    Unfortunately it doesn’t work. The appearance is the same like before. 🙁

    Saguaros Moderator
    #343464

    dear ahmetsait!

    pls roll back to orginal file.

    and pls open the file: /modules/mod_jaslideshow2/helper.php and find code:
    [PHP]function trimString( $title, $maxchars=60 ){[/PHP]
    and replace:
    [PHP]
    function trimString( $title, $maxchars=60 ){
    $title = strip_tags($title);
    [/PHP]

    Good luck

    ahmetsait Friend
    #343688

    Thank you. it works for the right image in the photo but not for the left image with black background. The image with black background still appears. I want this image to be disappear and the other without background to be appear like in the article originally(for example with right float on the rightside).

    Saguaros Moderator
    #344519

    Dear ahmetsait!

    This image is a thumbnail which the module looking for a source image inside the content of article. the thumbnail has a black background, because source image is a dimension smaller.

    so that you would like display thumbnail (display on the right of slideshow ) without the back background., you must to use a image having dimension greater than thumbnail rendered.

    GOodl uck

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

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

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