Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

SDL Contextual Image Delivery (CID), in it's first release, gives you the ability to get a transformed version of an original image (in Content Delivery) with the following options:

  • Resize with or without cropping
  • Trim
  • Convert format
  • Chain the above

This is done by sending modified image Url paths to the Content Delivery (CD) server which create and cache the the appropriate variations.

I wanted to confirm:

  1. Is there a difference to requesting an image on a page or through a browser? To resize an image, do we just "template" out the modified path?
  2. Can CID run/be installed for the CD (OData) Web service?
  3. Do the images have to reside on the CD server? Can it handle images hosted elsewhere (with image source URLs pointing to other domains)?
share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted
  1. Yes, you need to map the original image path to have /<path to CID Service>/Path/To/Image.png/transformation/instructions, or something like /cid/mylogo.png/100x100
  2. Yes, since you can request a binary image from the OData WebService. Not sure how the URL would look like, but it is indeed possible.
  3. The images can be anywhere, there are some rules to configure in the CID configuration about which hosts can request a transformation and from which hosts you're allowed to load an image from. CID image URLs could be in the format of http://cidserver.company.com/cid/http/anotherserver.company.com/images/someimage.jpg/to/png
share|improve this answer
    
Smart idea on #3, which would prevent the wrong sites from using this feature. And #2 means some interesting possibilities with other "contextual" SDL software. Thanks! :-) –  Alvin Reyes Apr 19 at 17:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.