- This topic is empty.
January 8, 2010 at 7:43 pm #27500kb2tfaMember
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.Code:css for a div
What doesnt’ work:
just a plain img tag placed on a page.Code:this doesn’t work, only alt text shows
Is there something that is a part of wordpress stopping this?January 8, 2010 at 10:25 pm #69144LuminatedMember
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:Code:
In your case: