moving photo resizing script over too