Jump to content

Images are not working


Shadowing

Recommended Posts

Hey guys ive been using XAMPP locally on my desktop for 6 months but now i switched to a VPS that I manage my self

 

I have everything up and running accept for some reason I cant display image files or CSS url back ground pictures.

is there some sort of setting that I need to have turned on or something?

im running it on ubuntu 10.04

 

<img class="stargate" src="/images/stargate/1.gif" alt="chevron 1" />

www.stargatesystemlords.com/signup.com

Link to comment
Share on other sites

Unfortunately, Apache on case-sensitive operating systems causes URL's to be case-sensitive.

 

You need to use the exact same capitalization as your folders names in any link/url - Images

 

I would recommend using all lower-case for folders and file names.

 

P.S. You have options indexes on, which allows directory browsing (browse to any folder path.) You also don't have a default document in your root folder. You need a .htaccess file with Options -Indexes to prevent directory browsing.

 

Link to comment
Share on other sites

thats amazing problem solving PfMaBiSmAd lol

 

that fixed it. yah i use lowercase for everything even php variables and stuff. but for some reason i named two folders starting with a capital letter lol. thanks you alot.

 

i have one picture not displaying still trying to figure out why. maybe cause the picture name is 0.gif. going to try something else

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.