Skip Navigation

[Resolved] Add fallback image on archive page

This support ticket is created 4 years, 7 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 2 replies, has 2 voices.

Last updated by SteBlood 4 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1658225
Annotation 2020-02-26 102700.png

I'd like to add a fallback image, if a user does not upload one.

At the moment, I am only able to select a dynamic image, that the user selects.

Am I missing something?

#1658749

Shane
Supporter

Languages: English (English )

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

Hi Hayley,

You should be able to use our conditional statement to check if the user image is there.

Take a look at this documentation below.
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/checking-fields-and-other-elements-for-emptynon-empty-values/#1-using-the-empty-function

Essentially you can check if the field is empty and if it is you can display X then write another conditional to check if it is not empty and Display Y if it is not.

Please let me know if this is clear.

Thanks,
Shane

#1661287

My issue is resolved now. Thank you!