title: How can I get featured image for a post in October CMS via Laravel?
body: <p>I'm using RainLab.Blog plugin for my blog. Also I'm trying to create a subscription script for my site and successfully managed to get both <code>title</code> and <code>slug</code> parameters from the database,use them whenever I want to send latest posts via mail. Everything works fine, but I also want to send featured image, which can be added to the post, while it's being created : <a href="https://i.stack.imgur.com/Nh22K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nh22K.png" alt="img"></a></p>
  
  <p>Is there a way to include it in the following script, considering that I've already extracted both title and slug parameters from <code>rainlab_blog_posts</code> table. And obviously there are no links to featured images in this table :</p>
  
  <pre><code>foreach($blogPosts as $posts) 
  {
  $text .= '&lt;a href="https://somesite.com/blog/post/'.$posts-&gt;slug.'"&gt;'.$posts-&gt;title.'&lt;/a&gt;&lt;br&gt;'; 
   }
  </code></pre>