Have a look at this software
http://www.jutoh.com/ download the manual (its free) and read the section about images and image size. Also have a look at this
http://jon404.com/sps-update.htm about formatting for Kindle, there are some relevant formatting and size tips in there that are relevant to ePub too IMHO.