If you've got images that are theme specific then you should reference them from within the skin file; use a SkinID to target single controls. For example:
<asp:ImageButton runat="server" SkinID="SubmitButton" ImageUrl="images/Submit.jpg" />
You can then have submit.jpg within an images folder in the theme. The image path with be rebased by ASP.NET when the theme is applied.