attempt at image url fix in chunks