OS Property support center

Allowed image type

  • Aydın
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 8 months ago #39595 by Aydın
Allowed image type was created by Aydın
Hi, Where can ı change the allowed image type ?

Could you help me please?

Thanks

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

More
11 years 8 months ago #39596 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Allowed image type
Hi Aydin,
There are several places at both front-end and back-end that you need to make the modification to change the image type.
I will list the source files that you need to make the modification in case you want to add new image type. You should change javascript (image type checking) and php function (save and creating thumbnail/medium pictures)
components > com_osproperty > js > lib.js
components > com_osproperty > classes > listing.html.php
components > com_osproperty > classes > listing.php
components > com_osproperty > classes > company.html.php
components > com_osproperty > helpers > common.php
administrator > components > com_osproperty > classes > property.html.php
administrator > components > com_osproperty > classes > property.php
administrator > components > com_osproperty > helpers > common.php
.etc
If you want to change the image types, for example GIF, PNG .etc, you should change the resize function also.

In next version 2.6, we will add new image type JPEG into OS Property.
Thanks
Dam

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

  • Aydın
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 8 months ago #39628 by Aydın
Replied by Aydın on topic Re: Allowed image type
Thanks for your reply, I will wait next version. :)

Maybe you will change to image upload system ?

Or please add png and gif type to allowed image type.

This system is really hard to use for last user.

And your image resize system is not working wery well.

For example when ı try to add a big size image, Its not working well. Its very slow. But ı use as you know lots of listing website.

they havent any problem with bigger size image. They are working very fast when they are resize an image.

Maybe you can change your system.

Thanks alot.

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

More
11 years 8 months ago #39631 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Allowed image type
Hi Aydin,
Maybe in next time, i will use the flash uploading and resizing to solve the problem you talk
Thanks
Dam
The following user(s) said Thank You: Aydın

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

Moderators: Dang Thuc DamNguyen Phu Quan