Image management

Author Message

Nicolas OTTAVI

Tuesday 11 May 2010 11:52:11 pm

Hi there,

I have "some" trouble or maybe misunderstanding concerning the objects relation attribute/datatype.

For a new project, the client wants to have all its assets (images, files, videos and audio files) stored in the "Media" section. That's fine.

In my article I have set up an attribute of kind "Image" for image insertion. Then according to the client needs I've decided to switch to objects relation attribute.

If the image is already available in the media section no problem (even if the way the contributor choose the image could be improved using some lightbox,jquery and so on, instead of "browsing" ...)

My problem is when the "asset object" does not exists yet in the "Media Section". In the attribute the user can decide to add "a new object". But the only things he can do is assign a name to this new object, publish or save his draft, and then go in the Media Section, find the new created object, and then send the image, set the caption, description and tags for it.

This process seems a bit awkward to me, so I can not even imagine the final contributor feeling with it. It would be nice if we could proceed the same way as we proceed in an ezXML field, where adding, choosing and inserting "media" is easier (with a "popup").

I just wanted to be sure I did not made something wrong on my configuration and that the process I described above is the "real" one for every new eZ installation (I currently started this new project with the 4.3 version), and wanted to share with you the best practice, template modifications that I can do, extension that could make this "user experience" more friendly concerning "media assets" linking and publishing.

Thanks a lot eZ Community.
Nicolas

Jérôme Vieilledent

Wednesday 12 May 2010 7:07:18 am

Hi Nicolas

You might want to use ObjectRelationBrowse extension. It's actually an objects relation enhancement as you can create new objects, edit related objects within the same interface, ...

Very useful !

Nicolas OTTAVI

Wednesday 12 May 2010 12:18:57 pm

Thanks a lot,

I know remember this extension name ;)

Thx

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

Main resources:

Total runtime0.8525 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.7891152.6094
Module start 'layout' 0.00520.0027 740.398439.4063
Module start 'content' 0.00790.8431 779.8047522.0469
Module end 'content' 0.85100.0015 1,301.851612.5078
Script end 0.8525  1,314.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4081160.0002
Check MTime0.00140.1594160.0001
Mysql Total
Database connection0.00060.065410.0006
Mysqli_queries0.799593.7780580.0138
Looping result0.00060.0735560.0000
Template Total0.819996.220.4100
Template load0.00220.252320.0011
Template processing0.817895.920520.4089
Template load and register function0.00010.011910.0001
states
state_id_array0.00110.128410.0011
state_identifier_array0.00210.249820.0011
Override
Cache load0.00180.2154260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.074220.0003
Fetch class attribute name0.00130.151950.0003
XML
Image XML parsing0.00100.116020.0005
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00110.1336230.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs