attachinary icon indicating copy to clipboard operation
attachinary copied to clipboard

Is it possible to limit file sizes?

Open GirlBossRush opened this issue 12 years ago • 4 comments

I'm able to check the tempfile listed in the params with params[:post][:upload_file].tempfile.size but is it possible to limit the file size in the model?

Thank you

GirlBossRush avatar Sep 07 '12 19:09 GirlBossRush

No, not at the moment, but I'm working on a new version of attachinary and I'll add this feature. I hope to release it very soon.

Thanks

assembler avatar Sep 07 '12 21:09 assembler

+1

rcarter avatar Feb 05 '13 19:02 rcarter

I don't know if this is related - but ability to specify minimum filesize would be nice too.

skwp avatar Feb 27 '13 16:02 skwp

Hi assembler, any news on that feature/version?

thank you!

exocode avatar Jul 21 '14 15:07 exocode