Osclass Support Forums
Osclass plugin support => Business Profile Plugin => Topic started by: abuzarkandwal on September 13, 2021, 10:15:42 AM
-
what is the logic to upload logo or profile picture in png file why other format are ristricted
-
@abuzarkandwal
Well, answer is because it was developed like that and this file type was selected as only one.
-
i want to allow all format like wall photo how to allow
-
@abuzarkandwal
Take a look into user/profile.php
$allowed_extensions = array('png');
This change will require checking of proper functionality & fixing possible issues.
-
please tell me when i go to that file what to do I don't know coding i will copy past it
-
@abuzarkandwal
Putting there any code, that require testing, and you have no clue about it, does not make much sense and you should not do modifications, if you do not know what is array.
Anyway, expected NEW code could be something like:
$allowed_extensions = array('png', 'jpg', 'gif', 'webp', 'jpeg');
-
This plugin needs modified as it is pretty useless for anybody using a cell phone making a business profile, since all cell phones emit a Jpg file. Most people are using cell phones these days, and developers should know that already. Only being able to install a Png image for a profile image is not good workman ship on development. Please Modify this plugin so normal people can make a business profile, that is what it was made for. I don't know of many normal people that know how to even take jpg image and covert it to png, or even business people. This plugin was made with out thoughts. My review.. 2 stars. Pretty worthless really. It takes to much work for a logo image.
-
It is quite weird to base review on logo extension restriction, anyway thanks for feedback ;)
-
not weird, it's just useless plugin as it is my friend. All plugins should work using a phone regardless. This is the new world, were not back in the 80's or 90's anymore.
-
@Sparky
JPG/JPEG file extension you request is older than PNG extension.
PNG files use the file extension PNG or png and are assigned MIME media type image/png.[6] PNG was published as informational RFC 2083 in March 1997 and as an ISO/IEC 15948 standard in 2004.[1]
JPEG or JPG (/ˈdʒeɪpɛɡ/ JAY-peg) is a commonly used format for lossy compression for digital images, particularly for images produced by digital photography. ... The term "JPEG" is an initialism/acronym for the Joint Photographic Experts Group, which created the standard in 1992.
-
It don't matter if it was made in 1940 , it's useless on a mobile phone. NOBODY can use it. NOBODY can make a business profile with it on a phone. It was a waste of money to me. It works all except for the logo image on a phone which is really important to members. If ya'll can make it convert Jpg file images to png images during upload , well it might work then.
-
@Sparky
You started with history ???
Please update your plugin to 1.4.0:
- Added option to upload gif, jpg, jpeg, webp images as icon & cover.
- Added option to remove icon & cover.
- Design adjustments.
- Removed legacy styles and fonts
-
I'm old so history don't count anymore.. ;D , Thanks for the update.
-
so you mean in new version we can upload jpg aa profile picture in business profile plugin
-
Yes that is correct - jpg, jpeg, png, gif, webp.
Same set of extensions is available for cover image as well 8)