Galleria + ImageCache + ImageField + Filefield Paths
There are 8 ImageField fields on node type. Both thumbnail and current image are ImageCache presets (though problem also happens if I set current image to original image).
Everything works perfectly, except when previewing a node that the user didn't upload images for all image fields -- the thumbnails placeholder for the images that the user didn't upload show "Error loading image: http://www.example.com/sites".
If I save the node then everything works like a charm on the node display page. Galleria shows only the thumbnails for the image fields that had an image uploaded. No error message is displayed.
Anyone else experiencing this issue? Any fix?