Basis of rails driven photo website with a Flash uploader
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
<%- title "Upload New Photo" -%> <%- content_for :head do -%> <%= javascript_include_tag 'swfobject' %> <script type="text/javascript"> <!-- swfobject.registerObject("uploader", "10.0.0", false);
function uploaderBusy() { document.getElementById('status').innerHTML = 'Working...'; } --> </script> <% end -%> <div id="image" style="width:640px; height:427px; border:1px solid gray; background-color: #f6f6ff"></div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="120" height="40" id="uploader"> <param name="movie" value="/swfs/uploader-free.swf" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="flashvars" value="configFile=/uploader.xml" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="/swfs/uploader-free.swf" width="120" height="40"> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="flashvars" value="configFile=/uploader.xml" /> <!--<![endif]--> <a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a> <!--[if !IE]>--> </object> <!--<![endif]--> </object> <p id="status"> </p>
<p><%= link_to "Back to List", photos_path %></p>
|