Hi,
Can you please add navigation (with keyboard and mouse on desktop, and swipe on mobile) to images in galleries (both in posts and Woocommerce)?
I think this is built into Magnific Popup…
Thanks,
Yaniv
I use Magnific Popup to enlarge featured images on the posts. Everything works fine in main blog page, but if I use category filter which show posts only from chosen category, then popup don’t work. Background effect is appearing, but content (clicked featured image) and “X” button won’t.
I have also a slider which show gallery created in a post as popup if there’s any created) after clicking on featured image. In short: if I have a gallery, then slider appears, if I have no gallery, then popup shows only enlarged featured photo. This slider works fine in every case.
I make a category page almost the same as blog page, but i think that echo’ed content url for popup have a wrong form.
There’s a php file for blog-page:
https://pastebin.com/gEiV1qJS
and there’s a php file for category page:
https://pastebin.com/0JmTQ1gF
Im wrong in line 35 or entire category page script is bad? Please tell me, what i must paste in the code (and where) to make it works.
Please see, what I mean exactly and click on the left photo on the link below. Then go out of category by clicking All, which show posts from all categories and click on this post again. Popup work only, when user don’t choose the category.
]]>hi, i’m looking for a solution to add modal effect to images gallery with description and a easy contacf us form ( i also would like receive the title of the image where the email is sent).
This plugin can help me?
]]>I installed it but when I click on images it doesnt do the lightbox effect.
Example Link: https://videogame-news.com/call-of-duty/black-ops-3/treyarch-is-revealing-the-prestige-icons-for-bo3
I installed the plugin, went to settings and enabled it for galleries.
I then create a new text block and create a gallery using add media files. Or create a Image Gallery. I don’t see it as an option. Only my theme Foundry slider and light box settings.
How do I use it?
]]>Hi there!
The plugin isn’t working on full URLs (https://www.website.com/…..jpg), it only works if I do it this way ../wp-content/…..jpg but that conflicts with some pages… Please help! Thank you!
Hi there, trying to set this up so that its disabled for mobile devices. I have come across the disableon function which looks like it should do the trick. But what with all the js being minified I can quite work out how to add this into the mix.
Any advice you can give me is very much appreciated.
Best
Harry
]]>hi there i’m trying to change the navigation arrows to the words ‘next’ and ‘previous’ (which I have achieved using content, and :after in the css).
What I want to achieve next is to put these two words down at the bottom left of the screen, which I have achieved but it only works on a large screen, I could do a very large media query but if possible I would prefer to avoid this. Do you have any ideas on a responsive way that I could do this?
Here is a link to the dev version of the site: dev site
cheers in advance
Best
Harry
]]>I am using a custom post type for a content modal and I would like to incorporate photos, but I don’t want enlargements from that modal. Is there a way to prevent IW Magnific Popup for that post type?
]]>The plugin doesn’t seem to work anymore when I’m trying to upload a new portfolio page. Did you remove the plugin?
]]>Hello
Will it work with html/text/images together instead of photos only ?
Thank you
]]>To quote from the website of Magnific Popup:
License
Script is available under MIT license and will always be kept this way.
But please do me a favor and do not create a public WordPress plugin based on it, because I will make it soon and it will be open souce too. (Want to get notified?).
The way I see it, this is an explicit extension to the MIT license and your plugin is in conflict with that.
Even if it isn’t: the author asks, and I think we should follow. Because Magnific Popup is really an awesome piece of work.
You *really* should contact the author and ask if whatever you are doing here is okay with him.
]]>Hi. Is it possible to have a single picture and the gallery opened in that scenario: 3 — no gaps, zoom animation, close icon in top-right corner ?
]]>Hi. Is it possible to have a single picture and in the gallery opened in that scenario: 3 — no gaps, zoom animation, close icon in top-right corner.
]]>Hi, I’m using both Magnific Popup – set to work on single images only – and the plugin Huge IT Gallery for large galleries. Both work great on their own.
But when I open an image in Huge IT Gallery, it also opens in Magnific, creating a double popup, even though Magnific it set to single images only.
Is there a way – a piece of code somewhere – that I can use to prevent images opened in a Huge IT Gallery from also opening in Magnific?
I don’t want to lose either functionality if possible.
I’m not a coder, so I need precise instructions please. ?? Tx.
]]>Hi,
I was reading this article on Smashing Magazine about the Magnific Popup lightbox and was very happy to discover that you have created a WordPress plugin using Magnific Popup to support image galleries.
Does your Magnific Popup lightbox plugin include/support the accessibility points described in the article e.g. keyboard support etc? If you search for ‘2. Accessibility’ you should find the section of the article relating to this.
Thanks
John
]]>Is it possible to show arrows and close button only at hover? I would like to show the buttons, but when you look at the picture in the lightbox, the buttons should remove after a few seconds. I don’t know whether this is possible, but this would be nice!
Greetz, Lara
]]>Would it better to target the <a>
element instead of the <img>
element for the cursor styling?
This is the current code:
.iwmp-single, .iwmp-gallery img {
cursor: pointer;
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in;
}
I have a gallery that doesn’t need to zoom-in but I still get the Zoom Icon when I hover over the image.
What do you think?
]]>Hi I have installed Magnific Popup lightbox but it does not appear to work, not sure what to tweek or disable as i am using it with wp canvas-gallery which offers a nice Masonry Style & Caption Hover but no lightbox and on the wp forum someone said it would work… the javascript does appear in the footer, do i need to add an extra div around the gallery?
link to page
https://www.sintra-garden-studio.com/wordpress/students-work/
thank you in advance
Melanie
I would like to disable Magnific Popup for screens smaller than a certain dimension so that mobile users will be linked to the actual file and be able to properly zoom-in on large images.
Any suggestions on how this might be possible? I found this post on Stackoverflow and someone posted this code:
https://stackoverflow.com/questions/12832831/lightbox-not-playing-nice-with-mobile-device
$(document).ready(function() {
// initialize the lightbox
$('.fancybox').fancybox({
beforeLoad: function() {
var windowsize = $(window).width();
// test the viewport size to see if it's smaller than 480px
if (windowsize < 480) {
// cancel the lightbox and load the link url
$.fancybox.cancel();
}
}
});
});
Not sure if it’s possible to implement that code with this plugin.
]]>https://nieidealny.pl/wp-content/uploads/2015/06/Explozja_28.05.2015.jpg
There’s no option to expand if the photo is too big :/
]]>Hi. When I have the Roots/Soil plugin activated, I’m getting a jQuery not found error. Could this be due to not running jQuery in no-conflict mode?
]]>Hey there,
Ideally I only want the magnific popup to work on certain images as the theme’s in-built lightbox takes care of most situations. It would be good to be able to add a class to images where the magnific popup is required.
]]>I just installed Foo gallery plugin, and I can’t go to next image in set, as well as see image descriptions ??
]]>First of all thanks for the great and simple plugin
Is there any way to load posts content by using lightbox?
As I studied, I know If I put code that code.
$my_content = apply_filters(‘the_content’, get_the_content());
I don’t know where I put that code.
Would you help me??
Hi,
thanks for the plugin.
After update, scripts for Magnific Popup are getting loaded before jQuery.
Can you please help me with the fix?
]]>Is it possible to integrate IW Magnific Popup with Nextgen/NextCellent Gallery? That is: To use it with the arrows to go through the entire gallery (as in WP-Galleries). Maybe with WP Magnific? Tried several things…Help would be very appreciated, since your Lightbox is basically the best…
]]>Hi,
When I activate this plugin, the Jetpack tiled galleries do not work. Nor even a settings checkbox for this is displayed in Settings > Media.
Is this intentional?
Regards,
Oliver
]]>Hi,
Great plugin. Is it planned to add a video support for the popup? I know the actual JS script supports videos, so I’m wondering whether this will be included within this plugin?
Thanks.
Oliver
]]>Hi and many thanks for this great and simple plugin,
I have an image in my footer that I would like to omit from Poping up in a Modal window – can this be done?
many thanks once again
]]>