Op dinsdag 7 november 2006 14:59, schreef Mark Hope:
and is this best practice?
No.
The theme system *should* be fully (x)html independant. Meaning, that you *should* be able to create a text-only theme without any hacks.
note the marks around *should*.
However, in your case you should be able to replace over 80% of the image by overriding theme_image. Then there will be another 10% that can be removed by overriding other theme_ functions. All left images that are not extractable with a theme function is a bug. If you find any such in core, please file a bug-report, because you have then found hardcoded HTML, which is considered a bug. Same goes for other modules.
Bèr