My Drupal site contains images and videos of an event. I got a problem with image module. When I am uploading image an error "The file could not be uploaded"
is displayed. I set the formats as jpg, jpeg, png.
I have a similar site in another server but it is free from this issue. It is uploading images smoothly.
How can I solve this?
sudo chmod -R 777 <foldername>
sites/default/files
folder should be 755.