Update macro for images dimensions.