Much better
Thanks for that, I have made several changes but all based off your direction.
Everything appears to work now, apart from the image on the popup under manageimages.php
The popup works and functions as directed but does not show the image, the standard line is this:
<img id="rotate-image" alt="Checking" src="" />
But cannot figure out how to update this to include the images with changes I have made.
Can you please help with this.