Adding folder of images.

Author Message

Arash Molavi

Thursday 02 October 2003 4:32:12 am

Is there some way to add folders with media [images] to the media folder without having to add them manually one by one?

James Packham

Thursday 02 October 2003 6:04:25 am

You could manually add them to var/[site name]/storage/original/application/ (I think it is the same directory as for binaries, but upload one and do a search for *.jpg or whatever your image extension is first)
then create a reference in the ezimage table. I don't know if it'd work, but I doubt you'd cause serious damage if it didn't :)

Arash Molavi

Friday 03 October 2003 5:16:24 am

tnx.

Marco Zinn

Saturday 04 October 2003 5:11:36 am

Do you want a batch-upload-script for uploading lots of images to ez3?
Maybe have a look at this:
http://ez.no/developer/ez_publish_3/contributions/image_batch_uploadscript_with_errors

Marco
http://www.hyperroad-design.com

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 18:17:53
Script start
Timing: Jan 18 2025 18:17:53
Module start 'layout'
Timing: Jan 18 2025 18:17:53
Module start 'content'
Timing: Jan 18 2025 18:17:54
Module end 'content'
Timing: Jan 18 2025 18:17:54
Script end

Main resources:

Total runtime0.9152 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 587.9063152.6250
Module start 'layout' 0.00500.0025 740.531339.4453
Module start 'content' 0.00760.9056 779.9766587.1328
Module end 'content' 0.91320.0020 1,367.109412.1641
Script end 0.9152  1,379.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3295160.0002
Check MTime0.00130.1408160.0001
Mysql Total
Database connection0.00060.066210.0006
Mysqli_queries0.862994.2800620.0139
Looping result0.00070.0755600.0000
Template Total0.882696.420.4413
Template load0.00180.200920.0009
Template processing0.880896.236720.4404
Template load and register function0.00020.019810.0002
states
state_id_array0.00120.126110.0012
state_identifier_array0.00150.166620.0008
Override
Cache load0.00150.1667170.0001
Sytem overhead
Fetch class attribute can translate value0.00080.088130.0003
Fetch class attribute name0.00110.122070.0002
XML
Image XML parsing0.00470.508630.0016
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00370.4082290.0001
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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs