Broken Images
-
Getting broken images in the flyer when generated. I’m using a custom template that pulls in ACF custom fields.
Screenshot of flyer: https://monosnap.com/file/JYEMYVNJV2wkucovlsstjUjDfiqNQp
All the red X’s are broken images from the template. The red lined-out text content get is properly getting pulled into the flyer from ACF fields as well, so that part is working, somehow images aren’t though.
Here’s a snippet of code that I’m using to pull in the first image:
<?php if ($flyer): ?>
<img style="border: none; display:block; padding: 0; margin: 0;" border="0" src="<?php echo $flyer['url']; ?>" alt="" />
<?php endif; ?>Figure if we can fix one image, i’ll know how to fix the rest.
Also all plugins, WP version, and PHP version are all updated.
Please advise. Thank you!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Broken Images’ is closed to new replies.