title: Image in not showing in image view while in postman it's working well
body: <p>I am really confused to show a image in <code>ImageView</code>. Actually when i am hitting my <code>URL</code> i am getting a file and another thing when i am hitting my URL in postman it's working well. And when i am trying to use <code>Glide</code> and other thing like <code>Picasso</code> i am not getting images from server.</p>
  
  <p>Pleas suggest me what i can do for it.</p>
  
  <p>My server code in java is here you can check it also.</p>
  
  <pre><code>    @RequestMapping(value = "downloadBlog", method = RequestMethod.GET)
  public ResponseEntity&lt;?&gt; downloadBlogImage(@RequestParam(value = "id", required = false) Long id) {
  
      StayHealthyBlog dbFile = checkUserService.findBlogById(id);
      return ResponseEntity.ok().contentType(MediaType.parseMediaType(dbFile.getImageType()))
              .header(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"xyz" + "\"")
              .body(new ByteArrayResource(dbFile.getImageData()));
  }
  </code></pre>
  
  <p>Now how i can get my image..</p>
  
  <p><strong>Thanks in advance.</strong></p>