hell can you tell me what the tag is for the image named red1.jpg. I wish to use this image as the
article listing image and resize it in a cutom teaser template
image tag
Re: image tag
Image tags you will finde in the docu:http://www.phpwcms-docu.de/image_tags.phtml
but I still do not understand your approach.
Article listing image is the section "image: article listing"
This image is catched by the cp teaser/link article autom.
In this CP you can format this picture according to your wishes.
Knut
but I still do not understand your approach.
Article listing image is the section "image: article listing"
This image is catched by the cp teaser/link article autom.
In this CP you can format this picture according to your wishes.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: image tag
no i need to list the other image not the detail image so is there a different tag that i can add to the template for this cp that will ist the article detail image instead of the article listing image?
Re: image tag
Ah yes, I understand.
Two solutions:
1. If you can php program, it is possible using a replacer in /frontend_init/ (cp_trigger), which reads the article-ID from the template, search for the right detail image in the DB and put back this image into the template. Template tag: (ARTICLEID} (available since r316 )
2. Alernativ you can use this frontend_render snippet that I've recently created, based on the CP article menu: Article menu (count/arch/img/templ)
There you will find a switch:
Knut
Two solutions:
1. If you can php program, it is possible using a replacer in /frontend_init/ (cp_trigger), which reads the article-ID from the template, search for the right detail image in the DB and put back this image into the template. Template tag: (ARTICLEID} (available since r316 )
2. Alernativ you can use this frontend_render snippet that I've recently created, based on the CP article menu: Article menu (count/arch/img/templ)
There you will find a switch:
Code: Select all
// Image parameters: list|detail ------------
$alinkmenu['is_image'] = 3; // 0 = off | 1 = list image | 2 = detail image
// 3 = list image + link | 4 = detail image + link
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )