Skip to main content

Image widget for z3c.form and Plone

Project description

Introduction

This package provides z3c.form widgets for file and image upload/download, with the option of keeping the existing file or replacing it with a new one.

The widgets will act as the default for any NamedFile, NamedBlobFile, NamedImage or NamedBlobImage field from the plone.namedfile package.

Changelog

1.0b8 (2010-10-01)

  • Avoid showing validation errors during KSS validation, as the file is not uploaded in this case. [davisagli]

  • Don’t use the action from the request when the form submission succeeded. (In that case we always want “keep existing image”) [davisagli]

1.0b7 (2010-08-05)

  • Fix Wichert’s previous fix to check ignoreContext the correct way. [davisagli]

1.0b6 (2010-05-17)

1.0b5 (2010-04-19)

  • Avoiding reading file uploads to determine their size. [wichert]

1.0b4 (2010-04-07)

  • Rename nochange to action, since the field was being used to specify which action to take. [wichert]

  • Disabled state was being applied to the wrong tag (span instead of the input) for images and files, and we’re not using tabindex anymore. [limi]

1.0b3 (2010-01-25)

  • Fix bug where fields that failed validation for requiredness mistakenly interpret the empty FileUpload in the request as a real value. [davisagli]

  • Fix bug where fields were not validated for requiredness or field constraints. [davisagli]

  • In lieu of real image scaling, at least make sure the thumbnail used on the image input widget has the correct aspect ratio. Fixes http://code.google.com/p/dexterity/issues/detail?id=77 [davisagli]

1.0b2 (2009-09-13)

1.0b1 (2009-08-02)

1.0a1 (2009-04-17)

  • Initial release

Project details


Download files

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

Source Distribution

plone.formwidget.namedfile-1.0b8.zip (27.3 kB view details)

Uploaded Source

File details

Details for the file plone.formwidget.namedfile-1.0b8.zip.

File metadata

File hashes

Hashes for plone.formwidget.namedfile-1.0b8.zip
Algorithm Hash digest
SHA256 4564c0d2b1564c58f6205fc13e285e039e6c154569608dd215ea629bf661c426
MD5 7c47507af124686d3406ca8b2f3525a2
BLAKE2b-256 2a27b9e5f728c2b055eb161f503a96a14f7f408840ada820d26f43318642908b

See more details on using hashes here.

Supported by

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