{{indexmenu_n>20}} ====== One thumb - several largesize ====== ===== The problem: ===== In CP images
only the first thumb of all is to be displayed. All large pictures should be visible in the LightBox using (next/prev). \\ ===== Frontend: ===== Only the first thumb is visible, all other are hidden. Screenshot taken from Images because the function is identical.\\ {{:deutsch:phpwcms-system:artikel:contentparts:bilder-spezial:one_thumb_several_largesize_fe_de_1.gif|}} \\ ==== Solution V3: ==== **Since version 1.4.6 r402** with all patches, see download docu "[[http://www.phpwcms-docu.de/download-dev-versionen.phtml|DEV - Versionen im ZIP Format]]". Forum: [[http://forum.phpwcms.org/viewtopic.php?p=125981#p125981|Bilder einfügen mit nur 1 Vorschaubild]] Edit appropriate template of the CP and drop the following into the style definition of the enclosing container: [PHP]if ('{FIRST}' == '') echo 'display: none;';[/PHP] "display: none" is set for all
enclosing container, except the first. **E.g. in a "Images special" template:**
{IMAGE} [CAPTION]

{CAPTION}

[/CAPTION][CAPTION_ELSE]

{IMGNAME}

[/CAPTION_ELSE] [INFOTEXT] {INFOTEXT} [/INFOTEXT] [INFOHTML] {INFOHTML} [/INFOHTML]
The number of columns in BE must be at least as large as the number of images, since the ID **%%(FIRST) = %% ** will be placed on a column top. There are no more scripts needed. See also "Images " [[english/phpwcms-system/article/contentparts/images-special/one-thumb-several-largesize]] \\