Making a gallery

Author Message

Kjell Inge Sandvik

Friday 22 April 2005 6:16:32 pm

How do I make a simple gallery?

I have made a gallery folder, and assigned that to a section, but how do I setup the template for this?

Sandvik Web & Data

Ekkehard Dörre

Saturday 23 April 2005 2:51:16 am

Put some images inside and you'll see.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Kjell Inge Sandvik

Saturday 23 April 2005 4:18:33 am

I still can't see the pictures.

I have overrided the node/view/full.tpl, and assigned that to folder/section(gallery).

What happens, is that on the gallery-screen, I get the choice to make a new template by clicking a link.

I'm new to eZpublish - so what am I doing wrong here?

Sandvik Web & Data

Kjell Inge Sandvik

Saturday 23 April 2005 4:56:47 am

BTW: Here's my template:

<h1>Galleritest</h1>
{let bilder=fetch( 'content', 'tree', hash( 'parent_node_id', '60') )}
{section name=Bilde loop=$bilder}
   <img src={$Bilde:item.object.data_map.image.content.full_path|ezroot} border="0">
{/section}
{/let} 

Sandvik Web & Data

Ekkehard Dörre

Saturday 23 April 2005 9:33:22 am

Try a different new install:

Gallery is a default Template Set in ez. In Setup You can choose it:
http://ez.no/ez_publish/guided_tours/setup_wizard_guide/step_5_site_type

Then there is no problem. Does your images work in article etc?

More infos:
http://ez.no/community/forum/setup_design/image_gallery_package_usage

http://ez.no/ez_publish/documentation/configuration/troubleshooting/images_do_not_work
http://ez.no/ez_publish/documentation/configuration/troubleshooting/images_do_not_work/you_are_sure_that_you_have_imagemagick_but_its_not_working

You can search for images.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Kjell Inge Sandvik

Saturday 23 April 2005 11:39:59 am

Yes articles with pictures show up all right, but I want to know what the commands in a template are to show a picture in a spesific section :-)

Sandvik Web & Data

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 11:47:43
Script start
Timing: Jan 19 2025 11:47:43
Module start 'layout'
Timing: Jan 19 2025 11:47:43
Module start 'content'
Timing: Jan 19 2025 11:47:45
Module end 'content'
Timing: Jan 19 2025 11:47:45
Script end

Main resources:

Total runtime1.4451 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.0547152.6094
Module start 'layout' 0.00450.0033 741.664139.4141
Module start 'content' 0.00781.4359 781.0781580.9141
Module end 'content' 1.44370.0014 1,361.992216.1875
Script end 1.4451  1,378.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2261160.0002
Check MTime0.00150.1003160.0001
Mysql Total
Database connection0.00050.038010.0005
Mysqli_queries1.384295.7854660.0210
Looping result0.00090.0627640.0000
Template Total1.400196.920.7001
Template load0.00250.170020.0012
Template processing1.397696.714320.6988
Template load and register function0.00010.006110.0001
states
state_id_array0.00230.156210.0023
state_identifier_array0.00310.215320.0016
Override
Cache load0.00210.1436350.0001
Sytem overhead
Fetch class attribute can translate value0.00090.065520.0005
Fetch class attribute name0.00150.104180.0002
XML
Image XML parsing0.00100.066220.0005
class_abstraction
Instantiating content class attribute0.00000.0017120.0000
General
dbfile0.00100.0713220.0000
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs