Popup & Lightbox

Visual Portfolio → Settings → Popup & Lightbox. Settings of the lightbox that opens when a block’s Click Action is Popup. They apply to every Visual Portfolio block and to the “Lightbox for WordPress Images” feature.

General

SettingDefaultNotes
Vendor ScriptFancyboxFancybox 3 or PhotoSwipe 4. Same features except where the table below says otherwise
Lightbox for WordPress ImagesoffOpens the core Image and Gallery blocks, classic galleries and Jetpack tiled galleries in this lightbox. Any other markup gets it with the class vp-lightbox-gallery on the container (images linked to their files) or on a link
Deep Linking (Pro)onThe address changes to #&gid=…&pid=… while a slide is open; Back closes the lightbox; the link opens that slide. See Click Action
Use Deep Linking URL to Share Images (Pro)onThe Share button shares the deep link with the image’s title and preview (Open Graph tags). Off: the image file URL is shared
Loop (Pro)onContinue from the last slide to the first
Load Next Pages (Pro)onWith Load More or Infinite pagination, load the next page of the gallery while browsing; the counter shows N+ while more pages exist
Click to ZoomonA click on the image zooms in
Restore FocusonFocus returns to the clicked item after closing (keyboard users)

UI Elements

SettingDefaultFancyboxPhotoSwipe
Display Arrowsonyesyes
Display Images Counteronyesyes
Display Zoom Buttononyesyes
Display Fullscreen Buttononyesyes
Display Share ButtononFacebook, X, LinkedIn, Pinterestsame
Display Download Buttonoffyesyes
Display Close Buttononyesyes
Display Thumbnailsonyesnot available
Thumbnails Opened At Startup (Pro)offyesnot available
Thumbnails Position (Pro)VerticalVertical, Horizontalnot available
Display Slideshowoffyesnot available

Albums (Pro)

Pro Feature

This is a part of the Visual Portfolio Pro plugin.
Purchase the Pro plugin to access this and other advanced features.

SettingDefaultNotes
Isolated Album PopuponClicking an album item opens only that album’s images. Off: the lightbox holds every item of the gallery, with album images inserted in place
Album Lazy Load Threshold20 (5 to 100)Images rendered with the page; the rest are fetched from the REST API when the album opens

These fields are part of the free plugin since 3.6.0 but only do something with Pro albums.

Quick View (Pro)

Pro Feature

This is a part of the Visual Portfolio Pro plugin.
Purchase the Pro plugin to access this and other advanced features.

Quick View shows a post or page inside the lightbox as a frame. It is switched on per block with Post URL (Quick View) in Click Action → Media Object Priority.

SettingDefaultNotes
Display URL ButtononA toolbar button that opens the framed page in a new tab
Internal LinksOpen in New TabWhat links inside the frame that point to your site do: Open in New Tab, Open in Current Tab, Open in Frame (not recommended), Prevent Click
External LinksOpen in New TabSame for links to other sites
Custom CSSHides common header and footer selectorsCSS applied to the framed page. It gets the body class vp-popup-iframe, so .vp-popup-iframe .site-header { display: none } hides your header inside Quick View only

Misc

SettingDefault
Background Color#1e1e1e

Notes

Was this page helpful?