Im trying to make the bg when clicking on single images transparent or lower the opacity to half.
The author says find the .pswp__bg and edit the opacity from 0 to 1 as a set example being 0.7.
I did find that and set the opacity to 0.5 as a test and nothing is happening. Tried editing and saving post again just to make sure it will work and change the code but nothing.
Would appreciate any help i can get with that.
Also, if anyone knows how to remove the previous and next arrows that appear when you have more than 2 images set to be clicked, it turns them into a sort of gallery and you can hit next by using the arrows and go through all images on the page. I would like to remove that feature as i want the images to just have the animation of zoom in and zoom out that Photoswipe offers without it turning my whole page into a gallery.
Im not the most knowledgeable with codes so if anyone could just point me to the area i need to change and tell me how i have to change it that would be awesome!
]]>This plugin was last updated 2 years ago and has multiple issues:
Since I am a plugin author as well, I did a major overhaul for myself with the following changes:
Examples of the new plugin in use:
Multiple galleries on one page
Mix of single images and galleries
(Note: the “share” link in lightbox is intentionally hidden, but it could be enabled of course – maybe I add some configuration for this in the backend)
Is the author of “PhotoSwipe” interested in the implementation? Otherwise I would create my own plugin.
]]>Can this be tweaked to allow for single images links, aka not part of a gallery?
]]>Hello,
How can i modify to use ‘PhotoSwipe opened from URL’.
I tried different ways, but no succes.
Does anyone got this working?
regards,
roger
]]>Hi, I’m using Photoswipe to open images in the WordPress gallery. I’d like to have an “magnify” link next to the images that also opens them with Photoswipe.
I’m able to insert the right “data-size” information and point the link to the same url as the actual gallery image, but when Photoswipe opens, it goes to the first image in the gallery, ignoring the actual url of the link.
Does anyone know how I can get get the links to open the right images?
Thanks!
]]>I followed rafaelmagic’s (@rafaelmagic) post from about a year ago to get this working with NextGen, and it works. Thanks, rafaelmagic. However, on mobile, the images open too large and off to the right. They swipe okay, but you can’t see the whole image.
Any ideas on how to fix this? Thanks for any help.
]]>The license section of the PhotoSwipe README clearly states:
Script is licensed under MIT license with one exception: Do not create a public WordPress plugin based on it, as I will develop it. If you need to use it for a public WordPress plugin right now, please ask me by email first. Thanks!
Before I consider using this plugin I need to know if it is okay for me to do so. Has this plugin received permission from the copyright holder?
]]>Documentation for this seems to be pretty sparse, or at least, I can’t find it anywhere. How do I initialize this plugin? How do I tell it which pictures to target? Installing it is simple and standard but I don’t see how to get it to do anything, nor can I find any information about it’s settings in the admin panel. ???
]]>Since adding an SSL certificate this plugin has stopped working. I have no errors on the console. On mobile if I click back it then works. Any ideas of what to do to fix this. Thanks!
]]>Trying to mimick this gallery which uses PhotoSwipe but not seeing which plugin they are using. I activate the theme but nothing happens. Am I missing a step?
]]>when using it on firefox mobile it is not getting full width .
]]>This is working great on the mobile galleries, but for some reason, it’s freezing up on desktop browsers. As soon as you click on an image in a gallery, the mouse stops working for anything in the browser window. Can’t use the site menu, etc.
I’m trying to use it with the NextCellent Gallery plugin. The plugin has an effect setting to use Photoswipe, and that is on.
I tried re-saving the post with the gallery, like the Photoswipe plugin suggests, but that didn’t help.
]]>Hi,
I am getting the following error on saving when I add a single image to a post. The issue does not occur in adding a gallery to the post. The image is still being saved but the following error appears on saving without any confirmation of success on publishing/updating the post.
Warning: explode(): Empty delimiter in /home/****/wp-content/plugins/photoswipe-masonry/photoswipe-masonry.php on line 264
Warning: Cannot modify header information - headers already sent by (output started at /home/****/wp-content/plugins/photoswipe-masonry/photoswipe-masonry.php:264) in /home/***/wp-includes/pluggable.php on line 1174
I use define(“WP_CONTENT_URL”, “https://static.xxx.com”); and define(“COOKIE_DOMAIN”, “www.xxx.com”); to set up a cookie-free domain. Removing this option solves the issue.
Any help is appriciated.
Thank you for the great plugin.
Best,
]]>Hi,
I’m trying to change order of gallery by changing these parameters in: photoswipe-masonry.php
'order' => 'DESC',
'orderby' => 'menu_order ID',
to
'order' => 'ASC',
'orderby' => 'title',
then it gets strange, ordering right way at first.
somename-1, samename-2, somename-3…
and from middle of grid magic happens
somename-22, somename-21, somename-23, somename-24, somename-25, somename-27
where is the problem what I’m doing wrong.
Thanks!
]]>Hi.
I want a gallery like in the webpage of plugin:
https://photoswipe.com
But i have two problems:
1) In the gallery, the images are not organized. There are a lots of space between the images, that don’t have the same format/dimensions.
2) When i open an image, the length is not resized to the window.
Is too much big and it’s impossible to see the image well.
You can see it in this page of my site:
https://www.lapetitebrune.com/portfolio-cozinha
I read your documentation, but it’s not clear how to solve this, and the configuration options are a little bit hard to understand also.
Can you help me, please?
Thank you.
]]>photo-swipe.php has a small error.
Check your site with PingdomTools.
It will say that default-skin.css(percentage twenty)
is redirecting.
FIX:
Line 41:
plugin_dir_url( __FILE__ ) . ‘lib/default-skin/default-skin.css ‘,
Change to:
plugin_dir_url( __FILE__ ) . ‘lib/default-skin/default-skin.css’,
(Delete space between css and ‘)
]]>Pingdomtools
Keeps saying that default-skin.css%20 is redirecting.
Anyone else experience this problem?
]]>When logged in to wp, Photoswipe control buttons at top is covered by wp admin bar. Admin bar has z-index 99999 while Photoswipe z-index is only 1500.
This is easy solved in theme css with:
.pswp { z-index: 100000; }
but I think this should be changed in the plugin.
Nice work otherwise ??
]]>The button that links to social media is not visible for me, was that feature removed as part of making the script “light?”
Thanks!
]]>Just installed PhotoSwipe and it looks very nice. However it doesn’t appear to work on category pages, only on individual posts and pages. For example on the category page https://www.fullerlab.org/category/current_research/ no images open using PhotoSwipe, but on each individual page in the category, e.g. https://www.fullerlab.org/phd-awarded-dr-nick-murray/ all images open fine.
]]>I don’t know if I did well….
but I find in your “photo-swipe.php”
at line 41 this:
plugin_dir_url( __FILE__ ) . ‘lib/default-skin/default-skin.css ‘,
It seem to make a redirect because of that space at the end (%20).
So I deleted that space.
What do you think ??
I realize that they’re aren’t WP settings for this plugin, but is there any way to disable the fade animation? By editing the .js files in the plugin folder maybe?
]]>Awesome job with this integration! Thank You. I was wondering how the images are being targeted – I haven’t been able to get WP’s Featured Image to work, not even on a clean 4.4.1 with the default twenty-sixteen theme. I’m thinking the answer lies in the way the featured image / post_thumbnail is being called in the templates.
I see the “data-size” attribute present in the “a” tags of the images for gallery and single images added through text editor. These all have the photo-swipe effect enabled. I don’t see the “data-size” attribute present for Featured images. Any thoughts on how to accomplish this?
Thanks so much!
]]>Hello.
Thanks for plugin.
Photoswipe docs show a way to use plugin with responsive images:
https://photoswipe.com/documentation/responsive-images.html
From the other side I have many versions of images I upload:
https://i.imgur.com/8E0YS7y.png
Can this plugin be updated to use this different thumbnails in the galleries for small mobile phones or for retina displays?
]]>If I have multiple single images on a page, photoswipe will cycle through every image on the page plus all images of a gallery(if present).
How to prevent that behavior?
Thanks!
]]>Hi,
can anyone please help me how to make the top and bottom black stripes smaller? When in fullscreen mode, the images can be larger, but the bars dont allow this.. I am not very good at this, I was looking in some files but was only able to change the position of some icons and font of description…
thanks in advance
]]>Is there a way to get PS to open single images? Works great for galleries but not for a single image in a post, for example.
If it’s not something you feel is a priority could you give me an idea where to start and I will hire someone to tweak it.
Thanks!
]]>Hi Louy,
I’m using the plugin with the WP standard gallery and it works very OK.
I have now two questions for you
1. I’m trying to find a simple way to add an html slide as a last element of the WP gallery but I’m stuck. Do you think it is something that it can be achieved?
2. Photoswipe is not ready while the page is loading. If you are quick enough to click on a thumb before the page is completed, the lightbox actually fails and the browser points directly to the full size jpg url. This is evident only on pages with a lot of thumbs and on slower connections.
Thanks!
]]>I use CSS to hide the black transparent bars on top and bottom, works on desktop but still shows on mbl. I also want to keep the navigation buttons, close, zoom and fullscreen buttons from fading out after 4 secs. I want them to always show.
I’m not able to accomplish this even after look at the documentation of the script. Could you please suggest the js I need to look at to achieve the results I need?
Thanks!!!
]]>I don’t understand how to use this plugin. How can I insert a swipe gallery in a post?
]]>