Hey there,
I’ve been searching the forums for quite a while now and can’t seem to find an answer to this issue.
I would like to display a gallery on a page, then when the user clicks on the image in the gallery, it launches a video in a lightbox.
It seems like this might be possible but I can’t get it to work.
Here’s a test page: http://pecanpieproductions.com/ppp/portfolio-test-page-2/
Here, there is NO image displayed in the gallery. Why?
When you click the Title, it takes you to the portfolio item where you can click the image to launch the video. I don’t want to have to go the the portfolio item page – I want to launch the video directly from the Gallery element on the original page.
When I add a “feature image” it is displayed in the gallery but doesn’t open the video – just opens a bigger version of the feature image in a lightbox.
Please help!
Thanks.
Hi dylandibona,
You must add a featured image so that the theme has something to display in the grid. Then, on the individual portfolio item look for the meta box below the visual editor named “Overwrite Portfolio Link setting”, Change the dropdown to Define custom link and in the Link field to the right add your video url.
As long as its a vimeo, youtube or html5 video url the lightbox code will grab the link and open it up in a lightbox.
Regards,
Devin
Hello, I’ve done what you just mentioned and my items but when i click on each protfolio item it gets stuck on loading window:
Hey tassavor,
I’m not having any issue loading in the videos on the link above. Perhaps it was just a cache issue that was preventing you from seeing things work properly on your end.
Regards,
Devin