Creating a thumbnail for a Flash (swf) file

8 posts by 3 authors in: Forums > CMS Builder
Last Post: August 13, 2009   (RSS)

By NigelGordijk - August 5, 2009 - edited: August 5, 2009

Hi, All.

I'm trying to create an article index page that checks to see if either a static image file or a swf file has been uploaded, then displays a thumbnail alongside the relevant text. The swf files are added using a wysiwyg field.

http://www.yallaf1.com/_home-top-stories2.php

As far as I'm aware, CMSB can't rescale an swf file, so does anyone have a suggestion for how best to accomplish this effect?

Many thanks,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Creating a thumbnail for a Flash (swf) file

By Dave - August 5, 2009

Yea we don't have anything to create swf thumbnails. If they were uploaded through an upload field you could detect the extension and show a default "play" graphic or something like that that linked to them. There's a post on doing that with PDFs here: http://www.interactivetools.com/forum/gforum.cgi?post=73438#73438

That's all I can think of right now, though.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Creating a thumbnail for a Flash (swf) file

Hi, Dave.

Thanks for the reply. That's pretty much what I was expecting.

Kind regards,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Creating a thumbnail for a Flash (swf) file

By Chris - August 6, 2009

Hi Nigel,

I'm interested in looking into this further. Can you post your PHP source code for /_home-top-stories2.php?
All the best,
Chris

Re: [chris] Creating a thumbnail for a Flash (swf) file

Here you go, Chris (attached).
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net
Attachments:

_home-top-stories2.php 10K

Re: [chris] Creating a thumbnail for a Flash (swf) file

Hi, Chris.

Just wondering if you were able to find a solution to my Flash thumbnail problem?

Cheers,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [chris] Creating a thumbnail for a Flash (swf) file

Thanks for looking into this, Chris. Much appreciated!
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net