Would it be possible to have SWF Tools display one of the images from a playlist (of images) when flash isn't available?

I know I can manually achieve this with the 'html_alt' variable but it would be nice if it could just pick a random image from the playlist and display that.

Andy

Comments

sime’s picture

This is a good idea, and exactly the sort of convenience the module should provide.

Stuart Greenfield’s picture

Version: 5.x-1.x-dev » 6.x-3.x-dev

Bump!

This is languishing at the end of the feature list, but it sounds like a nice idea that when we're using an image gallery we give an option to replace the standard html alt message with a picture. We can still set the alt text to the "missing flash" message.

Stuart Greenfield’s picture

Status: Active » Needs review

Implemented on DRUPAL-6--3.

If SWF Tools is rendering images it will modify the html string to be an image tag with the "flash missing" message as title and alt on that.

The image size will be set so that it is no bigger than the player that was going to hold it, so the page layout remains as expected. Images smaller than the intended player will be unchanged.

I'm not sure if this needs to be a configurable option -at the moment it is now the default behaviour and I don't really see that doing any harm so will not make it "optional" unless someone asks as it's just another variable that might never be used!