we can serve .png files, now to generalize