Форумы / Cotonti / Extensions / Adding Images in similarpages plugin

Ross
#1 07.09.2012 13:42

Can images be shown with similarpages plugin? I'll like to make it more similar to LinkWithin or other widgets - I don't want to use those because they low your Google ranking I understood.

I was thinking about something like:

<img src="{PAGE_ROW_IMAGE}" />

in

<!-- BEGIN: SIMILARPAGES -->
	<!-- BEGIN: SIMILAR_LIST -->
	<ul class="bullets">
		<!-- BEGIN: PAGE_ROW -->
		<li>
			<img src="{PAGE_ROW_IMAGE}" /> <strong><a href="{PAGE_ROW_URL}">{PAGE_ROW_SHORTTITLE}</a></strong>
			<p class="small">{PAGE_ROW_DESC}{PAGE_ROW_MORE}</p>
		</li>
		<!-- END: PAGE_ROW -->
	</ul>
	<!-- END: SIMILAR_LIST -->
	<!-- BEGIN: NOSIMILAR_LIST -->
	<p>{PHP.L.None}</p>
	<!-- END: NOSIMILAR_LIST -->
<!-- END: SIMILARPAGES -->

But <img src="{PAGE_ROW_IMAGE}" /> doesn't work and I cannot find the TPL tag to show the image of a page.

tensh
#2 09.09.2012 17:46

Do you use Page Avatar plugin for page images? If yes, then you have to use {PAGE_AVATAR} tag.

Otherwise, there are no page images in pages by default as far as I know.

Ross
#3 14.09.2012 23:25

Thank you Tensh and sorry for my being late. I tried your suggestion but it didn't work.

Kingsley
#4 15.09.2012 10:56

{PAGE_AVATAR} must be {PAGE_ROW_AVATAR}, in case you didnt change that..

Ross
#5 16.09.2012 07:33

I just tried with the second tag - nothing frown Thank you anyway

diablo
#6 16.09.2012 08:51

{PAGE_ROW_IMG} ?

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."