Adding width and height to callback