Add basic scaling for images