I have seen sites using either of the two ways shabbir has mentioned. So you can choose the best option for you. If your site is just a startup, you can just use images for the time being as performance might not be a issue. You can think of the 2way when you have lot of traffic and feel that the site is showing slow response time to users.