fix for gallery posts (preview for images turned off for them)