OS Property support center

Possible bug in image posting (2.0.4.5)

  • zenoni
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 2 months ago #25991 by zenoni
I'm investigating OSP 2.0.4.5 and found the following issues:

In configuration -> Images there are set two parametres: Max width size of image 1024 and Max height size of image is 768, but I can still upload images larger on frontend than these predefined maximum image limits. I think that this is a bug?

Property will have maximum 12 photos. Where can I change this number?

Attachments:

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

More
11 years 2 months ago #25994 by Mr. Dam
Replied by Mr. Dam on topic Re: Possible bug in image posting (2.0.4.5)
Hi,
Thank you for your bug report, we will check it and fix it in case it's error
Thanks
Dam

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

  • zenoni
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 month ago #27664 by zenoni
Replied by zenoni on topic Re: Possible bug in image posting (2.0.5)
Hello

I checked and would lik eto report that this bug is still permanent in the latest version of OSP 2.0.5.

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

More
11 years 1 month ago #27676 by Mr. Dam
Replied by Mr. Dam on topic Re: Possible bug in image posting (2.0.5)
Hi,
We have found the solution for this problem, but there is no way to prevent user to upload big size photo by using Javascript, because some web browers don't allow it.
Maybe in next version, we will remove the max big size option in Configuration. If you have any solution, please let us know, we will appreciate it.
Thank you very much
Dam

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

More
11 years 1 month ago #27694 by sti
maybe can use

if($_FILES > $limit){
//;
}

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

Moderators: Mr. DamNguyen Phu Quan