Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Implementing IPropertyModelConverter for EpiServer ContentDelivery API

$
0
0

Hello team,

Can someone help me with below issue?

I have a content delivery API and in response I have a field (for one of my pages) ContentReference for Images. I need to add some extension to the Image URL that comes back in JSON response (http:\\xyz.com..\..image.jpg to http:\\xyz.com..\..image.jpg?v=xxxx&height=&width)

I am trying to implement CustomPropertyModelConverter but am stuck on how to identify if the content reference is an image and how to update the ModelType.

Also am not sure if this is the correct way to do it? Can someone provide an example on how can I achieve this.  


Viewing all articles
Browse latest Browse all 6894

Trending Articles