Feature #187
Bulk import / upload of items to Media
| Status: | In Progress | Start: | 2009-10-22 | ||
|---|---|---|---|---|---|
| Priority: | High | Due date: | |||
| Assigned to: | Alex Cartwright | % Done: | 60% |
||
| Category: | TangoCMS::Modules | ||||
| Target version: | TangoCMS Project - 2.6.0 |
Description
The ability to upload a .zip or other archive of images and order them as needed in the Media Module, with descriptions to be added manually (or through some snazzy AJAX powered interface), as well as the ability to bulk import an entire folder that already exists.
Such as:
Bulk import /images/photos/holiday1/ or upload holiday1.zip containing all the images. As for naming the items, simply convert underscores to spaces and remove the file extention from the filename, then they can be renamed later if needed.
Related issues
| related to TangoCMS - Feature #83: More consistent media module | Implemented | 2009-05-01 | 2009-05-01 |
Associated revisions
Revision b575b5d3f0a6b0a26fa401d2b34fd7127e4af21f
Feature #187 zip archive of media items can be uploaded
The Uploader/Uploader_File lib and Media module have been tweaked to allow for
an upload of multiple items, making it easier to add many images to a media
category
- Added Uploader::extractArchives()
- Refactored code in Uploader_File lib to easily allow for extraction of zip/tar
files
- Looping over Uploader_File::getDetails() returns details of each file (which
could be those in the extracted archive)
- Medium 'medium' images are now generated on-the-fly (cached) so the size can
easily be changed and the changes will take effect
- Image::prepareDestination() will now make the directory if possibe
- Added Image::destroy() to destroy the image resource
- Added zula_supports() to check if the server environment supports features
- Added zula_make_unique_dir() and zula_make_unique_file() to generate a random
dir/file name with the ability to create it
Revision 8cc202522a4cf4e18b0366f394d42270d60f44bf
2.5.52 released, feature #83 and feature #187
Media module now lets you configure the item title/description after you have
uploaded your media items, which allows you to mass edit them in one go. Names
of the items are automatically generated from the filename (_+ get converted to TangoCMS 2.5.2 Released
spaces
- Event library now shows messages in 'success', 'info' an 'error' order
- Session::start() ensures key 'previous_url' always exists
- View_Form::isValid() removes empty values from the validators array
- Media_Model::getItems() only returns those with 'outstanding' value of 0
- Added Media_Model::getOutstandingItems()
- Media_Mode::editItem() always sets 'outstanding' value to 0
- Changed height of Carbons textareas in td.confcol to 70px
History
Updated by Alex Cartwright 10 months ago
- Category set to TangoCMS::Modules
- Status changed from New to Drafting
- Assigned to set to Alex Cartwright
- Priority changed from Undecided to High
- Target version set to 16
Something like this is needed quite badly I agree, I'll plan on getting it into the new media module (post 2.4)
Updated by Alex Cartwright 8 months ago
- Target version changed from 16 to 20
Updated by Alex Cartwright 8 months ago
- Target version changed from 20 to 2.6.0
Updated by Alex Cartwright 4 months ago
- Status changed from Drafting to In Progress
- % Done changed from 0 to 60
Zip files can now be uploaded, however I'm going to work on a different interface for it and add the ability to auto generate names from the file name - as per the original description