Super-high resolution image of Andromeda from Hubble (NASA/ESA):
Took me over a day to download that image... it's BIG. But quite fascinating. Been running some analysis on it. Most of the bright "stars" are in the foreground, not part of the nebula. You can identify these because the adjacent dusty areas are not illuminated as they should be. Actually, there are very few self-luminous objects in the cloudy regions.
If you zoom in too much, the picture becomes a maze of colored blobs. Understand that these are not actual objects, but an artifact of image processing--a digital representation of the dusty regions that cannot be isolated into a pixel set, so you get a color splattering (zoom in ANY high-res image of a dusty pattern, and you will see the same thing).
I was able to isolate the core, which for a 40,000 pixel wide file, is very small--only about 112 pixels across. If that is a star approximately the same size as our sun, then this image is showing a solar system with the outer blue band of gas/dust being about 3.2 AU (yep, Astronomical Units) in radius--about the same distance to our asteroid belt. Which means the Andromeda nebula, itself, is a whopping 38 light days away. That puts it well within the gravitational limit, as well as optical range.