Allow gif upload

If you aren't speaking german, you can ask for support or post your request here.
Antworten
Benutzeravatar
shielder
Beiträge: 7
Registriert: 8. Jan 2022, 16:32

Allow gif upload

Beitrag von shielder »

In system\file_upload.php I added the 'gif'

Code: Alles auswählen

'accept_file_types' => '/\.(jpe?g|png|gif)$/i'
in modules\photo\photo_function.php I added after every line with '.png', the same line with '.gif'

and in modules\photo\photo_download.php I added after every png 'elseif' statement the same statement with gif.

Yet it still says only jpg and png allowed to upload.

Which file am I missing?

Thanks
Antworten