Re-reverted gallery update and imgur code too hacky

The misclick is real.