I think you have a few Page Lifecycle aspects mixed up, the attributes that you set on client side never end up on server side, unless you post them to the server. I think you should consider adding hidden fields to forms via jQuery so that when the form is posted the values arrive at the server. Then server side you'd need to interpret the posted values and turn them into attributes on the correct Image objects.
Consider something like this:
Create the following element with jQuery:
<input type="hidden" id="Image23_Loaded" name="Image23_Loaded" value="1" />
Post this to server and parse it so you know which Image
object should get the Loaded
attribute.
Find the Image object and add the attribute server side.