To populate image from custom body field into Advanced PDF template, refer following sample
<#if record.custbody_approvedby.custentity_signature?has_content>
<img src = "${record.custbody_approvedby.custentity_signature@url}" width="15%" height="15%" />
</#if>