Iterate over a directory and perform compression, resizing and formatting for optimal web capabilities.