#120 - custom images sizes support - sql fix