Originally Posted by
sanjidas
Hi,
I am mesmerised. How do Flickr, mybloglog, facebook and numerous other sites update their badges eberytime the information is updated? Someone told me it is done with js.
I hava a wordpress.com blog, which means i am not allowed to use javascript there. so i have to link my images updated in another site only via html in order for them to show up in my blog.
Also is it possible to randomise images in another site and link to it via html for my wordpress.com blog? so that, for example, i can have one image at morning and another at evening?
Thanks in advance!
You mean like, where you have your picture posted somewhere, and it changes?
For instance, on your forum signature, every time a page loads, it will show a different picture?
I've heard of people doing it with PHP before, but I don't think I've seen it with Javascript. Basically how people do it with PHP is to set up PHP to handle the JPEG or other image formats, then use either filesystem functions to read the images in binary, and transfer them, with the correct Content-type headers, or they do it with the Image Library functions (I think its gdd), and the correct content-type headers.