A number of factors contribute to the success (or lack of success) of a photograph. I’m learning that perspective and composition are major contributors in addition to lighting, contrast, etc. Check out the video from LBGuides for more on perspective and composition.
I took the following picture inside the Ferry Building in San Francisco with a Canon Powershot SD790 IS. One of the rules of composition I tried to apply was the Rule of Thirds. As you can see, I tried to put the lower floor into the bottom two-thirds of the photograph. I also tried to apply the concept of Leading Lines to add depth to the image. Notice the diagonal lines that meet towards the top third of the photo. I think I got lucky with the light coming from the windows in the ceiling.