Hi,
the Error that you get is not crucial, i think. There are some quotes missing in the sources code, but that error should be there for every image, that you have and not effect the displaying.
The "0" in the eZImageVariation do not sound good.
Do you know, if the variations are created at all? Edit one of your images in the admin site. Do you see a thumbnail image of it? If not, you have some problem with ImageMagick or GD and your templates probably are fine.