images don’t show in browser
-
Hello,
searched the forums and found a lot of topics, but none seem related to my case.
I am trying to get to build my first theme in WordPress.
What I did was create a new theme and uploaded a index.php, a style.css and an images folder into this folder.I pasted my HTML into the index.php file and am in the process of changing this to a working theme. I changed the image URL’s using the bloginfo template tag like so:
code
<img src=”<?php bloginfo(‘template_directory’); ?>/images/
sample.jpg” alt=”Example Image!” />/code
I I open my page in Firefox, The images do not show. I only see the alt tag, In Safari I get to see questionmarks.
When I look into the sourcecode I see that the Image URL;s are allright. If I copy them and paste them in a browser the image shows as it should.
The WordPress installation is a fresh install, latest version. No plugins except for Akismet.
The site is here:
https://www.littlewings-wanbetaler.nl/What is happening here ?
- The topic ‘images don’t show in browser’ is closed to new replies.