dioscouri / library

5 stars 3 forks source link

Add a simple server-side images element #3

Closed rdiaztushman closed 11 years ago

rdiaztushman commented 12 years ago

The library needs a super-simple server-side images element that you could drop into a component. You'd use it on a form where a user could specify an item's image/thumbnail. Click a button to "add image" and a lightbox opens up.

Lightbox defaults to whatever filepath is specified by the function call, which could be: JModel::getInstance('Images', 'DSCModelElement')->fetchElement( 'item_image', array( 'basePath'=>JPATH_SITE.'/images' ) );

Lightbox allows user to upload new files and/or select a file from the files listed in the path. Lightbox allows user to navigate to child folders.

I can think of at least 6 of the components that would use this.

rdiaztushman commented 11 years ago

This was completed some time ago. It is in the library and is in use on the FeaturedItems component and Mediamanager.