Upload my website to halfway

Asked

Viewed 28 times

0

I created a real estate website, when the broker will upload photos on the property, and these are high resolution weighing around 2~5mb, it stops to rise, hangs for example at 83%. Could this be the plugin problem I added, or the server is limiting the connection ? Ps. Images of smaller size rise 100%.

  • Sending via Ajax? What api/plugin do you use for this? Give details.

1 answer

0


php comes by default on the server allowing a maximum upload size, and has a timeout as well, they can be changed by the initial configuration:

For the size:

1 - Open the file php.ini

2 - Find lines with 'upload_max_filesize' and 'post_max_filesize'

3 - Change your values to one that is enough for the image size.


For time:

1 - Open the file php.ini

2 - Find the line 'set_time_limit'

3 - Change its value (seconds) to a satisfactory value.

Source

  • You may be right, but the question is so broad that I don’t think it’s a good answer to this, it could be any problem other than the ones mentioned, even a bug in an upload API via javascript, the AP didn’t inform the technologies it uses, so it’s somewhat unlikely to say whether or not this is it. At these times personally I think it is best to vote to close and wait for the AP to provide relevant details.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.