Handle Broken Image Snippets


09 January, 2013   

Better way to handle Broken Image. Missing images will either just display nothing, or display a [ ? ] style box.

01 February, 2011   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...

17 February, 2019   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...

How to display visitors IP in an Image using PHP

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

05 December, 2012   

The function accept 3 parameters: the data, the csv delimeter (default is a comma) and the csv enclosure (default is a double quote).

11 March, 2015   

PHP code shows how to upload images into a mysql database using

Essentially the trick is to draw the panel/frame/etc.

18 September, 2013   

PHP example for listing directory contents

Essentially the trick is to draw the panel/frame/etc. into a BufferedImage and use the ImageIO class to write it to an image file.

10 October, 2013   

CSS code for individual rounded corners. A longer base with each corner radius broken down into a different property.

28 January, 2013   

Save a screen capture of a Java Frame/Panel/Window

15 April, 2012   

PHP code example for an image CAPTCHA.

13 May, 2019   

It makes things draggable and with a specified handle optionally

I had to scan a bunch of paper documents (one image per page), and upload them all to a web site that would accept only one PDF file containing the whole set.

25 October, 2011   

A quick way to hide your program's title bar.

02 June, 2011   

This is your most basic version of an image CAPTCHA.

06 July, 2013   

Draws angled text on a canvas at position X,Y.

Java code example to create thumbnail of an image

18 February, 2012   

CSS code example for a background image repeat vertically (y-axis), horizontally (x-axis), in both directions, or in neither direction.