Use lstat instead
Add stats
Adding width/height statistics that can be added in a template