Added a more generic image function. For convenience we pass the src separated from the remaining list of options.