The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’m using wordpress as a backend, and I’m having some issues with images.
In my theme folder, I have an images folder for my photos.
If I create a div an assign it a background-image via css, it works.
What doesnt’ work:
just a plain img tag placed on a page.
Is there something that is a part of wordpress stopping this?
To a WP installation, that path is null. You need to point it to the theme folder…easiest way to do this is use the PHP function that will always cause WP to start at the root of your template directory:
In your case:
Thank you very much Luminated
That worked like a charm
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed