Skip Navigation

[Resolved] Videos thumbnails with links in Views

This support ticket is created 4 years, 10 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 4 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1737317

BAF

Hello,

How can I create a "View" that shows videos thumbnails for videos embedded in Toolset Posts as custom fields and, when I click on the video thumbnail in "View", to have a link that opens the corresponding Post?

What I tried is:
1. Create a post and insert the View block.
2. Use Toolset blocks to add dynamic fields to the template as follows:
Add Block
Single Fiels
Custom Field
Curent Post
Custom Field Groups
A custom field with embedded video

The problem is that, when I click the video I open the video instead of being able to have a link with the Post containing the video.

Thank you.

#1737743

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-08-13 at 11.04.25 AM.png

Hello,

Thank you for getting in touch.

From what I see you essentially want a clickable image that will link to the post itself.

In this case you won't be able to do it by calling the embedded video custom field as our Plugin will always give the video output.

What you essentially need is an image field that can serve as the thumbnail and can be clickable. This way you can use the image block dynamic link settings to add the post URL. See Screenshot

Once you've done this your image will be clickable on the frontend.

Thanks,
Shane

#1737793

BAF

Dear Shane,

Thank you for your prompt answer. If I had in my posts a custom field with images the solution wold work fine. I could use the image block dynamic link settings to add the post URL.

The problem is that in my posts I have only one custom field, which is an embedded video, therefore with no images. How can I automatically (dynamically), not manually, generate images from the video thumbnail embedded in the post?

Is there a way to:
1) in the post: generate from the video an image thumbnail in a post field and then
2) in the view: use the image block dynamic link?

Thank you.

#1739501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

How can I automatically (dynamically), not manually, generate images from the video thumbnail embedded in the post?

This is not possible to do except through custom coding which would be out of our support scope.

Is there a way to:
1) in the post: generate from the video an image thumbnail in a post field and then
2) in the view: use the image block dynamic link?

This would be possible to do with custom coding but where would you store the thumbnail. If this is a default post type like Post then you should be able to substitute the custom image field with the featured image field.

However apart from this there is no other way to do it and I would highly recommend a dedicated thumbnail field for this.

Thanks,
Shane