如何强制放大图片

Lets say there is a picture that has width:300 and height:400...

Is there anyway to force these pictures to enlarge at size of width:500 and height:500 in html or in php?

<img src="<?php echo "/uploads/store/logo/".$store['logo'];?>" width="460" height="590" alt="" class="front-image"> 
                  <img src="<?php echo "/uploads/store/logo/".$store['logo'];?>" width="460" height="590" alt="" class="back-image"> 

What I tried to do it this

<div style="width:460px; height: 590px;">
                    <a href="#"> 
                  <img src="<?php echo "/uploads/store/logo/".$store['logo'];?>" width="460" height="590" alt="" class="front-image"> 
                  <img src="<?php echo "/uploads/store/logo/".$store['logo'];?>" width="460" height="590" alt="" class="back-image"> 
                  <span class="single-pro-quick-view"> <span class="single-pro-quick-table"> <span class="single-pro-quick-table-cell"> <i class="fa fa-search"></i> </span> </span> </span> 
                  </a>
                  </div> 

simply set the height and width inside the tag, or use css

example:

<img src="http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded&a" width="500px" height="500px">