Skip Navigation

[Resolved] How to use image from custom type as image in tempates

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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 10 months ago.

Assisted by: Waqar.

Author
Posts
#2684558
Snipaste_2024-02-22_10-11-45.png
Snipaste_2024-02-22_10-12-39.png

I want to use images from custom post types in cover blocks and containers as background images.

When trying to do so, I cant select the fields in the frontend at all, see first image.
But when I add an image to my templates I can see and use them without any problems.

I am trying to rebuild a Jumbotron from our old drupal site - and a cover seems to be the way to do, or a full witdh container, but I can't set the background image to the right dynamic source.

#2684885

Hi,

Thank you for contacting us and I'd be happy to assist.

I just tested this on my website and was able to select the image type field as the background image's source.

Can you please make sure that the 'View with' field at the top of the content template edit screen, has a post that has an image set in the desired image type custom field?
( the 'View with' field at the top, is used to select a preview post )

Let me know how it goes.

regards,
Waqar