Gallery problem

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

5 replies · 469 views · started 17 years ago · 1 min read

2 participants
Vicelord Junior · 19 posts #1

On have a gallery on my site, the problem i have is when i upload it, the image on the site doesn't appear, when i go and check in my FTP the image has been loaded correctly and is in there. Does anyone know how to fix this.

thanks

alesh Lead · 604 posts #2

check chmod of that uploaded pic... i think its automatic chmod is protected 4 viewing.... what i do is this

@chmod ($file, 0644);

eeeeerrr....

Vicelord Junior · 19 posts #3

ahh i see now, it goes in as chmod 600 where do i put that code?

alesh Lead · 604 posts #4

in your upload.php file... or whatever its called...

eeeeerrr....

Vicelord Junior · 19 posts #5

ok try'd that and didn't work 🙁

alesh Lead · 604 posts #6

watch out for variable $file

$file = handle your just uploaded file (pic.gif)

@chmod ($file, 0644);

and also watch where you placed it...

it was troubling me for some time...but at the end it was easy lol

eeeeerrr....

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close