Support » Plugin: Image and video gallery from Google Drive » Lightbox question

  • Hello there! Thank you for this nice plugin.
    How to display the original resolution of photos in lightbox? My photo is 500*900 but it is displayed smaller to fit the screen height. I tried to do this by changing the value of image size option in setting with no success, images displayed smaller and blurred and there is no option to zoom or no button to show the original resolution with scrawling ability. I also tried to use CSS to force images be displayed in 100% height and 100% width but It did not work.

    thanks for your time!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    you should be able to change the resolution on the photos in the lightbox by changing “Image size” under “Image popup” in the advanced settings.

    Thread Starter ranjbaran

    (@ranjbaran)

    No, the “Image size” under “Image popup” option just Controls the maximum size of images not minimum size! It’s default value is 1920 how I should change it to show my image in original resolution which is width: 500 and height: 900 ? now it is displayed at 300*540

    thanks for quick response

    • This reply was modified 1 month, 1 week ago by ranjbaran.
    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    now that is weird – images should always be displayed in their original size if they are smaller then the maximum (it really does control the maximum…)

    Could you please give me a link and a screenshot of the settings? If you’re uncomfortable with posting them here, you can also send it over at developer@dedic.eu

    Thanks,
    Marek

    Thread Starter ranjbaran

    (@ranjbaran)

    Hello Marek,

    Sorry, I just testing now and it’s not online yet but you can see the issue using any picture which it’s height is larger than it’s width like mine(500*900). I guess the cause of this problem is the js code renders the height and width of images based on screen size written for responsiveness but I couldn’t figure out where it is to play with, although I’m only familiar with PHP and CSS! I believe if you add a piece of code for controlling the minimum size of image popup, the issue would be solved.
    I really appreciate you for the time you spend to help users of your useful plugin.

    Regards

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    please take a look at https://github.com/skaut/skaut-google-drive-gallery/pull/1117 – I’ve found an issue where the image size would be reduced by about 10%. That, however, probably doesn’t explain what you’re seeing…

    I can’t go forward much more without seeing it in action.
    Marek

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.