While using HTML2PDF yo have to give the full path of your image like in this manner
http://domain/path/to/image
or you can give student/questions 3rd/images/small1324538668Number Lines 5.JPG because any script runs on base of index.php which is located in root so you have to give the image path from root location.