# How to send image (custom namespace) into RSS feed

**URL:** https://community.bloomreach.com/t/how-to-send-image-custom-namespace-into-rss-feed/609
**Category:** Experience Manager (PaaS/OnPrem)
**Created:** [November 22, 2018, 6:56am UTC](https://community.bloomreach.com/t/how-to-send-image-custom-namespace-into-rss-feed/609 "2018-11-22T06:56:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![VRitesh](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/vritesh/32/337_2.png) [@VRitesh](https://community.bloomreach.com/u/VRitesh)
#### Post date: [November 22, 2018, 6:56am UTC](https://community.bloomreach.com/t/how-to-send-image-custom-namespace-into-rss-feed/609/1 "2018-11-22T06:56:41Z")

</div>

Can anyone tell me how to do this?  
I have a transformer and it is returning the image object as well

public class HippoGalleryImageSetToImageTransformer {

```
private static Logger log = LoggerFactory.getLogger(HippoGalleryImageSetToImageTransformer.class);

@ContextTransformable
public Image getImage(HstRequestContext context, HippoGalleryImageSet imageSet) {
    Image image = new Image();
    final HstLinkCreator hstLinkCreator = context.getHstLinkCreator();
    final String baseLink = hstLinkCreator.create("/", context.getResolvedMount().getMount()).toUrlForm(context, true);
    final String imageLink = hstLinkCreator.create(imageSet, context).toUrlForm(context, true);
    image.setUrl(imageLink);
    image.setLink(baseLink);
    image.setTitle(imageSet.getFileName());
    return image;
}

```

}

But the problem is **the Image element “is not part of rss2.0 specification” for an “item” node, only for “channel” node**.  
Because of that, I have to create my own namespace(“image”) can anyone tell me how to do it? and how and where to create the feed extension? does it require me to host it in CDN?

or is there any alternate solution available?

Thank You in advance for your help.

---

<div class="post-metadata">

### Author: ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)
#### Post date: [November 22, 2018, 9:19am UTC](https://community.bloomreach.com/t/how-to-send-image-custom-namespace-into-rss-feed/609/2 "2018-11-22T09:19:13Z")

</div>

Hi,  
The #getImage seems allright, but the problem is that the resulting element ends up below an element which is illegal. You can see it in the specification, say at [https://cyber.harvard.edu/rss/rss.html](https://cyber.harvard.edu/rss/rss.html)

HTH  
Jeroen
