changes for no image, category search and other alignments