Uploaded images size problem

I have a problem uploading images to the user profiles and the images of the announces. Sometimes they takes forever to upload or never upload them. My server doesn’t have any restriction that could be interfeing. What else could be hapening? I noticed that very light images gets uploaded, but any image above 1Mb don’t.

This issue may be related to a hosting plan and the maximum execution time settings of your site’s server, by default it’s set to 30 seconds or a similar value (for stopping slow processes), so if someone uploads a large image and this execution limit is exceeded then there will be no response from the server and the upload button will still look like it’s loading.