Added callback when images have been resized