Overlaying social profile pictures on top of images
Overlay profile picture from a social network on top of another image by setting the overlay
parameter (l
in URLs) to the corresponding network and user name. Cloudinary will automatically fetch the latest profile picture of social network sites.
Ruby:
cl_image_tag("site_bg_bright.jpg", :overlay=>"facebook:zuck", :width=>300)
PHP:
cl_image_tag("site_bg_bright.jpg", array("overlay"=>"facebook:zuck", "width"=>300))
Python:
CloudinaryImage("site_bg_bright.jpg").image(overlay="facebook:zuck", width=300)
Node.js:
cloudinary.image("site_bg_bright.jpg", {overlay: "facebook:zuck", width: 300})
Java:
cloudinary.url().transformation(new Transformation().overlay("facebook:zuck").width(300)).imageTag("site_bg_bright.jpg")
jQuery:
$.cloudinary.image("site_bg_bright.jpg", {overlay: "facebook:zuck", width: 300})
.Net:
cloudinary.Api.UrlImgUp.Transform(new Transformation().Overlay("facebook:zuck").Width(300)).BuildImageTag("site_bg_bright.jpg")