Our Latest Blogging

How To Enable Hibernate Option In Windows

Apr 09, 2015

Hi all hope all are doing well today i am going to show you how to enable the hibernate option in windows 8 many of..

Read more

SSL check with PHP

Apr 04, 2015

We have demonstrated the simple way to check the SSL status of server. First thing we need is to find the server SSL status with..

Read more

How To Recover Your Deleted Photos And

Mar 31, 2015

Hi all what we are going to see today is how to recover you deleted photos and videos from your Facebook account.Sometimes we can feel..

Read more

5 CSS Frameworks You Should be Using

Mar 28, 2015

CSS frameworks are fast becoming extremely popular starting points for a lot of developers. There are Five CSS frameworks. 1. PURE : Pure is a..

Read more

Web apps vs Native Mobile apps

Mar 27, 2015

Today’s hot topic in the internet industry and mostly spoken by everyone are web based applications and mobile applications. Let’s see how both differs from..

Read more

How To Fix Dreamweaver JavaScript Error?

Mar 25, 2015

Hope many of the developer may experience the problem in Dreamweaver when you save a file or undo etc you get an error screen Javascript..

Read more

Css-Border Radius Supported all Browsers

Mar 21, 2015

The border-radius property is a composite property that specifies up to four border radius properties for HTML elements and simplest of these method in css3..

Read more

Google Play Follows App Store

Mar 18, 2015

Yes Google’s app market place Google Play Store has becoming bigger by day by day there are no of apps in the store and many..

Read more

BASIC THINGS TO AVOID VALIDATION ERRORS

Mar 16, 2015

W3c Markup validation service is validator.Validation as a debugging tool.It is very important tool because which enriched our quality of service by checking our markup..

Read more

Maintain image aspect ratio while resizing using

Mar 14, 2015

          What is image aspect ratio? The aspect ratio of an image describes the proportional relationship between its width and its height. It is commonly expressed as two numbers separated by a colon, as in 16:9.  For an x:y aspect ratio, no matter how big or small the image is, if the width is divided into x units of equal length and the height is measured using this same length unit, the height will be measured to be y units. Usually we need to resize the images for different pages in our website. But in most of the time, while resizing, the image lost its quality. Because of the image has an incorrect aspect ratio and appears stretched. Now we are going to see the simple solution for maintaining the image aspect ratio while resizing. Below is the java script function to calculate image aspect ratio. function GetImageRatio(SourceWidth, SourceHeight, MaxWidth, MaxHeight) { var ratio = Math.min(MaxWidth / SourceWidth, MaxHeight / SourceHeight); return {ratio:ratio, width: SourceWidth*ratio, height:..

Read more