-
Author
Tagged: lightbox, prettyphoto
-
May 23, 2014 at 05:19 #18619PatagoniaParticipant
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!
May 23, 2014 at 23:05 #18685PatagoniaParticipantI 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.
May 23, 2014 at 23:19 #18688PatagoniaParticipantps:
– 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
May 23, 2014 at 23:25 #18689PatagoniaParticipantedit: 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.
May 24, 2014 at 04:14 #18693PatagoniaParticipantSome 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.
May 28, 2014 at 00:24 #18913AbeKeymasterHello, 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.May 28, 2014 at 00:57 #18920PatagoniaParticipantHi 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,
CheersJune 2, 2014 at 22:30 #19243AbeKeymasterThe 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.August 15, 2015 at 22:31 #73161ARCHEParticipantHi,
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.
August 15, 2015 at 22:33 #73162ARCHEParticipant***
Can you help me keep ONLYprettyPhotofor 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.
August 27, 2015 at 00:47 #74771AbeKeymasterHi. 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. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.