Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • rudy201 Friend
    #127578

    Images in RS Gallery shows popup with description text.
    I have done some formatting of the text. It shows text with tags html.
    How can I turn off this popup window or hide this tags?

    Sorry for my english.
    This is in IE only, FF is ok.


    1. Clipboard01
    Nam Nguyen Phi Friend
    #245648

    Can you give us the URL of your site?
    Regards.

    Sherlock Friend
    #245657

    Hi.
    You must edit at display.class.php(componentscom_rsgallery2templatesmeta)
    Search those lines:

    function _showImageBox($name, $descr) {
    global $rsgConfig ;

    if ($rsgConfig->get('watermark') == true) {
    ?>
    <img class="rsg2-galleryList-thumb" id="thumb1" src="<?php waterMarker::showMarkedImage($name);?>" alt="<?php echo htmlspecialchars(stripslashes($descr), ENT_QUOTES); ?>" border="0" />
    <?php
    } else {
    ?>
    <img class="rsg2-galleryList-thumb" id="thumb1" src="<?php echo imgUtils::getImgDisplay($name); ?>" alt="<?php echo htmlspecialchars(stripslashes($descr), ENT_QUOTES); ?>" border="0" />
    <?php
    }
    }

    Change to

    function _showImageBox($name, $descr) {
    global $rsgConfig ;

    if ($rsgConfig->get('watermark') == true) {
    ?>
    <img class="rsg2-galleryList-thumb" id="thumb1" src="<?php waterMarker::showMarkedImage($name);?>" border="0" />
    <?php
    } else {
    ?>
    <img class="rsg2-galleryList-thumb" id="thumb1" src="<?php echo imgUtils::getImgDisplay($name); ?>" border="0" />
    <?php
    }
    }

    rudy201 Friend
    #245670

    Thank you,
    problem in that point is solved .
    But I can the same to thumbnail in gallery.
    please to help me.


    1. Clipboard02
    Nam Nguyen Phi Friend
    #245715

    <em>@rudy201 48991 wrote:</em><blockquote>Thank you,
    problem in that point is solved .
    But I can the same to thumbnail in gallery.
    please to help me.</blockquote>

    To fix the remain bug, pls open 2 files: thumbs_float.php and thumbs_table.php (in componentscom_rsgallery2templatesja_semantichtml)
    find:

    <img class="rsg2-galleryList-thumb" alt="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>" src="<?php echo $thumb->url(); ?>" />

    change into

    <img class="rsg2-galleryList-thumb" src="<?php echo $thumb->url(); ?>" />

    Goodluck!

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

This topic contains 5 replies, has 3 voices, and was last updated by  Nam Nguyen Phi 16 years, 6 months ago.

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