fixes galleries output
adds image