Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6826
    lore13
    Participant

    Hi,
    is it possible to prevent the drag and drop of files from Mosaic module?
    Let me know,
    Many thanks,
    Lorenza

    #6827
    Rattus
    Keymaster

    what do you mean? if you need fixed amount of columns just set it in gallery settings.

    #6828
    lore13
    Participant

    Hi Rattus, I explain: if a put a photographer portfolio and I don’t like people take picture on their desktop, is there a code I can put avoiding “drag and drop” photos from mosaic gallery?
    Thanks

    #6829
    Rattus
    Keymaster

    Here is what you can do:
    Go to edit gallery and on Advanced settings add code to Custom CSS:

    .gmediaMosaic img.gmMosaicItem_thumb {
        pointer-events: none;
    }

    If you do this then the big image stop open on mouse click. To fix that you should add somewhere to your theme’s js file code below:

    jQuery('.gmMosaicItem').on('click', function(){
        jQuery('> a', this).trigger('click');
    });
    #6830
    lore13
    Participant

    Hi Rattus
    Thank-you for helping me.
    I have to understand where to put the javascript code because for now the theme does not use it… but I have took a good note of the code suggested and I’ll work on it.
    Thank-you again for assistance.
    Lorenza

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Gmedia Gallery WordPress Plugin’ is closed to new topics and replies.
Forum closed. Use forum at Wordpress.org: Gmedia Support Forum