I have these images that I am getting off my server and a database using PHP
Try using .width function. something like $('img').width();
.width
$('img').width();
More reading.. http://api.jquery.com/width/
Further more, there are .innerWidth and .outerWidth functions to include/exclude padding,border and margins. See below image for details,
.innerWidth
.outerWidth