Add CSS support for next image