*

abuzarkandwal

  • ***
  • 79 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

  • ***
  • 79 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

  • ***
  • 79 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