Measuring the dust attenuation law of galaxies using photometric data | Synapse