Closed (fixed)
Project:
Path image
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2006 at 00:33 UTC
Updated:
9 Oct 2008 at 09:13 UTC
would be nice to be able to upload and display swf flash files as well as standard images...
thanks,
ryan grace.
Comments
Comment #1
AjK commentedAdd the swf "file type" to those allowed to be search for. They then appear in the drop down for you to select.
Once you can select an swf file to display in a block, you then need to override the theme function. Currently, the theme function simply wraps the file in an <img src> element. You need to override that so that swf files are wrapped in their appropiate display type (whilst maintaining the img src element if it's not an swf tag).
This is the default theme function the module uses to display the image in a block:-
and it's that that you need to override in your theme to enable the display of swf type files.
Comment #2
AjK commentedsilly me for noticing that, this is what the theme function in the module looks lie=ke that you need to override
It's very basic as it's expecting only an image type file.
Comment #3
(not verified) commentedComment #4
pritisinh1 commentedhow to upload flash files in comments other than admin users i have added flashnode module still it is not working