blueimp
Forum Replies Created
-
Forum: Plugins
In reply to: [blueimp lightbox] Link rel and link class?The blueimp lightbox uses a custom attribute:
data-gallery
The custom attribute value has to be empty, unless you want it to point to a different template id as explained here:
https://github.com/blueimp/Gallery/blob/master/README.md#container-ids-and-link-groupingForum: Plugins
In reply to: [blueimp lightbox] Autoplay for video?There is no setting, but you can try adding the following jQuery snippet:
$('#blueimp-gallery').on('slidecomplete', function (event, index, slide) { var video; if ($(this).data('gallery').index === index) { video = $(slide).find('video').get(0); if (video) { video.play(); } } });
Forum: Plugins
In reply to: [blueimp lightbox] Plugin Doesn't seem to do anythingI’ve released a new version (1.1.0) which enables support for the default WP Galleries.
How to enable the lightbox functionality for default WordPress galleries?
In the Gallery settings, set the “Link To” option to “Media File”.If the automatic activation feature does not work, make sure the following is correct:
If you go to
/wp-admin/options-general.php?page=blueimp-lightbox
The “Automatic activation” setting should be enabled by .
The “Media types” setting should contain “gif,jpg,jpeg,png” by default, which applies the automatic activation to all links to the listed image files.Forum: Plugins
In reply to: [blueimp lightbox] Gallery Support?I’ve released a new version (1.1.0) which enables support for the default WP Galleries.
How to enable the lightbox functionality for default WordPress galleries?
In the Gallery settings, set the “Link To” option to “Media File”.If the automatic activation feature does not work, make sure the following is correct:
If you go to
/wp-admin/options-general.php?page=blueimp-lightbox
The “Automatic activation” setting should be enabled by .
The “Media types” setting should contain “gif,jpg,jpeg,png” by default, which applies the automatic activation to all links to the listed image files.Forum: Plugins
In reply to: [blueimp lightbox] Plugin installed and activated, but not workingI’ve released a new version (1.1.0) which enables support for the default WP Galleries.
How to enable the lightbox functionality for default WordPress galleries?
In the Gallery settings, set the “Link To” option to “Media File”.If the automatic activation feature does not work, make sure the following is correct:
If you go to
/wp-admin/options-general.php?page=blueimp-lightbox
The “Automatic activation” setting should be enabled by .
The “Media types” setting should contain “gif,jpg,jpeg,png” by default, which applies the automatic activation to all links to the listed image files.Forum: Plugins
In reply to: [blueimp lightbox] Always visible navigation whan open photoYou’ll find the Gallery templates in the tmpl folder of this plugin.
In the HTML code of those templates, add the class “blueimp-gallery-controls” to the Gallery widget, as explained in the documentation for the JS library used in this WP plugin:
https://github.com/blueimp/Gallery/blob/master/README.md#controlsForum: Plugins
In reply to: [blueimp lightbox] Not responsive in IphoneSorry, but at the moment I don’t know why you encounter issues on smaller screen devices, as the project has been written with a mobile first approach.
I also couldn’t reproduce any issues with mobile devices on the JS demo of this project:
https://blueimp.github.io/Gallery/Forum: Plugins
In reply to: [blueimp lightbox] How to prevent jumping to the top of the webpageSorry but at the moment I do not know why you encounter the jumping effect.
It is certainly not intended, as you can see on the JS demo of this project:
https://blueimp.github.io/Gallery/Forum: Plugins
In reply to: [blueimp lightbox] Plugin installed and activated, but not workingI can’t give support on any WP gallery plugins, as the blueimp-lightbox plugin simply provides lightbox functionality.
However it should automatically display all image links (gif,jpg,jpeg,png by default) in the blueimp Gallery stylePlease note that blueimp Gallery is the name of the JS plugin used in the blueimp-lightbox WP plugin:
https://blueimp.github.io/Gallery/The blueimp-lightbox WP plugin itself does not provide Gallery functionality for WordPress, but should work seamlessly with a variety of WP Gallery plugins.
Forum: Plugins
In reply to: [blueimp lightbox] Plugin Doesn't seem to do anythingI can’t give support on any WP gallery plugins, as the blueimp-lightbox plugin simply provides lightbox functionality.
However it should automatically display all image links (gif,jpg,jpeg,png by default) in the blueimp Gallery style.Forum: Plugins
In reply to: [blueimp lightbox] Installed but don't know how to useThe plugin is automatically activated for all image links (by default gif,jpg,jpeg,png).
So just put a link to an image file into a blog post or page and the image will be displayed in the Gallery.Sorry for the really late reply, I didn’t have email notification enabled for this forum.
I’ve added support to automatically infer the poster for YouYube videos to the blueimp Gallery project:
https://github.com/blueimp/Gallery/commit/c898c2cd144c552af90b3c78d6eee518cd968007
I’ve not updated the WP plugin itself yet, but you can also manually update the JS files with the newer ones from the Gallery project release.The youTubeClickToPlay option is purposefully set to true, as there were issues on mobile devices otherwise. Namely that Apple doesn’t allow scripted autoplay of HTML5 video on iOS devices. So enable it on your own risk.
Similar reasons are for the delay before the poster with the close button is shown when pausing a video. This is done due to issues with the YouTube Iframe player API, which would jump back to the poster when seeking otherwise.
Forum: Plugins
In reply to: [blueimp lightbox] Gallery Support?Sorry for the really late reply, I didn’t have email notification enabled for this forum.
The Gallery needs some way to know about the URLs to load the images from.
This WordPress plugin takes them from the links to the images, so at the moment it’s only possible to cycle through all of the images if all of the links are present on the site.However, the original Gallery code provides an API to initialise the Gallery with a list of URLs, so you might want to have a look and customise the WP plugin code:
https://github.com/blueimp/Gallery/blob/master/README.md