<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Victor Osas Ighalo</title>
    <description>The latest articles on DEV Community by Victor Osas Ighalo (@misterwyz).</description>
    <link>https://dev.to/misterwyz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F493936%2F8cea0b96-33f8-4d96-8034-4635d3c1723f.jpeg</url>
      <title>DEV Community: Victor Osas Ighalo</title>
      <link>https://dev.to/misterwyz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/misterwyz"/>
    <language>en</language>
    <item>
      <title>Upload base64 encoded image with Laravel</title>
      <dc:creator>Victor Osas Ighalo</dc:creator>
      <pubDate>Tue, 19 Oct 2021 16:30:51 +0000</pubDate>
      <link>https://dev.to/misterwyz/upload-base64-encoded-image-with-laravel-1mee</link>
      <guid>https://dev.to/misterwyz/upload-base64-encoded-image-with-laravel-1mee</guid>
      <description>&lt;p&gt;I am going to be really straight to the point on this one. If you need to upload a base64 encoded image or you just want to learn how to do it for future use, then bookmark this page now.&lt;/p&gt;

&lt;p&gt;I won't talk about the User Interface or the input form. I will only talk about the actual method within your controller. I will assume you have that part covered already and your are building a RESTful API. &lt;strong&gt;So let's call the method UploadImage&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What does this method do? 🤓
&lt;/h3&gt;

&lt;p&gt;The method uploads multiple image types, such as: &lt;em&gt;jpeg, png, svg, gif and base64 encoded images. So it handles all our image upload needs&lt;/em&gt; 🏌🏼‍♂️&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
public function UploadImage(Request $request) { 
//method body goes here
 }

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://victorighalo.medium.com/how-to-upload-base64-encoded-image-and-other-image-types-with-laravel-f2f85e9cb6f6"&gt;continue&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
