Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2008-11-12 19:56:17

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#2 2008-11-12 20:20:12

Mark
Member
From: Southport, Uk
Registered: 2008-05-03
Posts: 394

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.

Offline

#3 2008-11-12 20:22:10

Gizzmo
Member
From: Earth, Milkyway Galaxy
Registered: 2008-04-30
Posts: 301
Website

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


~Gizzmo - My Mods: Usermap (Github) - Default Avatar (Github)

Offline

#4 2008-11-13 09:06:45

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

Re: Pictures not showing up

Thank you.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#5 2008-11-13 14:53:11

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#6 2008-11-13 16:32:32

Mark
Member
From: Southport, Uk
Registered: 2008-05-03
Posts: 394

Re: Pictures not showing up

755 afaik

Offline

#7 2008-11-13 19:09:00

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,117
Website

Re: Pictures not showing up

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

Offline

#8 2008-11-14 15:16:09

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#9 2008-11-15 13:25:36

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#10 2008-11-19 13:04:09

Kaboon
Member
Registered: 2008-05-28
Posts: 24
Website

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?

Offline

#11 2008-11-19 18:16:48

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

Re: Pictures not showing up

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#12 2008-12-03 08:08:01

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

Re: Pictures not showing up

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

Thanks


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#13 2008-12-03 09:05:00

twohawks
Member
From: Stateline, NV USA
Registered: 2008-05-11
Posts: 135

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.

Offline

#14 2008-12-03 10:00:28

Christian
Developer
From: Vienna, Austria
Registered: 2008-05-10
Posts: 463
Website

Re: Pictures not showing up

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


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

Offline

#15 2008-12-03 13:02:38

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,117
Website

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?

Offline

#16 2008-12-03 19:49:56

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#17 2008-12-03 20:40:48

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,117
Website

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.

Offline

#18 2008-12-03 20:50:09

twohawks
Member
From: Stateline, NV USA
Registered: 2008-05-11
Posts: 135

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.

Offline

#19 2008-12-04 09:24:20

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#20 2008-12-04 13:38:47

Connor
Former Developer
Registered: 2008-04-27
Posts: 1,127

Re: Pictures not showing up

Use a paid host

Offline

#21 2008-12-04 13:52:42

xable
Member
Registered: 2008-05-13
Posts: 145

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)

Offline

#22 2008-12-04 19:53:08

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

Re: Pictures not showing up

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

Thanks everybody, though.

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


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#23 2008-12-04 23:18:57

twohawks
Member
From: Stateline, NV USA
Registered: 2008-05-11
Posts: 135

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.

Offline

#24 2008-12-05 20:04:05

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 3,755
Website

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?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#25 2008-12-05 21:02:35

twohawks
Member
From: Stateline, NV USA
Registered: 2008-05-11
Posts: 135

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.

Offline

Board footer

Powered by FluxBB 1.4.8