added validations and tests for height and width

## Status: In progress DONT MERGE YET

Responsible: Andre Orvalho
Reported: Andre Orvalho
Relevant to: validations

Gets width and height from CDN!
This makes sure that an image has a width and height, by adding validations.

it also adds tests to it!