Category Archives: css

Shubhamoy’s Link Shortener

Hi Folks :) ,

I’ve a good news to share with you: After a long time, I’ve created an online tool. It is a simple link shortener named Shubhamoy’s Link Shortener.

Demo | Download

Shubhamoy's Link Shortener

It is AJAX based & uses a bit of CSS3 in its design. I’ve tried to give it a simple look. All of you might be thinking that why didn’t I bought a short domain name? Well first of all I want to add more features to it before placing it on a domain. So therefore I like to request all my worthy visitors in giving me there views, feedback & suggestions on it.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

Resize Images With CSS – Keeping Aspect Ratio As It Is

I found a quick and easy way to rezise images with CSS by keeping your image’s aspect ratio. This is very quick you can use it in less than 5 minutes, lets proceed ;)

Lets say you want to show large images on your web page with maximum 200 pixels width, blog or forums just create the following css class into your styling css file:

.resize

{
width: 200px;
height : auto;
}

.resize

{
width: auto;
height : 300px;
}

Second class will resize the images by keeping height as 300 pixels. You can use the following classes in <IMG> tags like:

<img src="http://mywebsite.com/myphoto.jpg" class="resize" alt="my photo" />

The above solution is always better than putting width and height attributes into the <IMG> tag. Hope it works out for you too ;)

Anyways you can use any image re-size script with server side script technology like PHP. I am working on one of this kind of script which resize the images as you want. I will upload it with another article soon.

Update:

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts