lightbox,colorbox,impresspages , Impresspages: Grouping images on single page, in ColorBox


Impresspages: Grouping images on single page, in ColorBox

Question:

Tag: lightbox,colorbox,impresspages

On an impressPage's site homepage, I am listing many items; each item with their own set of pictures. When an image for an item is clicked, lightBox is opened accordingly, but you can cycle through all the images on the page, as opposed to just cycling through a single item's set of pictures.

Is there a way to group images to each item on page, so that lightBox just cycles through images relating only to item? Thanks.


Answer:

Here is a plugin exactly for that http://market.impresspages.org/plugins/SplitColorbox


Related:


Lightbox with transition


css,css3,transition,lightbox
I wanted to do a smooth transition of a fullscreen lightbox, my actual code is <a href="#_" class="lightbox" id="img1"> <img src="images/photo.jpg"> </a> And my style: .lightbox { display: none; position: fixed; z-index: 999; width: 100%; height: 100%; text-align: center; top: 0; left: 0; background: rgba(0,0,0,0.8); } .lightbox img { max-width:...

Disable keyboard shortcut when Colorbox Event is fired and then Restore it when another Event fires?


javascript,jquery,colorbox,keyboard-events
I am using the jQuery Colorbox library which is a library of creating Modals that can load images and other content in a nice popup modal window. I am using it on my portfolio/projects page to allow clicking on a screenshot image and it will load a larger view of...

Python - add colorbars in multiple plots for each plot


python,matplotlib,colorbox,subplot
I have multiple plots on a figure. I would like to add colorbars for each results. These colorbars must have the same height of my results and i would like to limit the numbers displayed on the colorbar to 3 values (in order to have readable figures). My code is...

Colorbox closing issue


html,colorbox
jQuery Colorbox not close after form submit and not redirected me to parent page. I want colorbox if form inputted data will be wrong. I am calling login.html directly in colorbox. My code is below. Html Page One. <ul> <li class="call-login-popup"><a href="#">Login</a></li> </ul> <script> $(document).ready(function() { $(".call-login-popup").colorbox({ iframe: true, width:...

jQuery Colorbox randomly fails to group images


javascript,jquery,colorbox,opera-presto
I use the jQuery Colorbox in my application, like so: <ul> <li> <a href='images.html?cn=000001' >[000001] </a> - <a href='/folder/1/Appreciation.jpeg' class="imagelnk">Appreciation.jpeg</a> </li> <li> <a href='images.html?cn=000001' >[000001] </a> - <a href='/folder/1/cheque.jpg' class="imagelnk">cheque.jpg</a> </li> </ul> Over in javascript, inside .ready(), I have this: $('a.imagelnk').colorbox({ rel: 'imagelnk', current: '<i class="blue...

How to align image right in lightbox when clicked


javascript,jquery,html,css,lightbox
I am trying to align the image to the right when clicked. I have a lightbox script but cannot figure out how to move the image from the center to the right. Here is the script: <link rel="stylesheet" type="text/css" media="screen" href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.css" /> <style type="text/css"> a.fancybox img { border: none; -o-transform:...

Drupal , something wrong with ajax popup forms, how to fix?


ajax,drupal,colorbox
I have site with Drupal 7, Colorbox and Webform modules. I use it like it <a class="colorbox-node" href="/node/25?width=600&height=400">Call me</a> The problem is, when my form popped up i see error message: "This form could not be submitted because $_POST was truncated to 115 input vars. PHP max_input_vars is 3000 and...

jquery gallery wont load lightbox


javascript,jquery,html,lightbox
I am using VisualLightBox Gallery on my site on portfolio: http://www.kamenarstvo-kliestik.sk/en/portfolio.htm but when you open e.g. Kitchen portfolio and whatever picture its open directly, not in lightbox. but when you refresh page on Kitchen portfolio or open this link http://www.kamenarstvo-kliestik.sk/en/portfolio/kitchen.htm, images will be opened correctly. Scripts are linkend correctly too....

Can't use paperclip+lightbox together


ruby-on-rails,ruby-on-rails-4,lightbox
How to perform this piece of lightbox code using rails link_to method <a href="img/bmw.jpg" data-lightbox="cars" data-title="My caption"><img src="img/bmw.jpg"></a> the image_tag outputs images well image_tag(@ad.photo.url(:medium)) so how to use this image_tag with link_to so lightbox works? my application.js //= require jquery //= require jquery_ujs //= require foundation //= require lightbox //=...

jQuery Colorbox Buttons


jquery,html,button,colorbox
I'm trying to use jQuery Colorbox as a lightbox but the left, right and close buttons are not showing up at the bottom (click "dasdsadsa"): http://zero6media.com/gee/wordpress/joes-calculator/ However, if I use the same code in a fiddle it works: http://jsfiddle.net/4k1ty7wf/ jQuery(document).ready(function(){ jQuery("a[class='web']").colorbox({width: "600px", height: "600px", maxWidth: "95%", maxHeight: "95%", html: "Hello",...

VideoJS - embedded videos not working after number 7


colorbox,video.js
I have a page with 10 videos. They are loaded in colorbox lightboxes. I am using the standard videoJS markup. Loading videos via: <a href="#video1" class="inline">View</a></li> and: <div id="5ways" style="height: 348px"> <video id="5ways" class="video-js vjs-default-skin" controls preload="auto" width="618" height="348" data-setup="{}"> <source src="//contiki-downloads.s3.amazonaws.com/agent/training-tools/video/5ways_converted.mp4" type="video/mp4"> <source...

close colorbox on link click within the colorbox


jquery,colorbox
I have a colorbox window which calls a small html page (iframe). The page called contains a link to another page on the main site (i.e. from which the colorbox was triggered.) At the moment, clicking the link loads the new page into the colorbox. I don't want that. How...

Enable the default image viewer on Tumblr [closed]


javascript,lightbox,tumblr
How would you go about disabling a default function which enlarges an image? I am creating a Theme for my Tumblr blog and I want to make it so that when a user clicks on the image they are redirected to the link of the actual post rather than seeing...

prettyphoto undefined is not a function


javascript,jquery,lightbox,prettyphoto
I'm attempting to install prettyPhoto lightbox on my site and I keep getting them same error. The following code in the console generates this error "undefined is not a function" <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto(); }); </script> Line 18 I've tried it in the footer and the head, both cause...

Pass selection from Colorbox to parent


javascript,php,jquery,colorbox
I am using a Colorbox modal for a image selection in one of my forms. Is there a way to dynamically pass the image selection outside of the Colorbox and then close the Colorbox? I have been searching here on StackOverflow but I cant find anyone else trying to achieve...

How to open a lightbox on page load if url equals using google tag manager


javascript,lightbox,google-tag-manager,featherlight.js
The title pretty much says it. I would like to show a lightbox on page load only if the url is www.example.com/#popup versus www.example.com If this could be accomplished with google tag manager that would be grand I've see bits and pieces of this but I'm having trouble piecing it...

Don't work vertical align with image in lightbox


html,css,modal-dialog,lightbox
I want to center image in lightbox gallery with vertical-align: middle, but can't. Where I do mistake? html: <div><img src="images/image1.png"></div> CSS: div { display: table-row; /* or display: table; -> the result is the same for me */ height: 550px; width: 100%; text-align: center; } img { display: table-cell; max-height:...

Show previous photo on click in the left half of the current photo in Colorbox


jquery,colorbox
In Colorbox 1.6.0, by default, a click on the displayed photo means the next available photo is displayed. Can I customize Colorbox to display the previous photo when the user clicks the left half of the current photo? I know how to determine if mouse click happened in left or...

Trigger scope functions from JS outside the controller


jquery,angularjs,colorbox
I've seen other responses to this on SO, but either I didn't understand how those responses worked in my situation or I'm overthinking this; scopes have always been a poor point of mine. I'm currently using colorbox for modal windows, containing iframes. To use it in angular, I created an...

Binding Magnific Popup plugin to a button (besides the gallery element itself)


jquery,lightbox,magnific-popup
I successfully implemented my Magnific Popup plugin, binding it to the gallery element (a div containing a set of img elements wrapped up in a elements). But I also want the lightbox to appear when clicking on a separate "see gallery" button. I can't see anywhere how to achieve that...

Using jQuery to automatically add class to image links in WordPress database


jquery,wordpress,lightbox
I'm having to switch lightbox scripts because the one I'm using isn't responsive and the site is moving to a responsive layout. A lot of the site is in WordPress and the script I'm switching to doesn't have a WordPress plugin. I figure all I really need to do is...

Responsive layout constraining horizontal display in Lightbox2 overlay


jquery,css,lightbox,lightbox2
I use Lightbox2 on several sites for "galleries", and never had a problem. I am now attempting to use it with a Simple Responsive template (or on Github), and running into a problem: When the overlay comes up and the images "zoom" to their proper size, they are restricted horizontally...

cant focus on tinymce inside colorbox


jquery,tinymce,colorbox
I am creating a tinymce editor inside a colorbox. The first time the colorbox loads up, it works fine. Subsequent times, I can't click or tab to get focus on the tinymce editor. I am using tinymce.EditorManager.execCommand('mceAddEditor', true, 'tbContent'); and tinymce.EditorManager.execCommand('mceRemoveEditor', true, 'tbContent'); to create and remove the editor when...

Polymer single page application with lightbox


polymer,lightbox,single-page-application
regarding to this question i have changed my polymer spa a little to load content dynamically. next thing is to add a lightbox gallery. i have found a very lightweigt version here as standalone it works very good but in my dynamic content page i am not able to get...

BlockUI when using a popup from serverside


jquery,asp.net,colorbox
I am using an UpdatePanel to block the UI on a long process, my problem that is it works when I put a simple button, but when the button is within a popup it doesn't work(simply gets stuck untill the process is done without blocking the ui). Code that works:...

Simple Javascript function is not working on .ascx file


javascript,asp.net,vb.net,colorbox,ascx
I am trying to make a simple javascript function work in the .ascx file in my asp.net and vb.net application. I have included the following html code inside the asp panel tag. <div class="inline" > <asp:CheckBox ID="tick" runat="server" Text="Please tick the box to confirm the above information are correct" Checked="false"...

How to keep sliding website on page while lightbox is open?


javascript,slider,lightbox
Code: http://cssdeck.com/labs/xpwki4sy Is there any way to keep the main website on slide two when the lightbox is open? Currently the main slider page shifts when you flip images in the lightbox using the arrow keys, there is no problem is the arrows within the lightbox are used....

Impresspages: Grouping images on single page, in ColorBox


lightbox,colorbox,impresspages
On an impressPage's site homepage, I am listing many items; each item with their own set of pictures. When an image for an item is clicked, lightBox is opened accordingly, but you can cycle through all the images on the page, as opposed to just cycling through a single item's...