create photo gallery feature with caption field