Forums / Setup & design / How use "media library" to add assets to an article.

How use "media library" to add assets to an article.

Author Message

R Sutton

Thursday 09 August 2007 1:15:27 pm

Well I don't know how else to put it. The title says it all. When I edit an article and try to click on the paper clip to add an object and select "existing" I am presented with only items in the site folder tree, nothing from the backside is offered. How do I access these assets when working wit an article? I have flv files that have been uploaded into the media library. I would like to use these in articles. I have searched the forum, but all answers were out of date and not helpful in this regard.

Right this second I am wondering what the point of the media library is. It seems like the functionality is missing to take advantage of it.

Thanks!

I am new to ez publish so I appreciate any insight if I am taking the workflow the wrong way :)

Greg McAvoy-Jensen

Thursday 09 August 2007 1:29:15 pm

What version are you using? The steps should be:

1. Click the paperclip
2. Click "Add existing"
3. There should be a little "up" arrow just above the "10 25 50" and to the left of the blank page icon and the word "Home". Click it.
4. Click "Media"

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

R Sutton

Thursday 09 August 2007 1:44:33 pm

<slapping forhead> Eureka!</slapping forhead>

Thanks! I knew it had to be something goofy. :)

R Sutton

Thursday 09 August 2007 1:47:55 pm

I think maybe the up directory arrow should be a different color to offset it. It blends right in and you don't really see it there unless you know to look.

In relation to that. i have my object embedded via paper clip. But instead of embedding it creates a link to the media and links it to another page (flv) any ideas on how to actually make this embed rather than link to anther page?

Thanks for your super fast help Greg! :)

Kristof Coomans

Friday 10 August 2007 1:18:06 am

Hi R

You can use the view parameter when embedding other objects to choose in which view mode they will be displayed, see: http://ez.no/doc/ez_publish/technical_manual/3_9/reference/xml_tags#object_embedding. (please don't take into account the link that's currently under the text "view" in the description column of the "view" parameter, it is wrong in this context, I'll contact the doc team to fix this: http://issues.ez.no/11250 ).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

gaga 66

Friday 24 August 2007 9:07:16 am

I add all the folder under media library to my bookmarks. This way when I add an existing object i dont have to browse using up arrow as bookmarks appear on the screen above the sub tree.

eZ debug

Timing: Jan 31 2025 01:16:03
Script start
Timing: Jan 31 2025 01:16:03
Module start 'content'
Timing: Jan 31 2025 01:16:03
Module end 'content'
Timing: Jan 31 2025 01:16:03
Script end

Main resources:

Total runtime0.1912 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.2109370.2734
Module start 'content' 0.00770.0126 959.48441,005.5781
Module end 'content' 0.02030.1708 1,965.06253,894.3203
Script end 0.1911  5,859.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00432.2488200.0002
Check MTime0.00130.6929200.0001
Mysql Total
Database connection0.00060.319510.0006
Mysqli_queries0.096150.26061410.0007
Looping result0.00140.71391390.0000
Template Total0.170389.110.1703
Template load0.00070.391710.0007
Template processing0.169688.698610.1696
Override
Cache load0.00050.275110.0005
Sytem overhead
Fetch class attribute can translate value0.00180.936210.0018
XML
Image XML parsing0.00030.136010.0003
General
dbfile0.00794.1486200.0004
String conversion0.00000.003630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs