Month July 2013

Base64 for images a look

Using Base64 encoded images in website Encode the image to base64 in php <?php $image = file_get_contents(“”); $base64 = base64_encode($image); echo $base64; // This will echo the encoded base64 image ?> Load images in website using php: <?php $image =…

Text watermark in webpages

Adjust your rotate and font size values as per your requirement <style type=”text/css”> #asvignesh-watermark { color: #d0d0d0; width: 100%; font-size: 198pt; -webkit-transform: rotate(-47deg); -moz-transform: rotate(-47deg); height: 100%; margin: 0; z-index: -1; left:-100px; top:-200px; position: absolute; } </style> <div id=”asvignesh-watermark”> <p>Vignesh A…