PDA

View Full Version : Subdomain Image Issues (Yes, Another One)


MaunaLoa
09-21-2007, 02:49 AM
So I've been trying to troubleshoot the issues with my subdomain for the past few weeks now, since I love how I am able to have one that only people I choose to give it out to can get to as opposed to my professional site being the subdomain.

http://arathisiewen.maryannvoisinet.com

As you can see, there is obviously a missing image there - there is also a background image that is not showing. I have changed my permissions so everyone can execute and read, but only I can write to the files (does... that make sense?)

http://www.fileden.com/files/2007/9/21/1446874/Picture%201.png

That is a view of the permissions window as it stands right now. The image link I use for the missing picture is (I got this from another thread with someone having subdomain image problems)-

http://www.maryannvoisinet.com/arathisiewen/top.jpg

As I mentioned, there is also a background image, but that won't show up as missing. In addition, since it is IN the folder for the subdomain, shouldn't I be able to just use "top.jpg" and have the image show? I have tried all the combinations for the image link that I can try.

Anyway, as I type this I uploaded the images to my fileden account and it is showing jsut FINE when linksed from there. I kept the "header" image broken so you can check the problem for me.

felgall
09-21-2007, 04:08 AM
permissions has nothing whatever to do with whether an image shows or not. If an image doesn't show the there are several possibilities.

1. You forgot to load it.
2. You loaded it to the wrong place.
3. You gave it the wrong name (eg myimage.GIF instead of myimage.gif)
4. You have hotlink protection enabled for the folder containing the image and the place you are trying to read it from isn't on the list of allowed sites.

MaunaLoa
09-21-2007, 09:05 AM
Load it?

It's in the main directory for the subdomain (/public_html/arathisiewen/), so, and I feel supremely stupid right now, I'm pretty sure that isn't the problem. As for loading it to the wrong place, I've tried loading it in the non subdomain image folders I've got up as well, changing links of course, and that didn't work either.

Nope, not the wrong name either. Although I did think maybe I did that at one time - I have tried many many different possibilities for the links.

I shouldn't have a problem viewing it as a website image if I'm looking AT the website, right? I mean, I could understand if I'm linking from another site (I think I was trying to link one from craigslist), but I'm not.

I'm sorry if I came back all snippy, really I do. But I've tried tons of link combinations and uploading locations. Images work on my domain site though!

:(

felgall
09-21-2007, 11:22 AM
Can you post a link to the page that can't display the image and a link to the image - then i will probably be able to see what the problem is or at least narrow it down.

MaunaLoa
09-21-2007, 11:42 AM
Sure - although when I do the link to the picture (taking out public_html and such) it gives me a 403 error. The first link below is to the page which is not displaying the image, although I am currently hosting the background picture at fileden as I was trying to see if it would work when linked from there - I have two links there because I'm not sure which format the link should be.

http://arathisiewen.maryannvoisinet.com
http://arathisiewen.maryannvoisinet.com/top.jpg
http://www.maryannvoisinet.com/arathisiewen/top.jpg

I'm not sure if either of the image links work, but I'm sure that's where the image is.

adddfico
09-22-2007, 09:28 AM
Do you have something that ends with this in your .htaccess file?

RewriteRule .*\.(jpeg|jpg|png|bmp|gif)$ - [F]

I would suggest removing it if you do..can't find any other reason why it would do that if everything else is correct.
Seen quite a few programs put in their own rewrite rules like this.

felgall
09-22-2007, 02:32 PM
Change the reference to the file in the page source from

http://www.maryannvoisinet.com/arathisiewen/top.jpg

to

arathisiewen/top.jpg

You have the image blocked from being able to be accessed via addresses that include the domain name.