This topic has 10 replies, 3 voices, and was last updated 9 years by Abe.

  • Author
  • #18619
     Patagonia
    Participant

    Hi guys,

    I am not sure if I missed it or if I have optimized my theme too much, but is it correct that there is no lightbox enabled for the blog (and pages?). All images currently link to the files, but they just load in a new page (no lightbox).

    I see a lot of commented out references to ‘prettyphoto’ in several files, should these be enabled? There are no lightbox theme options as far as I could find.

    Thanks!

    #18685
     Patagonia
    Participant

    I tried to enable the following plugins:
    – PrettyPhotomedia, but it did not do anything
    – Royal Prettyphoto: this seems to work, but suddenly I get two image overlays.

    It seems that the prettyphoto.js scripts is not called in KLEO, is that correct? (even though it is in the themefiles, under js/plugins). I tested it with BWP minify switched off.
    It also seems that the prettyphoto CSS is included, is that correct? (That’s why I see two lightboxes when the external plugin is enabled?)

    If so, then KLEO should either have an option to enable prettyphoto (and load the script), or to disable it (so thatthe CSS is not loaded). Currently it is either not working or working ‘twice'(when using a plugin.

    Thanks.

    #18688
     Patagonia
    Participant

    ps:

    – The KLEO CSS is better because it is responsive and I like the navigation arrows better.
    – The Royal Prettyphoto CSS/plugin is better because it has the photo title, miniatures of the pictures on the page and twitter/FB share buttons. And the CSS is loaded anyway.

    I hope you can use the best of both worlds, ideally with options in the KLEO back end such as http://wordpress.org/plugins/rt-prettyphoto offers (though I hate that you cannot switch off Google fonts in that plugin).

    Thanks

    #18689
     Patagonia
    Participant

    edit: the RT plugin actually is responsive as well, just not when resizing the browserwindow and it seems to have fixed sizes, not 100% width images. It has a nice option to be able to click through to true full size as well.

    #18693
     Patagonia
    Participant

    Some observations:
    – When I enable the prettyphoto plugin, the underlying KLEO lightbox is not Prettyphoto, but Magnific.

    – When uncommenting all prettyphoto scripts in Functions (2x css, 2x js), it still does not work without a plugin to ‘push’ it.

    – When enabling a Magnific plugin (like IW magnific popup), the magnific script works, kinda: the popup appears, though there are no navigational buttons (and the arrow keys do not work), so you cannot move to next photo in the post/page.

    I don’t really care whether Magnific or Prettyphoto s used, as long as it works properly and preferably with some options:
    – Social share buttons (would be nice if they are in the regular KLEO post style)
    – Some skins/styling options
    – Navigation + swipe for mobile
    – Title and/or caption to be displayed.
    – Popup to 100% screen width, with button for full size (if full size is larger).

    Thanks for considering.

    #18913
     Abe
    Keymaster

    Hello, Since the Woocommerce update we changed the prettyPhoto plugin with Magnific so prettyPhoto is no longer used.
    You are referring to images added to the post content and that are linked to the larger version of the image? If that is the case we will modify the theme to open those images in Magnific popup.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #18920
     Patagonia
    Participant

    Hi Abe,
    thanks for your reply. Yes, I am talking about the lightbox for images in posts and pages (single images, galleries etc). If you could add the Magnific popup for that, that would be great. Would be even greater if some of the social icons would be available to share the images.

    There are a lot of references to PrettyPhoto (and the CSS is loaded as well), so you might want to take all of these out as that is what confused me and what breaks the lightbox plugins if used.

    Thanks in advance,
    Cheers

    #19243
     Abe
    Keymaster

    The PrettyPhoto css isn’t loaded by the theme, maybe another plugin adds it. For post galleries it should already been enabled but we enabled the lightbox now for every link with image inside

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #73161
     ARCHE
    Participant

    Hi,

    I understand it is an old thread but…

    When I use Media Grid or Image Gallery though Visual Composer and I want a pop-up window for larger images prettyPhoto is still used.

    With Media Grid it shows ONLY prettyPhoto, while with Image Gallery both magnificPopup and prettyPhoto show up on click.

    Can you help me keep ONLY prettyPhoto for all images, galleries, media grids, etc? Thank you in advance.

    #73162
     ARCHE
    Participant

    ***
    Can you help me keep ONLY prettyPhoto for all images, galleries, media grids, etc? Thank you in advance.

    Can you help me keep ONLY magnificPopup for all images, galleries, media grids, etc? Thank you in advance.

    #74771
     Abe
    Keymaster

    Hi. We will look at the Visual composer elements that still use prettyPhoto so they use magnific popup

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?