OS Property support center

Agent upload big size foto

  • Stas
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 month ago #60791 by Stas
Agent upload big size foto was created by Stas
Agents photographs of bigger size.
When you save, they are not displayed but are loaded into the folder imago. How to deal with this problem.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #60825 by Mr. Dam
Replied by Mr. Dam on topic Agent upload big size foto
Hi Stas,
In this case you need to increase the PHP variables: memory_limit, max_execute_time and max_filesize_upload
- memory_limit: In case you upload big size picture, the system will need more CPU to resize it, and in this case, it need enough big memory to process this task. Solution is increasing memory_limit as much as possible
- max_execute_time: When system works with big size picture, it will need more time than smaller one, so we must allow enough executing time so system can complete work.
- max_filesize_upload: when you upload the big picture that exceed the maximum file size limited value, the system won't allow to upload it into server. In this case, to make sure the picture can be uploaded, you need to select the photo that has size (kb) is lower than the max_filesize_upload value.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan