I don't think there is an easy way to tackle this issue of static content tied to version of an EAR file.
The J2EE spec recommends that the static content be packaged as part of the EAR file and that is really the way WAS VE application edition management is going to manage the application.
If you have a large amount of static contents and you want to tie to particluar version of an EAR, you would at least need to create "separate" paths to the static content from where it is being served up and then change the img src urls in your code to point to a particular release of the static content.