Pages with a loop (index, archive) are loading the first image as post_thumbnail

Your theme uses a custom function to get the first image, if you post your index.php codes here you maybe find someone to help.