is responsive background images possible?

Comments

4 comments

  • Avatar
    Itay Taragano

    Currently, our Javascript library only supports 'img' tags. While it's on our road-map to support CSS's background-images, you may want to consider taking a look at our automatic responsive support, using client-hints:
    http://cloudinary.com/documentation/responsive_images#automating_responsive_images_with_client_hints

    1
    Comment actions Permalink
  • Avatar
    Ed Kulb

    Itay, you mentioned that background-image support was on the Cloudinary road map. Has there been any progress made on this? 

    2
    Comment actions Permalink
  • Avatar
    Shirly Manor

    Hi Ed,

    Unfortunately, there is no ETA yet.

    We will update here when we will have any updates,

    Thanks,

    1
    Comment actions Permalink
  • Avatar
    Derek Austin

    @Shirly Manor & @Itay Taragano

    Glad to hear it!!  Your API is awesome, and I'm about to publish a demo to Medium about using React to create a photo lightbox with Cloudinary-optimized photos.  Great product, and I'll push it to my mobile app when the background CSS property hits and/or I figure out how to layer an img behind everything else.  Thanks again!

     

    https://codesandbox.io/s/react-pose-text-lightbox-demo-github-master-8xupp

    1
    Comment actions Permalink

Please sign in to leave a comment.