post content 'smart replace' for galleries
replacing max images list with new gallery tag
changing gallery tag to use gallery directory
gallery template file