Staff photo size
-
I’m getting a fatal error using the thumbnail size feature:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24576 bytes) in /Users/user/Sites/HSA2/wp-content/plugins/simple-staff-list/public/partials/simple-staff-list-shortcode-display.php on line 140 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /Users/user/Sites/HSA2/wp-content/plugins/woocommerce/includes/class-wc-logger.php on line 1
[staff_loop] <div class="staff-member-info-wrap"> <img class="staff-member-photo" src="[simple-staff-list image_size=shop_thumbnail]" /> [staff-name-formatted] [staff-position-formatted] [staff-twitter] [staff-bio-formatted] [staff-email-link] </div> [/staff_loop]
This works, but the images are in original, random sizes:
<img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">
One other display issue is that the Twitter field shows, even if no Twitter handle is entered. Ideally this would not display at all for those people without a Twitter account.
Really fab otherwise. If you have any insight into the image issue, that’d be great. Thanks in advance!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Staff photo size’ is closed to new replies.