Hi waitz,
Sorry for no reply until now.
Unfortunately I don't quite follow what you are trying to achieve. If you cannot add a custom class to the image but want to apply some specific CSS attributes on that image, you can try to put them under this rule:
.MagicZoom img {
}
Is this what you're looking for?
Thanks,
Alex