Closed Thread Icon

Topic awaiting preservation: Background images not showing (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26416" title="Pages that link to Topic awaiting preservation: Background images not showing (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Background images not showing <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-09-2005 22:11

I am putting this in SS since this started when I implemented htaccess for mod_rewrite. Everything went fine and I've done this numerous times since I bugged the hell out of Emps on my first run through.

This on has me quite puzzled though.

Here is my htaccess:

code:
RewriteEngine  on
Options +MultiViews
RewriteBase   /
RewriteRule (contact|about|haks|archives)(/)?([a-zA-Z0-9_]*) /index.php?link=$1 [L]



Here is the style sheet snippet:

code:
#sidebar h4 {
font:normal 12px verdana; 
color:#D5D5D4;text-align:center;
background:url(../images/hackpacks.png);
background-repeat:no-repeat;
height:23px;
width:110px;
margin-left:30px;
}


#sidebar h4 span{display:none;}



Here is the html:

code:
<div id="sidebar">
<a href="index.php?link=haks"><h4><span>Hak Packs</span></h4></a>
</div>



So...I have tried it with an absoulte path, the actual http://..... stuff, I have tried /../images/.
Lot's of stuff.

If you actually go to this to view the image:
http://ncs-legendforge.com/images/haks_on.gif

You get the page...Same way with the Archives section. I have tried to save the images as different names, different extensions...not sure what else to do.

The links are there, just not showing the images.

Even more strange to me is that there are other images in the same directory that are being called in the style sheet the same way taht are working fine. Like the header image at the top and the background image.

Need any more info, just let me know. Here is the site in question:

http://ncs-legendforge.com/

I have taken out the index page of the images directory if you want to see it there

http://ncs-legendforge.com/images


Thanks in advance!

Later,

C:\

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-10-2005 15:54

OK, seems that I fixed it by simply renaming the images to something that did not contain the words being used in the htaccess file.

I am sure that there's a better way to do it or I did something wrong in the htaccess file but it's working

Later,

C:\

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 08-10-2005 16:31

you'd probably want to tell the .htaccess that it's supposed to start at the beginning of a string.

I believe

code:
RewriteEngine  on
Options +MultiViews
RewriteBase   /
RewriteRule ^(contact|about|haks|archives)(/)?([a-zA-Z0-9_]*) /index.php?link=$1 [L]



should do that. And jup, that's teh way the grail does it.

so long,

->Tyberius Prime

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-10-2005 19:07

ah...the carret at the beginning of the RewriteRule. OK. Took my a few to see what was different between yours and mine.

Thanks!

Later,

C:\

« BackwardsOnwards »

Show Forum Drop Down Menu