Text this: Attenuation laws for galaxies with different star formation histories, based on the SDSS images