Welcome Guest, Not a member yet? Register   Sign In
Add AVIF and HEIF MIME types to Config/Mimes.php
#2

You should be able to add them to app/Config/Mimes.php like so, this is the way we use to do it.
PHP Code:
        'heif' => [
            'image/heif',
        ],
        'heic' => [
            'image/heic',
        ],
        'avif' => [
          'image/avif',
        ], 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Add AVIF and HEIF MIME types to Config/Mimes.php - by InsiteFX - 10-18-2023, 09:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB