I want to save the values

i my page there is two images so when i click on any image i go to separate page ,so what i want here is that when i click the one pic here then second page open so i want how i know the value of that image,how i know the which image is clicked by user.i want the solution in php,javascript,jquery.

<!doctype html>

Untitled Document
		<div class="mcenter">
<div class="mleftparent">
	<div class="mleftchild">
		<a href="themes.php"><img src="Photos-Cali/Cali2.jpg" style="width: 100%;height: 100%;border-radius: 100%;"/></a>
		
	</div>
	<h1 style="color:#00B6DE;text-align: center; text-shadow: 1px 1px 1px #000">Cali Cafe</h1>
</div>
<div class="mrightparent">
	<div class="mrightchild">
		<a href="themes.php"><img src="Photos-Cali/Cali6.jpg" style="width: 100%;height: 100%;border-radius: 100%;"/></a>
	</div>
	<h1 style="color:#00B6DE;text-align: center; text-shadow: 1px 1px 1px #000">Changi</h1>
</div>
</div>
<div class="mfooter">
	<div style="border: none;width: 100%;height: 40%;padding-top: 20px;margin-left: 20px;"><h3 style="margin-left: 20px;text-shadow: 1px 1px 1px #000;text-align: center">All Rights are Reserved 2017-18 <br/><span style="color:#00B6DE">@ Cali Singapore</span></h3></div>
</div>
  1. Use jQuery to pickup image name
  2. Use Ajax to make a call to php process page
  3. Get values in php script and store it in session
  4. When the second page loads retrieve values saved in session and dump it where you want to appear or how you wanna use them.