I had a similar problem where my pictures didn’t show up when I started to use “query_posts”. I fixed it by, instead of specifying the category that I wanted, specifying the categories I did not want (with a negative sign and commas… “cat=-3,-4,-6,-7”). Hope that works for you! If it doesn’t, I have no idea.