Image Scale API fix