img tags lack src attribute
-
Hi,
My issue seems similar to this one https://www.ads-software.com/support/topic/img-src-is-blank?replies=4
I’ve removed as many variables as possible to get to the essence of the problem. I’ve got WordPress 4.3.1 installed with Easy Author image 1.5. I’ve uploaded an avatar and it shows up in the right corner of the admin bar when viewing posts.
My template code is:
<img src="<?php echo get_author_image_url(); ?>" class="avatar">
However, in the front end, posts contain:
<img src="" class="avatar">
Am I doing something wrong?
- The topic ‘img tags lack src attribute’ is closed to new replies.