Battin
04-24-2006, 07:11 PM
One day a few months ago, really one of my personal favorites..
http://blog.battin.dk/index.php?showimage=95
What do you think of it?
New design on my blog btw.. :)
Joe[y]
04-24-2006, 08:42 PM
that's snow? that's a crazy shot - i like it.
your new design is brilliant. care to share how you made the fade in effect for the photo on the page load? i've never seen anything like that - it's great.
Battin
04-24-2006, 09:56 PM
Yeah.
I work alot in flash, so i thought it would be cool to pimp my pixelpost blog with a bit flash. :-)
So the imagefile is loaded into a flashmovie, which fades it from black when it is loaded.
The difficult part is to make the flashmovie work with different photo sizes. Some photos are wider and taller than others. What i did was to embed all the important variables from pixelpost, into the flash file, so it knew how much to scale and stuff. I also embedded all the EXIF data, so i can pull it into flash..
Took a while for me to figure out how to do, but now it works just fine.. :)
I used a javascript called FlashObject to insert the flash movie into the html, because Microsoft just released a new patch, which blocks flash content. This javascript fixes this issue.
Here is something from the javascript, and there you can see all the embedded variables... :)
<script type="text/javascript">
var fo = new FlashObject("image.swf?imagetitle=DA HOOD&imagewidth=750&imageheight=499&imagename=20060424225038_saab.jpg&imagetitle=DA HOOD&nextimage=140&date=2006-04-24 22:50:38&exif_cameramake=NIKON CORPORATION&exif_cameramodel=NIKON D70&exif_extime=1/250 sec&exif_aperture=f 4.5&exif_flash=Flash: Not Fired&exif_iso=200", "movie", "750", "499", "7", "#000000");
fo.write("flashimage");
var me = new FlashObject("menu.swf", "movie", "192", "72", "7", "#000000");
me.write("flashmenu");
</script>
blinking8s
04-25-2006, 09:39 AM
nice work...yeah flashobject.js is a great little script, handles detection and all.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.