<div class="row">
  <div class="col-md-12">
    <% if expert.avatar.attached? %>
    <% b64 = open(ActiveStorage::Blob.service.path_for(expert.avatar.key)) { |f| f.read }  %>
    <% b64a = Base64.strict_encode64(b64) %>
      <img src="data:image/jpeg;base64,<%= b64a %>" height="150px"/>
    <% end %>
  </div>

</div>
<div class="row">
  <div class="col-md-12">
    <strong><%= expert.name %></strong>
  </div>
</div>
<div class="row">
  <div class="col-md-12">
    <%= expert.description %>
  </div>
</div>
