Article image source

Author Message

Olaf Fichtner

Tuesday 22 June 2010 12:25:55 am

It would be nice if the same selection dialog used in OE for inserting an image could be used for the main article image.

One thing I like about eZP is the way content is considered an object that can be inserted into other content, moved etc. So I put images into the media library and then use those in articles. If I want to replace an image with a better one, I will do just that, and even in multilingual sites the image will be updated in all language instances of all articles containing it.

With the current procedure however, I need to separately upload an image, and if I want to replace it after I already created translations, I need to replace it in every language version of every article I used it in.

I think this might make things more convenient for authors...

André R.

Tuesday 22 June 2010 1:18:54 am

This is in our backlog (or should be, I'll check).

And the proper way to solve this is to move away from using the media / image / file datatypes directly in content related content classes like article to use object relation datatype. But at the same time we would need to make the interface for object relation more ajaxed like OE interface and add possibility to limit allowed classes like you can in object relationlist datatype.

This will mean image attribute and similar attributes will be able to reuse content in the media library correctly and let us have an clearer separation between content and media

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Olaf Fichtner

Wednesday 23 June 2010 12:34:10 am

That's good to hear. But I'm not sure if I understand you correctly. Since I do need articles in multiple languages, I usually upload an image to media/images, give it there title and caption for every language, and then insert the image through the OE "insert image" dialog.

So, are you saying it would be better to use the "insert object" dialog instead? I only just noticed it also includes media files... :-P

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 04:07:07
Script start
Timing: Jan 18 2025 04:07:07
Module start 'layout'
Timing: Jan 18 2025 04:07:07
Module start 'content'
Timing: Jan 18 2025 04:07:08
Module end 'content'
Timing: Jan 18 2025 04:07:08
Script end

Main resources:

Total runtime0.8501 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0234152.6250
Module start 'layout' 0.00470.0033 741.648439.4297
Module start 'content' 0.00800.8406 781.0781533.1641
Module end 'content' 0.84850.0016 1,314.242212.3438
Script end 0.8501  1,326.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3707160.0002
Check MTime0.00130.1555160.0001
Mysql Total
Database connection0.00060.068210.0006
Mysqli_queries0.809395.2027570.0142
Looping result0.00050.0548550.0000
Template Total0.815595.920.4078
Template load0.00200.239320.0010
Template processing0.813595.692120.4067
Template load and register function0.00020.021810.0002
states
state_id_array0.00080.094310.0008
state_identifier_array0.00130.150920.0006
Override
Cache load0.00170.1970150.0001
Sytem overhead
Fetch class attribute can translate value0.00090.110220.0005
Fetch class attribute name0.00140.164140.0003
XML
Image XML parsing0.00040.050120.0002
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00080.0967170.0000
String conversion0.00000.001140.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs