now storing uploaded picture with thumbnail in user's gallery folder, some user paths are now restricted, ignored jpg files