I have followed SDL documentation for SDL Contextual Image Delivery and have done the below steps.
- Installing the API Server Role as a .NET Web application
- Installing the Image Transformation Handler in a .NET Web application
- Installing Context Engine Cartridge
I have provided img
element in the page as follows
<img src="mywebsite.com/cid/scale/100/source/http://myImageWebsite.com/Images/someImage.jpg">
I also tried
<img src="mywebsite.com/cid/scale/100/source/source/Image/someImage.jpg">
when I load the page the folders with path /cid/scale/100/source/
gets created automatically in my web application but the cropped image is not generated.
Please let me know if I am missing anything.
Thanks, Sunil
<img src="http://mywebsite.com/cid/mywebsite.com/Images/someImage.jpg">
or similar?<img src="http://mywebsite.com/cid/scale/100/mywebsite.com/Images/someImage.jpg" >
- Also do you see any WARN flags in the CID logs - this should indicate if the URL is not constructed correctly.src="http://mywebsite.com/cid/mywebsite.com/Images/someImage.jpg"