There are a number of different ways to provide dynamic (changing) images within a web page ... but as they're mostly client side technology based, they're not something I commonly get involved in. However, just yesterday I was thinking of using exactly such a dynamic image in my post telling you about the
new "Of Course", and this morning, completely disconnected, I have a question on the subject in my mailbox.
So ... there are a number of ways to produce dynamic images:
• using animated .gif files where the various frames are built into one image (but note that the .jpg standard does NOT have the capability)
• using JavaScipt (see
source and
running example
• using Flash (Example
here on Well House Manor site)
• using a server push or client pull slide show ... you can see that sort of thing
source code here and
running here.
I'm not going to start putting working copies of each of those techniques in this article ... too many moving images can make for a somewhat annoying page, and I have yet to find a manufacturer of dynamic paper on which you can print them and keep the movement ;-) ...
(written 2009-09-01)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
H309 - PHP - Maps, Graphics and Geographics [3817] Fpdf - generating .pdf documents easily from your PHP program - (2012-07-24)
[3734] QR codes with marketing logos embedded - (2012-05-16)
[3584] QR codes - graphics images that provide quick phone links - (2012-01-18)
[3536] UK Mapping Data - and more to come - under government Open Data measures - (2011-12-03)
[3447] Needle in a haystack - finding the web server overload - (2011-09-18)
[3211] Computer Graphics in PHP - World (incoming data) to Pixel (screen) conversion - (2011-03-24)
[3197] Finding and diverting image requests from rogue domains - (2011-03-08)
[3133] An image from a website that occasionally comes out as hyroglyphics - (2011-01-14)
[3027] Server logs - drawing a graph of gathered data - (2010-11-03)
[2939] Protecting your images from use out of context - (2010-08-29)
[2729] Uploading a document or image to its own URL via a browser - (2010-04-18)
[2675] Redirecting to your main domain for correct security keys - (2010-03-13)
[2583] Reducing image size on digital photos - PHP - (2010-01-17)
[2361] Geocoding - converting address to latitude / Longitude with PHP via Google - (2009-08-14)
[2343] World Flags in your PHP pages - (2009-08-10)
[1956] Images for Christmas - (2008-12-21)
[1923] Making it all worthwhile - (2008-12-04)
[1756] Ever had One of THOSE mornings? - (2008-08-16)
[1752] Dynamic maps / geographics in PHP - (2008-08-13)
[1734] All around the world? - (2008-08-03)
[1724] addslashes v mysql_real_escape_string in PHP - (2008-07-27)
[1628] Gant charts - drawing them with a PHP script - (2008-05-03)
[1391] Ordnance Survey Grid Reference to Latitude / Longitude - (2007-10-14)
[1390] Converting from postal address to latitude / longitude - (2007-10-13)
[1389] Controlling and labelling Google maps via PHP - (2007-10-13)
[1194] Drawing hands on a clock face - PHP - (2007-05-19)
[1104] Drawing dynamic graphs in PHP - (2007-03-09)
[937] Display an image from a MySQL database in a web page via PHP - (2006-11-22)
[665] PHP Image viewing application - (2006-04-01)
[563] Merging pictures using PHP and GD - (2006-01-13)
[320] Ordnance Survey - using a 'Get a map' - (2005-05-22)
W602 - Web and Intranet - Client Side Technologies [3128] How does your browser find out about itself? - (2011-01-11)
[2628] An example of an injection attack using Javascript - (2010-02-08)
[1814] Javascript/HTML example, dynamic server monitor - (2008-09-28)
[1813] Ajax - going Asyncronous and what it means - (2008-09-28)
[1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
[1749] Using server side and client side programming together - (2008-08-11)
[1681] Adding a button to a web page to print the page - (2008-06-18)
[1322] Flash - is it available to your web page? - (2007-08-26)
[522] Javascript events - a good example - (2005-12-09)
[411] Javascript examples (some PHP and MySQL too) - (2005-08-13)
W611 - Web and Intranet - Actionscript [1926] Flash (client) to PHP (server) - example - (2008-12-06)
[1352] Actionscript / Flash / Flex (IAQ/FAQ) - (2007-09-15)
548d
Some other Articles
Two days of demonstration scripts in PythonA first demonstration of OO, including polymorphismLymington, New Forest - some picturesGreat Western Route Utilisation Strategy - Draft for ConsultationDynamic / changing images on your web pageWriting with our customers words`Of Course` is back!to Clifton Down and AvonmouthComputing under the influence of alcoholReading all our recent news from a single source