don't upload images when --html-only flag is set