Picture[@imageNumber@] = "@main_image@" Caption[@imageNumber@] = new String("@user2@") if(@main_width@>maxWidth) maxWidth = @main_width@ if(@main_height@>maxHeight) maxHeight = @main_height@