Skip Navigation

[Resolved] Can't select RAW image output?

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.

This topic contains 2 replies, has 2 voices.

Last updated by thomasS-11 5 years, 9 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#268217

Hi.. So i have a view that i need the image src instead of the whole <img> output.. my view looks like this: [wpv-post-featured-image output="raw"] but i still get the original image instead of the raw src only?

#268359

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Please try this:
[wpv-post-featured-image raw ="true"]

More help:
raw (opt):
'true' | 'false' (default)
If true, the image url will be returned instead of the image HTML tag.

https://toolset.com/documentation/views-shortcodes/#wpv-post-featured-image

#268407

This worked.. but why did you change the attribute? it used to be output="raw" before?