Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Article Images Keep repeating /Duplicating
I’ve finally made the leap to TXP 4.0.8, and have my site up and running again, with only one bug, which I am having some difficulty resolving. When I have only a single image posted to an article, it repeats/ duplicates a few times.
Example:
http://thedept.com/store/androids-rule
You will notice that under the comments box, the image repeats a few more times, and that is the issue. I know I have some mark-up validation issues, but I don’t believe they are causing the problem. I would appreciate any suggestions. Thanks!
Best,
Elstrausso.
**here is the form code:
<!— PROJECT CELL: Project_form —>
<txp:if_article_list>
<ul class=“cells”>
<li class=“gallery”>
<div class=“cellblock”>
<txp:if_individual_article>
</txp:if_individual_article>
<h5><txp:title /></h5>
<txp:wet_article_thumb />
<txp:body />
<p class=“read-more”> <a href=”<txp:permlink />#body”
title=”<txp:title />”>»View More</a> </p> <hr></hr>
<div class=“date”><txp:posted /> Posted By: <txp:author />
<p class=“tags”><txp:category1 title=“1” link=“1” /> + <txp:category2 title=“1” link=“1” /></p>
<txp:comments_invite wraptag=“p” />
<txp:else />
<!—DETAIL PAGE —>
<div class= “celltitler”>
<h5><txp:title /></h5>
<txp:if_excerpt>
<txp:excerpt />
</txp:if_excerpt>
<div class=“entry-content”>
<p class=“tags”><txp:category1 title=“1” link=“1” /> + <txp:category2 title=“1” link=“1” /></p>
</div>
</div>
</div>
</div>
<div class= “nextprev”>
<div class =“cellprevnext”>Next: <txp:link_to_prev showalways=“1”> <txp:prev_title /></txp:link_to_prev>
</div>
<div class =“cellprevnext”>Prev: <txp:link_to_next showalways=“1”><txp:next_title /></txp:link_to_next>
</div>
<div class =“cellprevnext”><a href=“http://thedept.com/index.php?s=projects”> Projects Gallery </a>
</div>
</div>
<txp:hak_article_image linktype=‘page’ link=‘1’ linktitle=‘txp:caption’ wraptag=“li” form=“hakimage” />
</div>
<txp:comments />
<txp:comments_form />
</txp:if_individual_article>
</div>
</li>
</ul>
</txp:if_article_list>
Offline
Re: Article Images Keep repeating /Duplicating
Hello, I solved the problem, I had a few extra <txp:article_image/> in my code.
Issue Resolved!
best,
Elstrausso
Offline