Topic: Pictures not showing up

Hey, can anyone point me into the right direction with this? The pictures are not showing up... why?

http://www.vsgunion75.de

Re: Pictures not showing up

I have a feeling that the permissions on the folder the images are in does not allow for them to be shown?
As when I try to go to the url where the image is, I get stopped.

Re: Pictures not showing up

You don't have permission to access /img/hdrpic.png on this server.

yea check the permissions of the file and or the folder

Re: Pictures not showing up

Thank you.

Re: Pictures not showing up

When I go to the URLs of the pics, they are shown. When I click on back after that, they are even shown on the website.

Uhmmm... which permission should they be?

Re: Pictures not showing up

755 afaik

Re: Pictures not showing up

It sounds like you tried disabling hotlinking but messed something up.

Re: Pictures not showing up

I didn't try anything... I just moved to another server and it didn't work from the beginning on.

Stupid free hosts wink

Re: Pictures not showing up

Looks like you're right... When I go to the free hoster's subdomain, the pictures show up. Looks like they messed up wink

Re: Pictures not showing up

La`me wrote:

755 afaik

Regular folders should have chmod (0)755
Regular files should have chmod (0)644

Perhaps you could try to use the absolute links to the images to bypass the problem?

Audio-Tracker.com - my plaything
berkenpies.nl - personal website

Re: Pictures not showing up

They work. It's the apache settings. I am working on it right now.

Re: Pictures not showing up

Does anybody know how to do it without .htaccess and php.ini?

Thanks

Re: Pictures not showing up

Hmmm... your ftp client should allow you to set permissions on files and folders in your online dirtectory.
In mine I simply right=click and select properties for the file or folder and set the chmod values there.
I have mine set similar to what Kaboon stated.
We recently had server upgrades to SuExec and I had to make some adjustments.  Wasn't a big deal, I suspect you should be able to be up and running with a few tweaks.
Just my two-sense ;^)

TwoHawks
Love is the Function.
No Form is the Tool.

Re: Pictures not showing up

Use the complete image-URL in your css. This should work.

http://www.fluxbb.de - Deutschsprachiges FluxBB Supportforum

Re: Pictures not showing up

lie2815 wrote:

Does anybody know how to do it without .htaccess and php.ini?

Thanks

How to do what? Block leeching while still allowing your own site to link to images?

Re: Pictures not showing up

Smartys wrote:
lie2815 wrote:

Does anybody know how to do it without .htaccess and php.ini?

Thanks

How to do what? Block leeching while still allowing your own site to link to images?

Exactly. Permissions shouldn't be the problem.

Re: Pictures not showing up

I'm confused. hmm

No, there is no way to block leeching without using .htaccess (unless you do something crazy like load all of your images through a PHP script and do the referrer checking there: then you're doing the same thing).

If you're having problems with it on your site, your .htaccess file is set up wrong.

Re: Pictures not showing up

Not effectively, I don't think.
I would recommend looking into basic htaccess and php methods.
Suggested googles:
"How to Protect Your Images from Bandwidth Thieves"
"How to add HTML-code around streaming anti-leech script"
"htaccess Anti Leech for more than one domain"

Hope this helps.
Cheers, HTH

TwoHawks
Love is the Function.
No Form is the Tool.

Re: Pictures not showing up

Ok, sorry, let me explain again.

I am hosted on the free server lie2815.1stfreehosting.com, but I use my own domain vsgunion75.de.

When viewing the site on the free server, all the pictures are showing up, on my own domain they are not.

My conclusion: Image hotlinking/leeching (or whatever you want to call it) is disabled on the server, but therefore also for my own domain (bad setup).

I tried to fix it with an .htaccess file, but they are disallowed, I don't have access to the configuration files and the support team doesn't answer.

So what can I do?

Thanks

Re: Pictures not showing up

Use a paid host

Re: Pictures not showing up

I don`t think theres anything you can do without the ability to use your own htaccess file. Even if you could use one the servers config would probably overide it.

Moving to a better free host or paying for shared hosting seem like your only options. $20 years shared would be better than any free host.

EDIT
Connor beat me to it big_smile

Last edited by xable (2008-12-04 13:54:48)

Re: Pictures not showing up

Well, I'll see, although that's not my decision... wink

Thanks everybody, though.

Last edited by lie2815 (2008-12-04 19:53:43)

Re: Pictures not showing up

Did you perform the google searches I present you with?
There is a way to do this - somewhat, with php, and I do not mean php.ini.
Its not easy, but you can try it out.

Last edited by twohawks (2008-12-04 23:19:16)

TwoHawks
Love is the Function.
No Form is the Tool.

Re: Pictures not showing up

Well, yes, the only interesting thing I found is this:

http://www.thesitewizard.com/archive/pr … ages.shtml

But will that help, if image hotlinking is disabled from other adresses, or will it trick the server?

Re: Pictures not showing up

I'm not sure I understand the question...
but if you mean, having no actual hotlinking protection available to you thru using, say, htaccess, how can this protect your images, I think the answer is... serving up the images only using php should allow you to chmod the directory where the images are so they cannot be linked to directly from outside your domain, i.e., they could only be called from a script resident on your server account.

Hope that makes sense.  From the discussion I assume you can at least chmod files/directories.

Oh, and you can probably ask your host if they would please turn off indexing on your site.  In fact... well, doesn't your host provide you with some sort of backend management tool? Many of those tools, or 'control panels', have utilities in them for doing things like turning off indexing for your site, or even specific folders, adding an htaccess code (where you don't write it, but you can select a feature, kind of thing), etc.

Last edited by twohawks (2008-12-05 21:28:56)

TwoHawks
Love is the Function.
No Form is the Tool.