1
Mods & Plugins (Requests & Discussions) / Flash based thumbnails
« on: June 30, 2003, 08:54:38 AM »
How can I go about adding swf extension support to thumbnails? Currently the only formats allowed are gif jpg and png.
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<?php require_once('{media_src}'); ?>
<script language="JavaScript" type="text/javascript">
<!--
function popup_window(the_page,the_width,the_height) {
window.open(the_page,"","status=no,menubar=no,scrollbars=yes,resizable=no,width=" + the_width + ",height=" + the_height);
return false;
}
//-->
</script>
<form><input name="content" type="hidden" value="<head><title>{image_name}</title><style>body{ overflow:hidden }</style></head><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">{image}</body>"></form>
<a href="" onClick="popup_window('javascript:document.write(opener.document.forms[0].content.value);',{width},{height});return false;">Launch
Window</a>
<img src="{media_src}" {width_height}>
<img src="{media_src}" width="{width}" height="{height}">
<script>
function moviePlayer(){
var movie=window.open(movie,"movie","width=640,height=480,")
movie.document.write('<title>{image_name} by {user_name} </title><body bgcolor="#ffffff"leftmargin="0"topmargin="0"marginwidth="0"marginheight="0">{image}</body>');
}
//moviePlayer()
</script>
<tag1>
This, that and the other
<a href="blahblah.blah">whatever</a>
<tag2>Content of the second tag etc.
</tag2>
</tag1>
<tag1> This, that and the other <a href="blahblah.blah"> whatever</a><tag2>Content of the second tag etc.</tag2></tag1>
<a href="javascript:moviePlayer()">{thumbnail}</a>
<a href="javascript:moviePlayer()">View It Now!</a>