Client: fix order of image prepending. now it's from the last to first resulting in a chronological order sort