﻿//this is just a script for getting image sizes in css so that you dont have to do it through photoshop...

function Sizes()
{
    //for each image append an input with the css in it... woohoo! blam.
    $('img').each(function()
    {
        var css = 'height: ' + $(this).height() + 'px; ' + 'width: ' + $(this).width() + 'px;';
        var div = $('<div style="padding: 10px; background: #fff; color: #000"></div>');
        div.html(css);
        $(this).after(div);
    });
}