Questions tagged [lightbox]
The lightbox tag has no usage guidance.
0
votes
0answers
9 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
23 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
93 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
0answers
9 views
Redirect page only if it's not loaded in an inframe
I have pages in my site that open in a lightbox popup from the home page.
If a user browses directly to those pages, I'd like to redirect them to the home page instead, but that will surely stop ...
0
votes
2answers
75 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
93 views
Use Lightbox effect for Featured Images
I'm trying to apply the lightbox effect to the thumbnails, since I don't want the photos to redirect to the direct url to them, and I've got no luck trying to set it up.
I've tried adding this code ...
0
votes
0answers
122 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
0answers
19 views
Custom Post Type 'Lightbox' only displaying 1st post, no plug-ins
first post, been lurking around here for WP specific answers outside of SO.
Trying to create a lightbox using purely HTML/CSS and no plugins. The lightbox will echo the image, title text, and ...
0
votes
0answers
145 views
Hover effect on elementor video
I am making a video gallery using Elementor video player. I have added the Vimeo video with an image overlay.
1. I want to make the video title pop up when the user hovers the mouse over the overlay ...
0
votes
2answers
505 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
0answers
30 views
Making a custom lightbox gallery, how do I retrieve the links of embedded youtube URLS's?
As the title says, I am trying to make a custom lightbox video gallery in my theme, where users can see a collection of videos, each having a thumbnail(featured-image) and a title and when you click ...
0
votes
0answers
26 views
Display search results within a lightbox
I am attempting to display search results in a lightbox - how can I go about doing this?
Here's the website: http://queridas.com.ar/sandbox/
Right now, the search results opens in the same window, I ...
0
votes
1answer
757 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
153 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
30 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
604 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 ...
0
votes
2answers
404 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
890 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
342 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
6k 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
101 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
550 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
260 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 ...