Handle Broken Image Snippets


This PHP script will get the day of the week from the server date and then display an image (jpg or gif) to match.

16 March, 2011   

Take an image, and put a water mark on top of it. Note that you can only use this function once per page.

19 April, 2011   

This snippet shows how to get the thumbnail from exif metadata. This is very useful for generating very fast thumbnails!! I hope many would benefit from this.

08 December, 2012   

Full screen background image using pure CSS3.

24 April, 2014   

[UNIT] Im Spreading. I posted it as learning to defend yourself.

13 February, 2013   

PHP Code example for ASCII CAPTCHA

25 January, 2012   

Delphi Code example how to Cut, Copy and Paste

04 May, 2011   

Take a JPG image, and convert it to ASCII code!

CSS Code example : how to repeat a background image only horizontally.

24 June, 2014   

For downloading very large files (10 meg or more), split the file into chunks when sending.

Due to the default Windows handling of the WM_GETMINMAXINFO message, the max size of the form is set to the screen size. Add a button to a form and try this:

08 February, 2012   

CSS code example for Image Preloading

This technical tip shows how to read the image and mark all the barcode regions, for all the recognized barcodes in the image. The barcode region is the part of the image that only contains the barcode itself. In a large image, it is possible that there are other texts or images along with the barcode. Getting the barcode region will separate...

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

The example below shows how to produce a png image from python code, but pygments supports lexers for many other languages and its formatter classes can produce other image formats too. The ImageFormatter class allows to set various parameters of the resulting images.

13 August, 2011   

If you're looking for a way to spice up your web site, this JavaScript tip may be just what you're looking for. You can use JavaScript to highlight an image when you place your mouse over it. This JavaScript tip provides a great way to highlight your navigational buttons or whatever you'd like.

PHP code to display a thumbnail image on the page without saving it

03 June, 2013   

Matlab example code for DoubleFlip Image

Example shown here CSS + Inline Image Technique

iPhone code snippet to handle taps within a UIWebView