iTweak Upload
iTweak Upload module revamps Drupal file uploads with sexy thumbnail previews and mime icons, adds image gallery views for attachments and tweaks file upload forms and attachments display.
Summary of features:
- Beautify and improve the upload form for file attachments in nodes and comments (created by core upload.module and by comment_upload.module)
- New in 2.1: (Option) Preview uploaded image files
- New in 2.0: (Option) Display thumbnails for image attachments
- New in 2.0: (Option) Display image attachments in a gallery
- New in 2.0: (Option) Show images in animated popup, grouped or slideshow (with Lightbox2, Thickbox)
- Independent of theme - works with any theme that does not already customize file uploads.
Currently supports only Drupal-6.x.
Besides a slew of new features, release 2.1 improves performance by using CSS sprites (grouping multiple mime icons into a single image file).
Screenshots
- On a Mac
- Garland (see all stages of adding files and final list)
- New in 2.1: Acquia Marina - Show image preview in uploads
- New in 2.0: Acquia Marina - Show image attachments in a gallery
Default options are configurable for the whole site, as well as per each content type.
Initial installation comes with a preset for imagecache and it autodetects Lightbox or Thickbox mode, so you can get the whole shebang in a couple of clicks.
Further, it is possible to customize each content type and display mode (teaser, node, comments) with individual options.
Installation
- For image thumbnails: first need to install and enable ImageCache and ImageAPI modules (only for 2.x)
- For image popups first need to install and enable Lightbox2 (recommended) or Thickbox module (only for 2.x)
- Copy the module's directory to your modules directory and activate the module.
- For upgrading from 6.x-1.x to 6.x-2.x need to run update.php
Usage
- Module starts working once enabled
- New in 2.1: There are new site-wide settings on the file uploads form (/admin/settings/uploads) under "Attachments display" section
- New in 2.0: Image and attachment display options are configured in each content type (Goto /admin/content/node-type/ and select specific content type, then edit the Attachments display section)
- ImageCache preset is required for thumbnails:
- AttachmentThumbnail preset (size & crop 60x60) is automatically created by the module during installation. It can be changed to include desired dimensions and operations at any time
- AttachmentThumbnail view permissions are automatically added to anonymous and authenticated roles. Can be adjusted to suit site needs
- iTweak Upload completely takes over the attachments display settings on comments. It removes setting Attachments on comments > Image attachments on comments in content type forms by comment_upload.module, so the images displayed on comments receive same royal treatment as on the nodes.
Internationalization
Module provides .pot file. Submit your language translations into the issue queue for quick review.
Further Customizations
There is a number of theme functions introduced, which can be customized in a user theme. See the included README.txt for details.
Included CSS file makes a simple horizontal scroll for images gallery, but it
can be further styled with theme CSS file or by modifying the included one.
It is possible to preview other file types besides images with additional
modules. Developers can look into hook_itweak_upload_preview(). Videos, document thumbnails, etc. - if you have a great idea - post your patch into the issues queue for quick review.
Credits
Written by iva2k.
Version 1.0 is based on code by hunvreus (dated 2009-06-06).
Version 2.0 image gallery feature is inspired by Upload Image
Version 2.1 upload previews feature is inspired by Upload Preview
Feedback
Maintainer(s) and other Drupal users will appreciate your feedback and review on DrupalModules.com.
If you have an issue or a bug, first search if there is an existing solution, or report it here.
Other
You may also want to look at iTweak Login module to customize login block beyond Drupal vanilla flavor.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.2 | 2009-Aug-08 | 92.79 KB | Download · Release notes | Recommended for 6.x | |
| 6.x-1.1 | 2009-Jul-30 | 49.5 KB | Download · Release notes | Supported for 6.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-Sep-23 | 92.91 KB | Download · Release notes | Development snapshot | |
