Don't proxy http images on detail pages through our internal proxy anymore. We aren't exposing it to the internet anymore.
@@ -152,15 +152,6 @@ class ImageDetail(GenericAPIView, RetrieveModelMixin):
def get(self, request, identifier, format=None, view_count=0):
""" Get the details of a single list. """
resp = self.retrieve(request, identifier)
- # Fix links to creator and foreign landing URLs.
- # Proxy insecure HTTP images at full resolution.
- if 'http://' in resp.data[search_controller.URL]:
- original = resp.data[search_controller.URL]
- secure = '{proxy_url}/{original}'.format(
- proxy_url=THUMBNAIL_PROXY_URL,
- original=original
- )
- resp.data[search_controller.URL] = secure
return resp
