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
W611 - Web and Intranet - Actionscript [1322] Flash - is it available to your web page? - (2007-08-26)
[1352] Actionscript / Flash / Flex (IAQ/FAQ) - (2007-09-15)
[1926] Flash (client) to PHP (server) - example - (2008-12-06)
W602 - Web and Intranet - Client Side Technologies [411] Javascript examples (some PHP and MySQL too) - (2005-08-13)
[522] Javascript events - a good example - (2005-12-09)
[1681] Adding a button to a web page to print the page - (2008-06-18)
[1749] Using server side and client side programming together - (2008-08-11)
[1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
[1813] Ajax - going Asyncronous and what it means - (2008-09-28)
[1814] Javascript/HTML example, dynamic server monitor - (2008-09-28)
[2628] An example of an injection attack using Javascript - (2010-02-08)
[3128] How does your browser find out about itself? - (2011-01-11)
[4277] Sending a message to the server and changing text on a page when a button is pressed - (2014-05-23)
[4310] Problem ... I want to print a series of numbered forms - (2014-10-05)
H309 - PHP - Maps, Graphics and Geographics [320] Ordnance Survey - using a 'Get a map' - (2005-05-22)
[563] Merging pictures using PHP and GD - (2006-01-13)
[665] PHP Image viewing application - (2006-04-01)
[937] Display an image from a MySQL database in a web page via PHP - (2006-11-22)
[1104] Drawing dynamic graphs in PHP - (2007-03-09)
[1194] Drawing hands on a clock face - PHP - (2007-05-19)
[1389] Controlling and labelling Google maps via PHP - (2007-10-13)
[1390] Converting from postal address to latitude / longitude - (2007-10-13)
[1391] Ordnance Survey Grid Reference to Latitude / Longitude - (2007-10-14)
[1628] Gant charts - drawing them with a PHP script - (2008-05-03)
[1724] addslashes v mysql_real_escape_string in PHP - (2008-07-27)
[1734] All around the world? - (2008-08-03)
[1752] Dynamic maps / geographics in PHP - (2008-08-13)
[1756] Ever had One of THOSE mornings? - (2008-08-16)
[1923] Making it all worthwhile - (2008-12-04)
[1956] Images for Christmas - (2008-12-21)
[2343] World Flags in your PHP pages - (2009-08-10)
[2361] Geocoding - converting address to latitude / Longitude with PHP via Google - (2009-08-14)
[2583] Reducing image size on digital photos - PHP - (2010-01-17)
[2675] Redirecting to your main domain for correct security keys - (2010-03-13)
[2729] Uploading a document or image to its own URL via a browser - (2010-04-18)
[2939] Protecting your images from use out of context - (2010-08-29)
[3027] Server logs - drawing a graph of gathered data - (2010-11-03)
[3133] An image from a website that occasionally comes out as hyroglyphics - (2011-01-14)
[3197] Finding and diverting image requests from rogue domains - (2011-03-08)
[3211] Computer Graphics in PHP - World (incoming data) to Pixel (screen) conversion - (2011-03-24)
[3447] Needle in a haystack - finding the web server overload - (2011-09-18)
[3536] UK Mapping Data - and more to come - under government Open Data measures - (2011-12-03)
[3584] QR codes - graphics images that provide quick phone links - (2012-01-18)
[3734] QR codes with marketing logos embedded - (2012-05-16)
[3817] Fpdf - generating .pdf documents easily from your PHP program - (2012-07-24)
[4178] Where are you? How to write a geosensitive application - (2013-09-18)
[4365] The changing face of Christmas - (2014-12-26)
[4437] Adding a PHP build option, rotating an image based on camera data, and a new look at thumbnails in PHP - (2015-02-22)
[4655] Image indexer / thumbnail display scripts in PHP - (2016-02-25)
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