Johannes Kinast
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Query params break lightboxHi @ulrichnielsen,
I just tagged a new release with a fix.
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Query params break lightboxHi @andrewceharris,
I just tagged a new release where I changed the filter to:
filter:/.+\.(gif|jpe?g|png|webp|svg|avif|heif|heic|tif?f|)[$?]/i;
I have to make sure it’s really a picture and not e.g.
mylink.jpg.html
.One more think: As I really enjoy your plugin I would like to support the development. The easiest think would be to buy a premium licence, but I just use it for 1-2 forms and I don’t really need the premium features. Therefore, $171 a year is a bit pricey. What about offer a sponsorship e.g. via Github?
For me the admin-ajax.php is a black box and hard to debug if there is a high load or a bug. I always have the feeling, that the admin-ajax.php is a potential security issue.
If a request hits the WordPress REST API its clear which endpoint it is and the REST API endpoint could be used for user stuff e.g. a headless form on a static site. But it could open the door for spam.
As I said, at the moment the admin-ajax.php endpoint works fine for me, too.
Forum: Reviews
In reply to: [Lightbox for Gallery & Image Block] Exactly what I was looking forThank you!
Forum: Reviews
In reply to: [Lightbox for Gallery & Image Block] This is great!You are welcome! That was what I need as well and I am happy to give it back to the WordPress community.
Forum: Reviews
In reply to: [Lightbox for Gallery & Image Block] Simple, fast, and cleanAwesome! Thank you ??
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Overlay on ThumbnailsHi @cgra,
I think this should be possible with CSS, but it’s not the purpose of this plugin.
An easy solution would be to show a magnifier with a plus as the cursor if a user hovers a Gallery Item with a link:
.wp-block-gallery a:hover { cursor: zoom-in; }
Otherwise, you could try to use the ::before or ::after pseudo-elements to add the overlay like in your example without changing the HTML structure.
Hi @joekhartley,
you can enqueue the script and style on every page with this function:
function my_theme_enqueue_baguettebox_assets() { wp_enqueue_script( 'baguettebox' ); wp_enqueue_style( 'baguettebox-css' ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_baguettebox_assets' );
It would be even better if you run …
wp_enqueue_script( 'baguettebox' ); wp_enqueue_style( 'baguettebox-css' );
… in your widget.
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Add caption on the lightboxHi @mickamoi,
there is no choice but feel free to fork my plugin and modify the selector for the caption: https://github.com/goaround/gallery-block-lightbox/blob/cd8066b8209391a8e29b2761cc2eb24bb0576afb/gallery-block-lightbox.php#L14
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] First clicked image doesn’t displayHi @andy,
It looks like the issue comes from your Theme. I switched to the Twenty Twenty Theme and there the Gallery works fine. I would suggest contacting the Theme author.
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] First clicked image doesn’t displayYou can find my email here: https://go-around.de/impressum/
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] TransitionsI’am not sure if baguetteBox.js supports this, but you can check this here: https://github.com/feimosi/baguetteBox.js
I think you have to manipulate the current settings. I would suggest forking my plugin: https://github.com/goaround/gallery-block-lightbox
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Plugin is not activated on Home pageHi @poserr,
currently, this is not supported, but you can load the script & styles on all pages and then it should work fine on your homepage, too:
Just add this to your
functions.php
:function my_theme_enqueue_baguettebox_assets() { wp_enqueue_script( 'baguettebox' ); wp_enqueue_style( 'baguettebox-css' ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_baguettebox_assets' );
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] First clicked image doesn’t displayHi Andy,
please provide a Link where this issue happens.