Photo gallery style change when publish post

this is after i publish post.
theme:casper
is any way publish image gallery style like post editor style