Fixes bug in image dimension extraction.
Merge remote-tracking branch 'origin/la-cache'