Creating an Image Library

Author Message

Jason Dickson

Wednesday 12 November 2008 7:58:59 am

We have a terastation that is full of images that we want our people to have the ability to download for their own use. My question is, "Has anyone developed away to do this without having to upload all the images into the ezpublish site itself?" Our reasoning is that we all ready have them on one storage server why upload them to another. Let me know of any ideas that you have.

Ɓukasz Serwatka

Thursday 13 November 2008 12:42:05 am

Hi,

I don't think this kind of extension exists, at least in public repositories. You will need to create such extension on your own, or hire someone. It should not be hard to write a module which checks permissions and connect to your storage server, fetch images which user want to download. It is up to you what how eZ Publish will communicate with storage server.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 18 2025 11:20:00
Script start
Timing: Jan 18 2025 11:20:00
Module start 'layout'
Timing: Jan 18 2025 11:20:00
Module start 'content'
Timing: Jan 18 2025 11:20:02
Module end 'content'
Timing: Jan 18 2025 11:20:02
Script end

Main resources:

Total runtime1.0993 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0037 740.539139.4453
Module start 'content' 0.01021.0877 779.9844523.5938
Module end 'content' 1.09790.0014 1,303.57818.1641
Script end 1.0992  1,311.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2969160.0002
Check MTime0.00140.1231160.0001
Mysql Total
Database connection0.00090.082910.0009
Mysqli_queries1.052195.7104540.0195
Looping result0.00060.0522520.0000
Template Total1.064496.820.5322
Template load0.00210.191620.0011
Template processing1.062296.630720.5311
Template load and register function0.00020.017910.0002
states
state_id_array0.00130.117210.0013
state_identifier_array0.00180.160520.0009
Override
Cache load0.00170.153480.0002
Sytem overhead
Fetch class attribute can translate value0.00240.220920.0012
Fetch class attribute name0.00210.194030.0007
XML
Image XML parsing0.00080.071920.0004
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00080.0743180.0000
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs