I pupulate with images a div by using ajax.
In the index page I have the $(document).ready(function () { which manipulates the images loaded trough ajax. Should this work, because the ready function is alled before the images are loaded trough ajax
Actually
$(document).readyis called after the DOM is loaded, but this could happen before the images are actually loaded. You need$(window).loadevent which is triggered after the page is fully loaded including graphics.