Skip Navigation

[Resolved] I need to be able to create a gallery of both images and videos

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 4 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1918177

Hello,
I want to create a gallery in which I can display images or videos
and there should be a list of categories above them that will load the proper images or videos for each category like a filter menu

when the user select an image it should open up in a lightbox for example with a link for more details
and when the user selects a video it should also open in a lightbox with a read more button below it.

I bought the toolset plugin because I thought it can accomplish this, but I have tried and read many documentation pages with no answers.

#1918501

Hello,

I think it is possible within Toolset plugins + some custom CSS/JS codes

For example, you can try these:
1) Create a custom post type "gallery"
https://toolset.com/course-lesson/creating-a-custom-post-type/
2) Create a custom taxonomy "gallery-category", and register it to above post type "gallery"
https://toolset.com/course-lesson/creating-a-custom-taxonomy/
3) Add two custom fields into post type "gallery":
- image
- video
https://toolset.com/course-lesson/creating-custom-fields/
4) Follow our document to setup a WordPress Archive for post type "gallery"
https://toolset.com/course-lesson/creating-a-custom-archive-page/
- Add custom search form in above WordPress Archive, Filter the result by taxonomy "gallery-category":
https://toolset.com/course-lesson/creating-a-custom-search/
- In the WordPress Archive Loop, display the image field and video field + read more button
https://toolset.com/block-item/image/
https://toolset.com/block-item/video/
Here you need to setup custom JS/CSS codes to make the lightbox window
You can also use other plugins to setup the lightbox popup window:
https://wordpress.org/plugins/search/lightbox/