Linking images to pages in wp

Hello all:

I have an image on my main page. I wold like for the user to click on it and be taken to a diff page.

Normally in a static website it’d be as in below:

<a href="engineering.php"><img src="<?php bloginfo('template_directory'); ?>/imgs/hmEngMedImg01.png" alt="engineering"/></a>

how do I achieve the same type of direct link in wp plase?
was thinking of

 <a href="<?php bloginfo('template_directory'); ?>'engineering'"> image here</a>

& in this case the engineering page is one that was created in the wp admin panel. so it is not an engineering.php (although it’d be good to know how to link to those as well.
thx

Maybe this code:

<a href=“<?php echo site_url(); ?>/engineering”><img src=“<?php echo site_url(); ?>/wp-content/themes/your-theme-name/images/image-name.png” alt=“”/></a>

Thank you Snecz will go try it out.

Hello Snecz. Finally got a chance to try it and it looks like it works on my sandbox. Tweaked it slighlty diff on the <img src>bit but it works! Lot’s of other stuff to fix but at least that one works :slight_smile:
thank you.

<a href="<?php echo site_url(); ?>/engineering"><img src="<?php bloginfo('template_directory'); ?>/imgs/hmEngMedImg.png" alt="staffing"/></a>