title: Django Rest Framework Incorrect Model View response
body: <p>I have some issue with drf, can someone point out what am i doing wrong ?</p>
  
  <p>This is my views function, I have also  implemented  easy_thumbnails so that i can crop the image if such a request is made.</p>
  
  <pre><code>from __future__ import unicode_literals
  from django.shortcuts import render
  from rest_framework import viewsets
  from rest_framework.response import Response
  from .models import Image
  from .serializers import ImageSerializer
  from easy_thumbnails.files import get_thumbnailer
  
  class ImageViewSet(viewsets.ModelViewSet):
      queryset = Image.objects.all()
      serializer_class = ImageSerializer
  
      def retrieve(self, request, pk=None):
          height = request.GET.get('height', None)
          width = request.GET.get('width', None)
          print("height = {}".format(height))
          print("width = {}".format(width))
          print("id = {}".format(pk))
          img = Image.objects.get(pk = pk)
          if height and width:
              options = {'size': (height, width), 'crop': True}
              thumb_url = get_thumbnailer(img.image).get_thumbnail(options).url
          else:
              thumb_url = get_thumbnailer(img.image).url
          return Response(thumb_url)
  </code></pre>
  
  <p>right now if  goto <code>http://127.0.0.1:8000/api/images/</code> it returns me a list of images</p>
  
  <p>and <code>http://127.0.0.1:8000/api/images/1/?height=320&amp;width=420</code> returns a response like</p>
  
  <pre><code>HTTP 200 OK
  Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
  Content-Type: application/json
  Vary: Accept
  
  "/media/10438039923_2ef6f68348_c.jpg.320x420_q85_crop.jpg" 
  </code></pre>
  
  <p>I want a response like this with field names.</p>
  
  <pre><code>{
      "title": "Item 1",
      "description": "Description 1",
      "image": "http://127.0.0.1:8000/media/10438039923_2ef6f68348_c.jpg"
  }
  </code></pre>
  
  <p>How can i fix this issue ? I am new to drf and django</p>
  
  <p>this is my serializer class</p>
  
  <pre><code>from rest_framework import serializers
  from .models import Image
  
  class ImageSerializer(serializers.ModelSerializer):
      class Meta:
          model = Image
          fields = [
              'title',
              'description',
              'image',
          ]                
  </code></pre>