how to get the src of image and show the image?
<p>hello guys i want to know how to get the src of image we paste like this : <a href="https://i.stack.imgur.com/9CdWp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9CdWp.png" alt="this is the url..but that can be change "></a></p>

<p>and after show the image in base of the url but the image should be circle like this : </p>

<p><a href="https://i.stack.imgur.com/v9GvX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v9GvX.png" alt="circle image"></a></p>

<p>like this in center in a url and in the left image : <a href="https://i.stack.imgur.com/kk7gH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kk7gH.png" alt="enter image description here"></a></p>

<p>i have some css : </p>

<pre><code>`#preview-img-area {
    width: 125px;
    height: 125px;
    border-radius: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    margin: 10px auto auto;
    margin-top: 0;
    background-color: #222 !important;
}
#preview-img {
    border-radius: 100%;
    border-color: #222 !important;
    width: 125px;
    height: 125px;
    background: #222 !important;
}
.arrow-left {
    border-right: 10px solid #000;
    margin-left: 10px;
    margin-right: 5px;
    left: 0;
    top: 55px;
}
.nav2 {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.arrow-left, .arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    cursor: pointer;
    top: 50%;
}
.arrow-right {
    border-left: 10px solid #000;
    margin-left: 5px;
    margin-right: 10px;
    right: 0;
    top: 55px;
}
</code></pre>