This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

abuzarkandwal

  • ****
  • 112 posts
logo png file
« 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

*

MB Themes

Re: logo png file
« Reply #1 on: September 13, 2021, 03:56:38 PM »
@abuzarkandwal
Well, answer is because it was developed like that and this file type was selected as only one.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

abuzarkandwal

  • ****
  • 112 posts
Re: logo png file
« Reply #2 on: September 13, 2021, 04:08:27 PM »
i want to allow all format like wall photo how to allow

*

MB Themes

Re: logo png file
« Reply #3 on: September 13, 2021, 04:14:39 PM »
@abuzarkandwal
Take a look into user/profile.php
Code: [Select]
$allowed_extensions = array('png');
This change will require checking of proper functionality & fixing possible issues.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

abuzarkandwal

  • ****
  • 112 posts
Re: logo png file
« Reply #4 on: September 13, 2021, 04:18:40 PM »
please tell me when i go to that file what to do I don't know coding i will copy past it

*

MB Themes

Re: logo png file
« Reply #5 on: September 13, 2021, 04:24:50 PM »
@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:
Code: [Select]
$allowed_extensions = array('png', 'jpg', 'gif', 'webp', 'jpeg');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sparky

  • ***
  • 84 posts
Re: logo png file
« Reply #6 on: November 23, 2021, 07:12:55 PM »
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.

*

MB Themes

Re: logo png file
« Reply #7 on: November 23, 2021, 07:15:23 PM »
It is quite weird to base review on logo extension restriction, anyway thanks for feedback  ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sparky

  • ***
  • 84 posts
Re: logo png file
« Reply #8 on: November 23, 2021, 07:27:50 PM »
 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.

*

MB Themes

Re: logo png file
« Reply #9 on: November 23, 2021, 08:28:59 PM »
@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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sparky

  • ***
  • 84 posts
Re: logo png file
« Reply #10 on: November 23, 2021, 10:57:56 PM »
 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.

Marked as best answer by frosticek on November 24, 2021, 06:57:55 PM
*

MB Themes

Re: logo png file
« Reply #11 on: November 24, 2021, 08:30:59 AM »
@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
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sparky

  • ***
  • 84 posts
Re: logo png file
« Reply #12 on: November 24, 2021, 06:33:53 PM »
 I'm old so history don't count anymore..  ;D , Thanks for the update.

*

iiui awan

  • ****
  • 118 posts
Re: logo png file
« Reply #13 on: November 28, 2021, 09:45:58 PM »
so you mean in new version we can upload jpg aa profile picture in business profile plugin

*

MB Themes

Re: logo png file
« Reply #14 on: November 28, 2021, 10:24:59 PM »
Yes that is correct - jpg, jpeg, png, gif, webp.
Same set of extensions is available for cover image as well  8)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots