Report this

What is the reason for this report?

Images from the server won't display on site (Wordpress)

Posted on August 26, 2018

Images won’t show up on my Wordpress site’s footer except 1. The one that is working is:

<img scr="<?php echo get_template_directory_uri(); ?>/img/logo/AA-logo.svg" />

These ones that are bellow won’t show up even tho I have checked the files and code over and over again.

<img scr="<?php echo get_template_directory_uri(); ?>/img/logo/sisailmayhdistys.svg" />
<img scr="<?php echo get_template_directory_uri(); ?>/img/logo/luotettava-kumppani.svg" />

Any thoughts whats wrong? EDIT: Now they all won’t work, sigh.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @nooberi,

I’m glad to hear everything is working as it’s suppose to now!

Just a quick suggestion when facing issues like that, If for some reason the images don’t load most probably there is typo or just the whole path is wrong. To check the actual path your server is trying to reach, you can use your browser’s console and checking the exact error there.

The error would be a 404 NOT Found because the image is not being displayed exactly due to that. From there you can see what exactly is going on and why the image doesn’t load.

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.