Refactored method for create image thumbnail name - fixed #1