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:



Apart from this i will add my custom .cshtml file.
The custom code is located on line 435 and 455 in the file.

Let me know if you need more from me.


Replies

 
Mikkel Hornbech Nielsen
Reply

Did you guys see my above comments?

 

You must be logged in to post in the forum