formatting: add an extra argument if the attribute has a value
If the attribute has a value, it should be passed as an argument to the formatter. The formatter in mind is for ensuring images have a sufficient PPI. The repository should be able to control the minimum PPI via attributes.