added photo resize and youtube embed