reordered pictures; resized pictures; made thumbnails