WP LAyout Images For Theme Not Showing

Status
Not open for further replies.

jerxs

New member
Jun 24, 2006
1,804
24
0
North East PA
I just started working on a WP template and have run into a weird problem. Ive uploaded header.php and all the images show, then I made some changes, changed a few image files, uploaded again now the images that I changed will not show unless I use a complete url;

before I made the changes (images/whatever-images.jpg) would work, now Im having to use (http://domain.com/wp-content/themes/theme/images/whatever-image.jpg)

Yet all of the images that I initally placed and have not changed work with (images/whatever-image.jpg).

Any ideas?

heres a url, VideoPoo the glossy bar, look on the left that image is linked using full url and it shows, while the right end cap is not and does not show :stonedsmilie:

Thank you, Jer
 


I noticed a similar problem when modifying images in MS Paint. The extensions on the files are saved with capital letters by default (*.JPG), and sometimes there are issues with servers not recognizing that *.JPG and *.jpg are the same.

So on your server, make sure your images match the source string exactly.
 
all the extensions match, I cant understand what the hell is going on here its really starting to frustrate me though.

thanks for the reply, Jer
 
using a full URL to the image path fixes this problem for me too as you mentioned, not sure why, might be a re-write issue

<img src"=/images.jpg"> to <img src"http://www.URL.com/images/image.jpg">
 
Ive even tryed playing with permissions on the themes directory. Is there any real disadvantage to using a complete url, other than just being a pain in the ass?
 
Ive even tryed playing with permissions on the themes directory. Is there any real disadvantage to using a complete url, other than just being a pain in the ass?
Basically it's slightly larger making your site slightly larger...

On the other hand you don't every have to worry about your /books/jekljel.html getting fucked up by moving folders and what not, you're sure your links will keep a working. I sometimes use complete url's on certain sites that i don't want to check for 404 errors all over.
 
Im thinking it has something to do with the functions file, I dont know php so Im using some of the default info on this template. Any one know of a good tutorial for editing the functions file in a WP theme?
 
Well despite the image issue im making progress on the template, even though its dark and I usually shoot for a lighter look, its looking pretty good. Hopefully it will be a money maker a few months down the road.
 
Status
Not open for further replies.