Moves thumbnail url conversion to model, from controller