resize foto and add links