Skip to main content

File and Image upload fields for forms.

Project description

Right now this package provides 2 widgets, FileField and ImageField. These widgets support file uploading with server side caching. That means that if some other field in the form fails validation, the user wont have to upload the file again. Instead they get the information of the file they included or a thumbnail of the image if it’s an ImageField. An option to remove the file from the form is given too. If Lightbox is installed (optional), the full size images will be displayed with it (non popup image viewer). Also an animation removing the file attached to the form will be shown if Scriptculous is installed (optional). The server side caching is done using the TemporaryFile class from the official Python tempfile module. It’s a secure way to store files on a platform independent way. The files are cleared when they are not used anymore.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

FileFields-0.1a0.dev_r291-py2.4.egg (16.3 kB view details)

Uploaded Source

File details

Details for the file FileFields-0.1a0.dev_r291-py2.4.egg.

File metadata

File hashes

Hashes for FileFields-0.1a0.dev_r291-py2.4.egg
Algorithm Hash digest
SHA256 708ac4ea615f8b6db556f6b7b94f21558a2725e95f77b2d52b503ea02078681a
MD5 1cee5128a77a685e3b87910874b09a39
BLAKE2b-256 c7ebd918cfb9ca3402c79379776862b0d548cc7140797811a0126a6b336f90b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page