cotonti.com : [Help] Page avatars https://www.cotonti.com Последние сообщения в теме Cotonti en Sat, 18 Oct 2025 15:17:36 -0000 ez I checked the img tag specs.. and you are right they both are valid ?? so, yes result is the same..]]> чт, 12 авг 2010 19:26:01 -0000 Kingsley чт, 12 авг 2010 16:41:12 -0000 ez
I think tensh is saying:

<a href=https://www.cotonti.com/"datas/photos/{LIST_ROW_IMG}"><img src="datas/thumbs/{LIST_ROW_IMG}" style="width:154px; height:100px" /></a>]]>
чт, 12 авг 2010 15:53:50 -0000
tensh чт, 12 авг 2010 15:19:09 -0000 Kingsley чт, 12 авг 2010 02:42:45 -0000 ez
Those are pfs settings (see admin panel)]]>
чт, 12 авг 2010 02:08:58 -0000
Kingsley
<a href=https://www.cotonti.com/"datas/photos/{LIST_ROW_IMG}"><img src="datas/thumbs/{LIST_ROW_IMG}" width="154px" height="100" /></a>

Added 28 minutes later:

any idea how to remove the black border around it with the size in it?]]>
чт, 12 авг 2010 01:37:36 -0000
pieter /*This is for Jquery*/ /* for understanding browsers */ .resizeimage { max-width:250px;max-height:250px;} /* for Internet Explorer */ /*\*/ * html .resizeimage{ border-width:1px solid #000000; height: expression(this.height >= this.width && this.height > 250 ? '250px' : true); width: expression(this.height < this.width && this.width > 250 ? '250px' : true); }
<a href=https://www.cotonti.com/"$1"><img src="$1" alt="" class="resizeimage" /></a>

Dit gebruik ik in forum, zodat de foto's klein zijn, en als je er op klikt de originele opengaat.

Added 37 seconds later:

How did you do it?]]>
чт, 12 авг 2010 01:31:23 -0000
Kingsley

thank you for your help pieter]]>
чт, 12 авг 2010 01:29:21 -0000
pieter
Added 17 seconds later:

add a class to it.]]>
чт, 12 авг 2010 01:20:25 -0000
Kingsley чт, 12 авг 2010 01:19:53 -0000 pieter http://www.x-ecutionerz.com/site/datas/photos/page_153_SEC_logo_anim.gif]]> чт, 12 авг 2010 01:18:14 -0000 Kingsley
<a href=https://www.cotonti.com/"datas/photos/{LIST_ROW_IMG}"><img src="datas/thumbs_pages/{LIST_ROW_IMG}" /></a>

with

{LIST_ROW_IMG}

gave as result:

http://www.x-ecutionerz.com/site/datas/thumbs_pages/page_153_SEC_logo_anim.gif

files are saved in datas/thumbs

Added 1 minute later:

k, works now]]>
чт, 12 авг 2010 01:17:05 -0000
pieter
Try to replace <a href=https://www.cotonti.com/"datas/photos/{LIST_ROW_IMG}"><img src="datas/thumbs_pages/{LIST_ROW_IMG}" /></a>
with {LIST_ROW_IMG}

Added 2 minutes later:

Did you do it like this: http://www.seditio.by/page.php?al=pageavatar_plugin_for_cotonti

Added 2 minutes later:

I see this link: http://www.x-ecutionerz.com/site/datas/thumbs_pages/page_153_SEC_logo_anim.gif
Are you sure it is located there?]]>
чт, 12 авг 2010 01:10:17 -0000
Kingsley http://www.cotonti.com/downloads/plugins/pages-lists/pageavatar_plugin

I am trying to get this to work.

I can upload the image, it is saved on the webserver, but image stays empty when I look at the list.

used this piece of code to display an image when none is added in the page

<!-- IF {LIST_ROW_IMG} -->
<a href=https://www.cotonti.com/"datas/photos/{LIST_ROW_IMG}"><img src="datas/thumbs_pages/{LIST_ROW_IMG}" /></a>
<!-- ELSE -->
<img src=https://www.cotonti.com/"http://www.x-ecutionerz.com/images/image.png"/>
<!-- ENDIF -->

Strange thing is; No image is displayed, but the second I add an image, it disappears and none is shown.

Live example: http://www.x-ecutionerz.com/site/list.php?c=gnews

first (starcraft II) article has an page avatar added to it.

Thx in advance for your help]]>
чт, 12 авг 2010 00:56:23 -0000