/
Add new resource type
Add new resource type
Default AbanteCart installation configured to handle most of media types such as jpeg, jpg, webp, png images, pdf, zip archives, etc.
However, some users may need to add new types allowed for upload (fix Filetype not allowed error)
Step-by-step guide
In your Resource Library (Catalog → Media Library).
1. Click edit button right of the media resource
2. Add new file extension type to Allowed file extensions field for example to add .WebP image (an image format employing both lossy and lossless compression)
/.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i
Similar way you can add allowed for upload formats for Archives, Videos
server support
Adding new resource types allow them to be uploaded but processing, for example, the .webp image resizing requires the GD PHP library with webp support installed and configured on your server!
When new format added make sure browser, template or extensions are able to handle it.
Related articles
, multiple selections available,
Related content
Allow Downloads
Allow Downloads
More like this
Generate high-res images
Generate high-res images
More like this
Jpeg Images Compression
Jpeg Images Compression
More like this
AbanteCart System Requirements
AbanteCart System Requirements
More like this
Change Logo
Change Logo
More like this
Warning: Incorrect file permissions!
Warning: Incorrect file permissions!
More like this
AbanteCart, all rights reserved. 2025 ©