• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Experimental - How to allow more file extensions

mydive

Chevereto Member
Where is it that checks for an allowed file extension eg. JPG .GIF and allows that to be uploaded. I want to try something and i can't seem to find the file.

Cheers

John
 
In Chevereto it uses the Upload class (isValidImageExtension, isValidImageMime) to validate $_FILES uploaded. If an extension other than what Chevereto haves by default is not listed, ImageConvert class is used to help to create a readable image that a browser can read. Not only that Chevereto has hard coded javascript for default extensions allowed but you can add on it from the CHV.fn.uploader object otherwise extensions other than the defaults are not selectable to upload.
 
Is not simple as just change "jpg, png, gif, bmp" to "jpg, png, gif, bmp, avi, mov, etc..". I won't recommend anyone to try to do this.
 
Back
Top