Questions tagged [lightbox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Magnific Popup with JQuery Flip box slider index/items problem

I'm trying to create a slider after Magnific popup is open with Flipbox slider, Problem I'm facing is that I get all the index elements in the first page, And Flipbox should read each index as a (side)...
0
votes
1answer
16 views

How to add a lightbox to class mix?

I have a question: how to add a lightbox to a photo. I've been sitting here a bit and I can not deal with it. <?php //Dynamic Portfolio With Shortcode function portfolio_shortcode($atts){ ...
0
votes
0answers
13 views

Custom lightbox gallery structure: I want to seperately be able to fetch the link and the image

I am trying to adjust the custom lightbox Wordpress Gallery structure into what I need for my layout. I want to insert a div inside the a-tag, on the same level as the img. By default, Wordpress uses $...
0
votes
1answer
48 views

Duplicate lightbox on galleries from Simple Lightbox (SLB) and Divi (MFP)

I installed Simple Lightbox (SLB), but now when I click an image, I get two lightboxes popping up with the same image. Using "inspect element" I can see that the top one is something like: <div ...
0
votes
0answers
16 views

Lightbox scroll page down on iPhone

I have portfolio gallery with lightbox viewer. All works fine, but there is a problem on iPhone. After click on image lightbox opens on the bottom of the page. I need to scroll down to see it. Problem ...
0
votes
1answer
152 views

Not displaying Woocommerce product page in lightbox

I have installed a plugin named "WP Post Popup" . It is easy to use and allows any link to show in a lightbox. I have entered the below code $wproduct = get_post( $wproduct_id ); $wslug = $...
0
votes
2answers
77 views

determine whether content is of type Page or a Post and display accordingly

I'm looking for a way to open every/any link to a blog post in a lightbox/modal globally and without having to any extra classes or rel attribute to the link element. I know I can access this info ...
0
votes
0answers
148 views

customize src attribute in woocommerce single product image

I need to add suffix to the end of image file name (in "href" attribute) that show when i click on the woocommerce single product image. *: I'm using Enfold theme and is using magnific popup ...
0
votes
2answers
936 views

How can I integrate Fancybox 3 in Wordpress properly

I would like to integrate Facybox 3 in my WordPress (only on posts). It works but I'm a bit bothered cuz the initialize script is loaded after the core minified fancybox js. So, here is the code I ...
0
votes
1answer
865 views

How to insert fancybox to multiple separate galleries in a post?

Okay I'm trying to add fancybox functionality to the galleries in posts. I found this stack exchange: How do i add class="fancybox" to the default gallery? and I managed to get the basic ...
0
votes
1answer
190 views

Customize CSS for “Swipebox ” lightbox

I'm using Awesome Flickr Gallery, a plugin to show Flickr galleries on a website; it uses "Swipebox" to display single pictures on a lightbox. The lightbox display two bars, on to and bottom of the ...
0
votes
0answers
34 views

Render Shortcode in Lightbox Gallery

I am trying to have a video gallery, but I use HolaCDN. Their wordpress plugin lets you insert videos using a shortcode, and that shortcode inserts the necessary javascript to render their video ...
0
votes
1answer
695 views

Image linking and lightbox

I'm having one problem that i can't solve for quite some time. I'm building a portfolio site using Expositio theme. I need all pictures to open in lightbox when clicked, but instead of that, when I ...
1
vote
2answers
491 views

Trying to add attribute to my posts' featured image

I'm trying to add the attribute data-featherlight with a value of 'mylightbox' to all my post featured images. I believe this is the code I need, but I do not know where I put it. I'm working with the ...
0
votes
1answer
997 views

Ajax the create and edit post form into lightbox and get results

So I have a Wordpress site I built that has custom post types and references to those post types inside others. Example: Custom Post Type 1 Custom Post Type 2 - References Type 1 on two fields ...
-1
votes
1answer
365 views

How to resize video lightbox popup in wordpress? [closed]

I am using videolightbox in WordPress. Video Popup size is too big see here almost covering the whole page. I want to change the pop-up size to a smaller one, at the same time I would like to keep ...
1
vote
1answer
8k views

How do I make images clickable so as to enlarge them using lightbox?

I use markdown editor and insert an image by Insert Media, then I have, for instance, <img src="path/saint-lary-piste-map.jpg" alt="saint-lary-piste-map" width="2084" height="1288" class="...
1
vote
1answer
108 views

Pre-styling post content to display in lightbox

So I've built a post system that is pushed into an image grid. When the user clicks on one of the images, a lightbox opens and displays the post content along a feature image via AJAX. Like this: ...
0
votes
1answer
595 views

Open image gallery on link click

I have a very simple wordpress problem, but I'm still struggling to figure out the solution. I have an anchor tag, and I want it to open an image gallery in a lightbox (as the default behavior when ...
0
votes
1answer
33 views

How to get the form code from the edit page of a specific post?

On a site I'm working on, in the profile page - for example - I have to display the content from a few custom posts (additional details, location details, billing). And instead of having the user ...
-3
votes
1answer
270 views

Loading post that has visual composer data inside lightbox? [closed]

I'm trying to load this post http://tropicalzero.com/project/me-gigaset/ inside the lightbox that opens on the first portfolio item at http://tropicalzero.com/portfolio/. All of this content is dummy ...
1
vote
1answer
2k views

Add “data-” attribute to image links

Is it possible to add an attribute and value to image links? I currently have: <a href="#"> <img class="img-responsive aligncenter wp-image-1286 size-full" src="#" alt="..." width="858" ...
2
votes
1answer
1k views

custom post type grid with content in lightbox [closed]

I'm going around every single wordpress plugin and impossible to find something with this featured . . . . I need a grid list of some custom post type - with inline filter. This is fine and tons of ...
0
votes
2answers
6k views

Show LightBox when clicking on featured image [closed]

My WordPress site displays featured images at the top of each post. Here's the PHP code from post.php that generates the featured image. <?php if ( current_theme_supports( 'get-the-image' ) ) ...
-1
votes
1answer
29 views

Modifying lightbox plugin to allow for quoting, Does this exist? [closed]

I've been searching online for a plugin to use with my website that would allow the the user to click on an image in a foogallery image gallery and then have the image open in a fullscreen lightbox. ...
0
votes
1answer
1k views

NextGEN Gallery - set lightbox image size

I use NextGEN gallery with lightbox effect. Is there any way how to set the lightboxed image to f. ex. to max width: 600px? Without resizing the source image? I have tried all of possible Lightbox ...
1
vote
2answers
2k views

wp_get_attachment_link to add title attribute to link tag around image

I have a working Lightbox (colorbox) solution for my wordpress images. However I would like to add a custom title based on the image caption and photographer name to the lightbox image. This works ...
0
votes
1answer
95 views

I need a lightbox plugin that will apply to gallery [closed]

I have a gallery on my page, in this type of syntax: [gallery ids="1588,1584,1582,1583,1581"] I would like each image to open up in a lightbox. I've tried the Simple Lightbox plugin, which looks ...