dynamic port for img urls

Image storage, at least locally, was breaking without a dynamic port assignment.