On 11/1/06, Claudio Martínez <[EMAIL PROTECTED]> wrote:
>
> I've added a couple of widgets I've been using for some time to pypi.
>
> http://cheeseshop.python.org/pypi/FileFields/
>
> They allow to upload files on forms that deal with validation, that
> means if the file uploads ok but other field fails, when the user
> corrects the form they won't be uploading the file again.
> The ImageField has preview and allows size validation and automatic
> resizing when dimensions get past certain dimensions (this isnt enabled
> by default).
>
> If lightbox is installed it will use it to show the full size image
> instead of poping a new window. Also, if Scriptaculous is installed it
> will make an animation when deleting the file/image from the form.
>
> You can try them on your tg-admin toolbox.
>
> To install:
> easy_install FileFields
>
> To use, add this to your app.cfg (this enables the preview and download
> server, its session based so it's safe even on identity contexts):
> file_field_server.on = True
>
> Then:
> from file_fields import FileField, ImageField
>
> Params descriptions will be added in a couple of days for the widget
> browser, the parameter names are pretty much self explanatory.
>
nice I'll take a look at them

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to