Refactored, only imgur supported