Add thumb for movie files - new option?!

mikamk

Joined: 2003-09-18
Posts: 1
Posted: Thu, 2003-09-18 19:58

When uploading a movie (.mpg, avi etc. ) it would be very nice if you have a possibility to add / upload corresponding thumbnail for the movie.

I.e. this way also your movies could have corresponding thumbs - same way than photos. It looks better and makes movie galleries more visual plus it's easier to select movies based on thumbnails than descriptions.

This should be quite easy to add. Requires only new "add thumbnail" option for upload engine... small change for database.

What you thing about this?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2003-09-18 22:31

Heh, if I had a nickel for every time somebody said "This should be quite easy to add" I'd be a wealthy man.

This is not as simple as you imply. All uploaded items have to be managed as GalleryDataItems. The movie is one data item, and the thumbnail would have to be a second one, from which we create a GalleryDerivativeImage to associate with the movie. But then that second data item is going to show up as a separate item in the same folder as the movie, which is not the intended goal. That will screw up item counts, show up in searches, etc.

I intend to solve this, but don't have a good solution for it at the moment. It's been on my list for some time now. I've been thinking about allowing GalleryDataItems to manage a namespace, instead of just a single file so that you could have multiple files associated with a single data item. That may allow us to upload a movie in conjunction with a thumbnail and let the GalleryMovieItem manage the two of them. Regardless, I haven't even properly begun movie support so don't worry about this too much until I get a lot further on that front.