fix CSS to account for <a> around <img> in carousel
cleanup, move gallery image util to service