Implement getters and setters for img width and height properties