Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author supsystic

    (@supsysticcom)

    Hello!
    If you want to disable popup image for gallery – go to the Main tab with settings, scroll down and find “Pop-up Image” section – you need to disable it https://prntscr.com/b2dknx

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi, sorry for not clarifying my question. I meant this option, which expands the image to it’s original size. I need the popup, but don’t need the expand to original size feature.

    Thanks.

    Plugin Author supsystic

    (@supsysticcom)

    Hi!
    You need to find this file in plugin folder – /gallery-supsystic/src/GridGallery/Galleries/assets/js/frontend.js

    Then find this code –

    .prettyPhoto({
                        theme: 'light_square',
                        allow_resize: true,
                        allow_expand: true,

    you need to replace –
    allow_expand: true,
    with this –
    allow_expand: false,

    Please note that after update the plugin you should to add this corrections again.

    Thread Starter anjanphukan

    (@anjanphukan)

    Hi, I understand that. Thank you. But will it be possible for you to add that option in the gallery setting in your next plugin update? Might be with this option – Enable Image Expand to original Size: Yes/No

    Thanks.

    Plugin Author supsystic

    (@supsysticcom)

    We will try to improve this in one of the next versions in the future.
    In the meantime please do it manually.

    Thread Starter anjanphukan

    (@anjanphukan)

    Instead of doing this in plugin’s core JS file I would like to hide it with custom CSS. Please let me know when you add this feature in your next releases. I don’t think it will be too tough for you to implement. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to disable the image expand option’ is closed to new replies.