@atisz - you are almost there.
Please see viewtopic.php?p=12825#p12825 for how to use the dumped info to actually show the image.
Please see viewtopic.php?p=12825#p12825 for how to use the dumped info to actually show the image.
KK wrote: @atisz - you are almost there.
Please see viewtopic.php?p=12825#p12825 for how to use the dumped info to actually show the image.
<cms:form class="login" enctype="multipart/form-data" method='post' anchor='0'>
<cms:paypal_processor/>
<cms:if k_paypal_success>
<cms:if k_success >
<!--
The 'member_process_registration_form' tag below expects fields named
'member_displayname', 'member_name' (optional), 'member_email',
'member_password' and 'member_password_repeat'
-->
<cms:member_process_registration_form />
<cms:if k_success >
<cms:redirect url='checkout.php' />
</cms:if>
</cms:if>
<cms:if k_error >
<font color='red'><cms:each k_error ><cms:show item /><br /></cms:each></font>
</cms:if>
</cms:if>
<cms:if k_paypal_error>
<!-- All PayPal variables and the error message is available here -->
</cms:if>
</cms:paypal_processor>
<cms:if k_member_logged_in >
<cms:pages masterpage=k_member_template id=k_member_id>
<div id="about_pic"><!-- Start about_pic -->
<cms:show_securefile 'avatar' >
<cms:if file_is_image >
<a href="<cms:cloak_url link=file_id />"><img src="<cms:cloak_url link=file_id thumbnail='1' />" /></a><br />
<cms:else />
<a href="<cms:cloak_url link=file_id />"><cms:show file_name /></a> (<cms:size_format file_size />)
</cms:if>
</cms:show_securefile>
</div><!-- End about_pic -->
</cms:pages>
</cms:if>
All I managed to do it was to display my own profile picture or all members profile picture, but not the correct one for the selected member.
<ul class="list">
<cms:pages masterpage='members/index.php'>
<li>
<div class="avatar">
<cms:show_securefile 'avatar' >
<cms:if file_is_image >
<a href="<cms:show k_page_link/>"><img src="<cms:cloak_url link=file_id thumbnail='1' />" /></a>
<cms:else />
<a href="<cms:cloak_url link=file_id />"><cms:show file_name /></a>
</cms:if>
</cms:show_securefile>
</div>
<h3 class="name"><a href="<cms:show k_page_link/>"><cms:show k_page_title /></a></h3>
</li>
</cms:pages>
</ul>
KK wrote: Can you please PM me the template where the avatar is not displaying?
Thanks