Retrieve binary image files from dotCMS

Use the following image link below to include images in the site that are stored as binary files.

You need to parse the ${inode} of the newsitem into the link below. To target a particular field you place that after the $inode (i.e. itemImage1), 80 represents the quality of the image. 245 represents the size.

image/${inode}/itemImage1/byInode/1/filter/Resize,Jpeg/jpeg_q/80/resize_w/245

Full Code:

  1. <img src="/contentAsset/image/${inode}/itemImage1/byInode/1/filter/Resize,Jpeg/jpeg_q/80/resize_w/245/" alt="">  
comments powered by Disqus