Yes, the lightbox is a larger image opened when you click on a thubnail – so it has to be a link, not just an image. For example:
<a href="<?php the_sub_field('project_image'); ?>" data-rel="lightbox"><img src="<?php the_sub_field('project_image'); ?>"><?php the_sub_field('project_thumbnail'); ?></a>