There’s many ways to achive these.
If you know php than you can do regular expression to find in text images and insert title before theme , but you need to write it somewhere to pull from like <img src="https://wordpress.stackexchange.com/questions/173936/.." title="My title" />
and then in php find , take title=”” and insert before image in the_content
filter for ex.
Seccond way is preaty much like first ( you need to write title=”My title” ), but insted of php use jquery on frontend, for ex. u have container for content .conteiner
then u do next
$( '.conteiner img' ).each( function() { $(this).insertBefore( '<h3>' + $(this).attr( 'title' ) + '</h3>' ); } ):