Using file extensions in image titles

The PHP function pathinfo() will work to get the extension for files. If your theme is just using the attachment post title for its title, then loop through all post types of ‘attachment’, and/or post mime/type that contains ‘image’ and then use pathinfo to get the file extension and update the title based on that.

Display ajax preloader for large images within posts

How you said one option is to place a preloader while the image is loading. If you cannot touch so deep with JavaScript and PHP I have one simple sugestion which I think will work for you. <div class=”image-preloader”> <img src=”https://wordpress.stackexchange.com/questions/129186/yourimage.jpg” alt=”” /> </div> Create a wrapper (holder) around your image. With CSS put the … Read more