title: Fedena Image in PDF Report using wicked_pdf
body: <p>I am trying to insert image in student report, edited the below code and it shows the default image but when I upload the student image it doesn't show it.</p>
  
  <pre><code>&lt;% if @student.photo.file? %&gt;
          &lt;%= wicked_pdf_image_tag @student.photo.url %&gt;
        &lt;% else %&gt;
          &lt;%= wicked_pdf_image_tag "master_student/profile/default_student.png" %&gt;
        &lt;% end %&gt;
  </code></pre>