Forum
Blog Template Changes?
Before you added the Assets section to Perch the "post_in_list.html" template used to have the following line of code that would automatically resize and crop the uploaded image. With the addition of Assets, where does the code exists for automatically resizing images?
Old Perch Code ---------------------------------------------
<li class="hentry">
<h2><a href="post.php?s=<perch:blog id="postSlug" />" rel="bookmark" class="entry-title"><perch:blog id="postTitle" /></a></h2>
<perch:if exists="image"><img src="<perch:blog id="image" type="image" width="430" height="335" crop="true" />" alt="<perch:blog id="postTitle" />" /></perch:if>
It hasn't changed. Add any images to your master template (post.html) at the sizes that you want, then use them in any other templates. It's exactly as it was before.
Docs: https://docs.grabaperch.com/addons/blog/template-tags/
Iain
you seem to have replied to an old thread. Please post a new message with full details of your own issue so we can help you.