• Resolved Onda Concepts

    (@onda-concepts)


    Hi there,

    I created a custom Pod type called Teams which includes a photo of the team member using the “File/Image/Video” field type.

    I also use the plugin Query Wrangler (https://www.ads-software.com/plugins/query-wrangler/) to create custom queries and widgets to display the team members (my background is Drupal and WordPress). I can reference the photo field in Query Wrangler and when customising the HTML in my templated, I use this:

    	<div class="team image person-img">
       		{{meta_tm_photo}}
       	</div>

    This in turn will generate the following in the page:

    <div class="team image person-img">
       		<img src="https://planningpartners.com.au/pp/wp-content/uploads/2016/10/pp-martin-00-300x300.jpg" class="attachment-medium size-medium" alt="" srcset="https://planningpartners.com.au/pp/wp-content/uploads/2016/10/pp-martin-00-66x66.jpg 66w, https://planningpartners.com.au/pp/wp-content/uploads/2016/10/pp-martin-00-80x80.jpg 80w, https://planningpartners.com.au/pp/wp-content/uploads/2016/10/pp-martin-00-300x300.jpg 300w, https://planningpartners.com.au/pp/wp-content/uploads/2016/10/pp-martin-00.jpg 533w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="300">
       	</div>

    This has been working great up till version 2.7.16.2 of Pods however for some reason images are not displayed when I updated Pods to 2.7.17. All I got was:

    	<div class="team image person-img">
     
       	</div>

    There were no PHP errors in the logs. Would you have any idea what the problem may be?

    Thank you for your assistance in this matter.

    WordPress version: 5.3.2
    Pods current version: 2.7.16.2 (rolled it back to the last working version)
    Query Wrangler version: 1.5.44

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images not displaying when using Query Wrangler’ is closed to new replies.