Show Photos (Not Links) In Views

By: Pat Gallagher | Asked: 11/01/2022
ForumsCategory: How-toShow Photos (Not Links) In Views
Pat Gallagher asked 1 year ago
Hey there, trying to build out a directory of vendors that have confirmed their information for an upcoming event. Among that information, they've submitted logos and photos of their work. When using the shortcodes to build out a view, the photos show up as links instead of displaying the photo on the front end directly. Is there code or sytax I need to use with the photo field shortcodes in to display them visually? Thanks in advance.
Bobby Clapp replied 1 year ago

Is the shortcode for an upload field or a URL field?

Pat Gallagher replied 1 year ago

It's an upload field. Was able to get it to work with a single photo by wrapping the shortcode in an img ref tag.

Is there a way to show multiple photos (from one upload field?)

Bobby Clapp replied 1 year ago

With this or a version of this using the "sep" parameter:

1 Answers

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community