Hi there I would like to do the following:
I am currently using business catalyst as my framework. They have a blog module that gives little no customization, in terms of blog lists. They have a preview tag that previews the the blog posts, and I only went it render the first image that shows up in the post, and nothing else.
By default if I put an image at the top of the blog post, BC will only render only the photo. If I don't put a photo, BC will render half of the blog post - which is stupid. No matter what the circumstance I just want the first photo rendered.
This needs to happen before BC renders the post.
How can I achieve this?
This is before:
<div class="blog1"><p>text</p><img src="#"></div>
This is after:
<div class="blog1"><img src="#"><p>text</p></div>