Search…

X3 Photo Gallery Support Forums

Search…
 
buzibuzi
Topic Author
Posts: 5
Joined: 07 Nov 2016, 11:52

"File type not allowed" during image upload

19 Oct 2017, 06:24

Hi
im using version X3.23.0
during upload of a 300mb TIFF image, im getting a "File type not allowed" error.
i can understand the size limitation (shared host, unable to change it)
how can we enable uploading a TIFF image ? can this be changed in configuration ? couldn't find it.
Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: "File type not allowed" during image upload

19 Oct 2017, 07:50

TIFF files are not allowed by default in X3 because this is not an image format supported by web browsers. Even if it was, X3 would not be able to resize TIFF images or use them in any way. I assume you just want to upload a TIFF file to make it available as a download for visitor(s)?

If you are not using database-version of panel, you can open panel/config.php and add TIFF extension to $ALLOW_EXTENSIONS and $ALLOW_UPLOADER arrays.