the end of uupprint resizing and foto prws loadings algo (template)