Developer forum

Forum » Rapido » Dynamic article - render articleimage in one container

Dynamic article - render articleimage in one container

Mikkel Hornbech Nielsen
Reply

Hey there DW.

I am trying to accomplish in the DynamicArticle.cshtml template, to have the images render in the same div instead of it creating a div pr image instance.
I am not quite sure where to make the logic exactly.

The whole section is in a foreach, but i dont know if it would fit what i need, if i move the markup out of the foreach.

DOM of the two divs: