html display image(only those on the disk) && correct id generation method