PDA

View Full Version : flash video and photo blog


indira
07-10-2006, 12:53 AM
Hi you all,
I am testing my new photoblog, and as I said in a post at the review section, this software is beautifully coded, clean, ease to use and up to now the best of its kind.

I am now almost ready to "upgrade" from a photo version to a swf + flv version.
first I will start with the swf version, and this is what I thought I should do:
Change the database and add a table that would say image or flash, 1 or 0 y or n.
Wthi this value (that you would insert from a check box at the admin/newimage section) the php would check this way:
if 0 --> add code for image
if 1 -->add code for flash

Am I right?
what I want most is use video so it would need some mods to make it work with flv.

Here are my questions:
1) What part of the database should I change?
2) do you think with that table would be enough?
3) any suggestions for making thumbnails with flash? else I would have to make another check there, so if it is flash, it would allow me to upload a thumbnail myself.

Is this correct thinking or am I totally wrong?
How could I make this code a kind of hack so I can post it here and other people can use it?

thanks a lot again for your software and help!
Indira

jimhere
07-10-2006, 01:25 AM
I don't know anything about the DB stuff, but I have worked with some Flash galleries. fwalbumcreator (http://www.fireworksguru.com/fwalbumcreator/) works nicely to make the images and thumbs and put them all together. But this is done using Fireworks, and no one is sure FireWorks will exist in another year...

Some galleries posted on Kirupa (http://www.kirupa.com/forum/showpost.php?p=762768&postcount=2) can shrink images to thumb size so double-picts aren't needed.

GeoS
07-10-2006, 06:22 AM
IMHO it is enough to put Flash code into description field and put very small image i.e. 1x1 px.

indira
07-10-2006, 05:30 PM
description field you mean :
upload a 1 * 1 pixel image and under the title put the embbed code? I'll try it, but that would make it harder to update, everytime I would have to copy paste the code..sorry if I gon't get it right, just woke up! :)

GeoS
07-10-2006, 06:00 PM
1. Put normally title.
2. Instead of image just put 1x1 px image file.
3. In image description put your HTML code for Flash.