Hmmm usually I know what question I want to ask but I do sometimes make sure there is a suitable image before starting to write the question, as I don't want to use up precious karma points on a question that I can't find an image for!
So in terms of my thought process, question comes before image but in terms of the actual computer time, quite often image comes first.