Supplement settings Phpthumb

Added the ability to choose settings Phpthumb based on a template document.