There are actually lots of ways on how you can accomplish this by using JQuery. One of which can be the following:
1. Add the images on the header sections of your accordion. Be sure to identify them by name or classes or IDS.
2. Add a click event to the Header sections of your accordion.
2. Inside the click event, you can use the hide and show methods of jQuery to show or hide the images.
$(".header_section").click(
function(){
$("#closeImg").hide("Blind");
$("#openImg").show("Blind");
}
);
Note: The code alone doesn't work. Its aim is just to give you a headstart on what you will do. You still need to tailor it for your needs.