Teaser slider

markpenny - January 29, 2009 - 20:38
Project:Diaporama
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

You can slap together a diaporama for the teaser of a non-diaporama post by creating a mini-diaporama (say, 160X120) with, for example, a selection of images from the show or shows you've embedded (or inserted) in your post. Flash inserts (in FCK Editor, anyway) can't be positioned as flexibly as images, but you can get around that using tables. Just generate a table and insert the diaporama and accompanying text wherever you like.

Again, this is simple but not so elegant: a teaser diaporama option on the edit page would be nice. Perhaps a button: "Save diaporama and generate teaser".

It would also be nice if the teaser diaporama instead of the full-sized diaporama appeared in the diaporama node teaser.

Maybe teaser diaporamas should be mandatory. Or their creation could be configured in diaporama content type settings.

#1

GoZ - January 30, 2009 - 10:14

Teaser is a good idea, but before, i would like find a method to reduce the number of images files (see your posts on size_0 and size_1 folders)

#2

markpenny - January 31, 2009 - 07:26

Two ideas for now.

Idea one

Code the module to compare desired size for diaporama with original image size and automatically resize if necessary (and not resize if not necessary). Might be worth checking all related Image folders, such as thumbnails and previews, for existing images of the desired size. You would need to check Image files in the database for names and locations of such folders. The teaser could automatically draw on the thumbnails folder.

Idea two

Two radio buttons and a check box next to each image on the edit page : call up original or resize, and include in teaser slider.

I like a combination: automatic resizing (checking Image folders for sizes) and optional inclusion in teaser slider. For this you would only need two boxes next to each image on the edit page: include in slide show, include in teaser slider. Alternately, all selected images could be included in the the teaser slider by default and excluded by user action (checking a box).

The teaser slider could be user configured to display a limited random selection of all thumbnails for the show.

 
 

Drupal is a registered trademark of Dries Buytaert.