Upload images

Hello.

I have a problem with uploading images. The file plugin works and i have correctly sets the permissions of the data directory and subdirectories (777). But the profile can't upload images neither my plugins. What can be the problem?

I'm using elgg 1.7.8.

Thanks in advance.