Hi Tuanphan,
thanks a lot for your response. So the footer text code worked fine.
But for the first code you provided, it was for the image block. I need it for the gallery blocks only for this page.
There are three gallery blocks on that page with a total of 6 png icons.