Am 03.06.2011 22:27, schrieb Julien Rioux:
In the modernCV document you put the image file in the preamble, which to me is the same as using ERT. So you seem to suggest that there is no way to use the includegraphics GUI, which offers many advantages, to specify alternate versions of an image.
No, this is because modernCV requires the image in its preamble.
Yo suggest instead that I should use ERT.
No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. Fixing this is very difficult and I don't think such a feature is safe for all cases.
So indeed, use in this case TeX-code or branches. regards Uwe