Topic: Pictures not showing up
Hey, can anyone point me into the right direction with this? The pictures are not showing up... why?
Unfortunately no one can be told what FluxBB is - you have to see it for yourself.
You are not logged in. Please login or register.
FluxBB.org Forums » Programming » Pictures not showing up
Hey, can anyone point me into the right direction with this? The pictures are not showing up... why?
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.
You don't have permission to access /img/hdrpic.png on this server.
yea check the permissions of the file and or the folder
Thank you.
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?
It sounds like you tried disabling hotlinking but messed something up.
I didn't try anything... I just moved to another server and it didn't work from the beginning on.
Stupid free hosts ![]()
Looks like you're right... When I go to the free hoster's subdomain, the pictures show up. Looks like they messed up ![]()
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?
They work. It's the apache settings. I am working on it right now.
Does anybody know how to do it without .htaccess and php.ini?
Thanks
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 ;^)
Use the complete image-URL in your css. This should work.
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?
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.
I'm confused. ![]()
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.
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
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
Use a paid host
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 ![]()
Last edited by xable (2008-12-04 13:54:48)
Well, I'll see, although that's not my decision... ![]()
Thanks everybody, though.
Last edited by lie2815 (2008-12-04 19:53:43)
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)
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?
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)
FluxBB.org Forums » Programming » Pictures not showing up
Powered by FluxBB
[ Generated in 0.032 seconds, 7 queries executed ]