Yes, this can be done.
Follow the following steps-
Note :I am assuming that you must have a databound control like gridview, repeater, datalist etc. to show the employee images. Please let me know if this is not the case.
1. Wrap the image inside an anchor tag like
<a href="userdetails.aspx?id="+<%#Eval("Id")+"">
<img src="your_img_url">
</img></a>
2. Now clicking the image, it will redirect to the userdetails.aspx with query string value for Id.
3. In Page_Load() of userdetails.aspx write code to retrieve the data from database and show on the page.
Hopefully, it helps.
In case, you need further assistance, please provide required code snippets and let me know :)