Hey, I'm new to Drupal but in the past month through much reading and trial & error I've managed to create a volunteers website for our organisation. We're happy with it since it turned out fine design & functionality wise.

The only problem is I cannot upload any pictures at all, be it to a gallery, profile pictures, nothing. I always either get an error (Image could not be uploaded, etc) or nothing happens. I've read so many topics, tried all of the various upload & gallery modules, set the directories correctly (it can see the images if I put them there through ftp) on this matter but nothing works.
I can't upload a single thing.

An image gallery is the final piece that's needed for this volunteer's site and I could finally hand it over to them but, as it stands, I can't upload anything.

Any help would be much appreciated!

Comments

nevets’s picture

It sounds like a directory permission problem. Is you temp directory configured correctly? Was the 'files' directory under sites/default create automatically? (both settings are under 'Site Configuration' >> 'Files').

brendand’s picture

Thanks alot for the reply, I'm strung out solving this that I've no hair left :P

Ok, this is how it stands, under File System:

File System Path:
sites/default/files

Temporary Directory:
files/temp

I've changed the 2 directories around so much based on other topics here but they haven't proved successful.

I will note that although I've never been able to successfully upload pictures to a gallery I was able to upload Profile Pictures at the beginning but that stopped working too.

albannach’s picture

I feel for you!

I too have struggled with an out of the box installation of Drupal 7 - can't get any images to display, ever.

They seem to be uploaded to the folder, but they don't appear at all, only as a link to the page where the image is embedded.

I can't display an avatar, an image in an article, new logo, even changing the colours of a theme leaves no colours.

I am beginning to wonder if Drupal's worth the fight: I had such high hopes for it and feel a bit of a mug because I extolled it's virtues to my community and then I find it can't deliver. Really, if I can't get any images up , I'll have to scrap Drupal and go for another CMS.

brendand’s picture

Drupal has been an utter pain to get working. Simplistic things like image upload has had us confused as to why it refuses to work.

Please, can anybody help. This site can't be officially launched without the ability to upload images.

If this is the case where I can't even upload a measly jpeg then I'm going to have to switch to another CMS, I can't wait around any longer on this issue.

albannach’s picture

Hi there,

I found out what the problem for me was - perhaps it is yours too?

(The full discussion here: http://drupal.org/node/1121774)

For me it turned out to be the .htaccess file in sites/default/files. I had to comment out offending lines to get things working fine. NB I discovered you can't just delete this file, as it gets recreated.

I do hope this solves your problem - I was getting frantic two: Drupal installed and two weeks wasted on trying to find out why no images would appear!

brendand’s picture

Thanks for the tip but it still didn't work for me.

Altered the .htaccess file
I've tried different versions of modules
Changed directories (Which they do create)
Checked all permissions which are set to read / write, etc

I still can't upload anything. Drupal has caused me more grief than anything with things I've installed only half ever working without much configuring.

I've 2 other websites running on Drupal which I set up at the same time and this problem occurs on them also.

I really don't want to start from scratch again, I can't afford to with the time lost, but I am without a doubt not returning to Drupal.

brendand’s picture

Only bit of progess I've made after removing and reinstalling modules was that the folders are now being created at least.

Still can't upload anything though without getting a 403 ERROR.

Please, can anyone help? It's been too long that I've had to hold off the website because of this (I'm sure) simple problem.

nitvirus’s picture

see this link:http://drupal.org/node/1111782

change your permissions to 775..
hope it helps.

brendand’s picture

Thanks, but I've had the permissions set to that already. Still no luck.

I was able to upload pictures at the very beginning (At the time my limited knowledge of Taxonomy / Views threw me off how organise them)

Somewhere along the line something changed and now I can't upload a single thing (profile pics, images, etc).

I've used multiple different image galleries as tests (Galleries, Acidfree, Photos, etc) but none of them provide anything so I know it's not module-related at least.

I tell ya, I'll be delighted when / if I get this last thing sorted so I can wash my hands off this damn website :P

nitvirus’s picture

One has to give permissions on imagecache so that anonymous and authenticated user could view the images .
~~yousite url/?q=admin/user/permissions
please check this.

brendand’s picture

Imagcache is there and all permissions have been set.

Everything else works on this site bar images. I've uninstalled and reinstalled different versions of image-related modules but it doesn't change a thing.

I think I'm going to have to give up on Drupal, it was an experiment to compare it with other CMS and it was a miserable failure. My head hurts searching through here and google with a toothcomb and coming up with nothing that works. I can't hand over this website when such a basic function won't even work. I'm going to have start from scratch on another CMS.

Thanks for the reply, anyways.

dquark3’s picture

I fixed a similar problem for myself after migrating to a new server. Turns out I needed to turn on the upload files from http in my php.ini settings.

bwoods’s picture

For me, I had to change max_execution_time to 60 in php.ini.