modify the min pic size JS for the post layout