• Resolved cvc1968

    (@cvc1968)


    I have two questions regarding image/file uploads. First, it seems that uploads are only limited to photo image formats. Can this be changed to accept PDF or even Word Docs? The reason being I want users to be able to upload their resumes if they have one.

    Also, the option for file upload size limit only goes up to 750K. While I’m sure this is more than sufficient for most, I am dealing with very non-tech savvy individuals who are likely just taking a jpeg directly off a camera card or a scanned image and may have no knowledge of image editing or processing or how to make an image file size smaller, so I’d like to give them a bit more room… perhaps as much as 2mb. My site’s overall upload size is set to 32mb.

    I can probably find the php in the plugin files to make remove both of these restrictions, but I’d prefer to find a way to do it without altering the original plugin files, like with an overriding function in my themes functions.php file or something. Can anyone point me in the right direction?

    Thanks

    https://www.ads-software.com/plugins/participants-database/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It’s not particularly easy to bypass the file type restrictions…and you can expose your site to malicious code if you don’t do it right. I have general file uploads happening in the next release of the plugin, so if you can wait a few weeks, you’ll have it then.

    You can more easily overrride the size restriction, but I have that opened up in the next release as well.

    Thread Starter cvc1968

    (@cvc1968)

    That’ll be great. I can wait. Excellent work. Thanks.

    Thread Starter cvc1968

    (@cvc1968)

    Sorry, forgot to mark as resolved in my previous reply.

    Hello
    I’ll need to make a form without this 2 restrictions… this week ?? I found several place in the source code to do the bypass, but for sure if you have some tips or “beta version” of the new release I’ll be very interested. Are you so kind to give some tricks or files for that in private message ?

    Kind regards

    Plugin Author xnau webdesign

    (@xnau)

    @sb5 – answered in email.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File upload questions’ is closed to new replies.