Only resize local images Closes #264