Move image thumbnail helper method to decorator
Initial tests