I am having this identical issue. Any help would be appreciated. (I also see that the demo here http://www.kriesi.at/themes/habitat/ appears to be having the same issue, as all of the portfolio pages appear to be broken)
I figured it out…. For some reason, when I insert images into a page, by default it creates a link, which then makes the image into a lightbox image. Removing the link code fixes things.