hopefully locking image size