title: imgur images not showing in account
body: <p>I create an image gallery application using PHP.For hosting i used imgur, its working fine on my site. I can upload and see the images from my application but problem is when i login my imgur account i can't see any images there. </p>
  
  <h2>HTML code</h2>
  
  <pre><code>&lt;form action="upload.php" enctype="multipart/form-data" method="POST"&gt;
      Choose Image : &lt;input name="img" size="35" type="file"/&gt;&lt;br/&gt;
       &lt;input type="submit" name="submit" value="Upload"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <h2>PHP code</h2>
  
  <pre><code>&lt;?
  $img = $_FILES['img'];
  if (isset($_POST['submit'])) {
      if ($img['name'] == '') {
          echo "&lt;h2&gt;An Image Please.&lt;/h2&gt;";
      } else {
          $filename  = $img['tmp_name'];
          $client_id = "client_id****";
          $handle    = fopen($filename, "r");
          $data      = fread($handle, filesize($filename));
          $pvars     = array(
              'image' =&gt; base64_encode($data)
          );
          $timeout   = 30;
          $curl      = curl_init();
          curl_setopt($curl, CURLOPT_URL, 'https://api.imgur.com/3/image.json');
          curl_setopt($curl, CURLOPT_TIMEOUT, $timeout);
          curl_setopt($curl, CURLOPT_HTTPHEADER, array(
              'Authorization: Client-ID ' . $client_id
          ));
          curl_setopt($curl, CURLOPT_POST, 1);
          curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
          curl_setopt($curl, CURLOPT_POSTFIELDS, $pvars);
          $out = curl_exec($curl);
          curl_close($curl);
          $pms = json_decode($out, true);
          $url = $pms['data']['link'];
          if ($url != "") {
              echo "&lt;h2&gt;Uploaded Without Any Problem&lt;/h2&gt;";
              echo "&lt;img src='$url'/&gt;";
          } else {
              echo "&lt;h2&gt;There's a Problem&lt;/h2&gt;";
              echo $pms['data']['error'];
          }
      }
  }
  ?&gt;
  </code></pre>