send width and height as int
use !empty instead of isset
Merge pull request #4755 from Wikia/file-width

send width and height as int