Can’t link images
-
I just cannot get images to show in “additional content”
I’ve even tried linking right out of the site and back in (so to speak) like this (on localhost):
Standard HTML
<a href="#"><img src=“/Users/user/DESIGN/travelling_stranger_wordpress/images/instagram.png" alt="travelling stranger instagram" style="width: 4%;"/> </a>
And tried WordPress linkage:
<a href="#"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/Users/user/DESIGN/travelling_stranger_wordpress/images/instagram.png" alt="travelling stranger instagram" style="width: 4%;" /> </a>
I’v also tried adding one or more
../
so the code becomes:
<a href="#"><img src=“../../images/instagram.png" alt="travelling stranger instagram" style="width: 4%;"/> </a>
Nothing works!
- The topic ‘Can’t link images’ is closed to new replies.