fixed a few minor issues

small css change to fix image cut off issue, added unique id to
ImageQuery.query_string in order to prevent duplicate image problems