A cover may get my attention, but it's content that sells the book. Ideally a good book should have a good cover, but I'll buy an interesting book with a mediocre cover, but I rarely if ever buy a book just based on the cover.
This cover got my attention, but if the story hadn't interested me it would have gone back on the shelf.