theme image problem

Permalink 1 user found helpful
Hi everyone, I have a problem. I am using a converted theme for my site, but when i use this code to load the css
<link href="<?php      echo $this->getStyleSheet('css/style.css')?>" rel="stylesheet" type="text/css" media="screen" />
the theme loads, but no images are displayed. when I inspect with firebug, all the images give 403 errors. I have tried clearing the cache, and all the permissions are set correctly. I am loaing the images in the css like this. images/img01.gif any help would be appreciated. If I try loading the css with
<?=$this->getThemePath()?>/
it displays as a blank page. This happens for several themes, but several other themes do load correctly using the getstylesheet function, with images.

12345j
 
jbx replied on at Permalink Reply
jbx
intriguing... What's in your .htaccess file??

Jon
12345j replied on at Permalink Reply
12345j
RewriteEngine off
<IfModule mod_suphp.c>
   suPHP_ConfigPath /home/stup1did/public_html/test/php.ini
   <Files php.ini>
      order allow,deny
      deny from all
   </Files>
</IfModule>
LucasAnderson replied on at Permalink Reply
LucasAnderson
Any way we can get a link to your site to inspect the generated code and your css file?
12345j replied on at Permalink Reply
12345j
yeah sure, Ill pm it to you guys. its a test site for a private site. the private is locked, but the test is unlocked. both have the same problem.
LucasAnderson replied on at Permalink Reply
LucasAnderson
Some thoughts are that it could be a permissions issue on your theme images or images folder. You get a 403 Forbidden when trying to call those images directly.

Could also be problems with disabled image hot-linking on your server?
12345j replied on at Permalink Reply
12345j
they're all set to 755, the images and the folder, so I don't think its that. Not sure what you mean by image hotlinking.
Mnkras replied on at Permalink Reply
Mnkras
in the css try using ./images or /images
12345j replied on at Permalink Reply
12345j
good idea, but didn't work for me. I also tried putting the css in the images folder and loading it without /images attached and that didn't work either... any more ideas?
12345j replied on at Permalink Best Answer Reply
12345j
wierd. for some reason the outer directories were being set to 700. just noticed it accidentally, don't usually have permissions view turned on. for some reason some of my themes get 755 and some 700, which I had trouble with.