Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone,
This is what i get from getMedia printed using xsl:copy-of
<img id="1073" version="8c9418b1-6542-44d4-b4a2-ef00b058acd3" parentid="-1" level="1" writerid="0" nodetype="1032" template="0"sortorder="47" createdate="2010-06-25T14:08:15"
updatedate="2010-06-25T14:19:21" nodename="Nav-About" urlname="nav-about" writername="Administrator"nodetypealias="Image" path="-1,1073">
<umbracofile>/media/34/who-we-are.gif</umbracofile>
<umbracowidth>65</umbracowidth>
<umbracoheight>20</umbracoheight>
<umbracobytes>309</umbracobytes>
<umbracoextension>gif</umbracoextension>
No closing tag though. Can anyone confirm this as a bug?
Seems to be working fine for me, tho I have one of the 4.1 RC builds. Will try with a clean 4.5.
Just tried it in a clean 4.5, and I seem to get the correct output:
<Image id="1052" version="0d0a7a9f-e0a9-4fe7-9e0e-39fce7e7acbc" parentID="-1" level="1" writerID="0" nodeType="1032" template="0" sortOrder="36" createDate="2010-06-25T19:46:54" updateDate="2010-06-25T19:46:57" nodeName="test" urlName="test" writerName="Administrator" nodeTypeAlias="Image" path="-1,1052"> <umbracoFile>/media/19/chrysanthemum.jpg</umbracoFile> <umbracoWidth>1024</umbracoWidth> <umbracoHeight>768</umbracoHeight> <umbracoBytes>879394</umbracoBytes> <umbracoExtension>jpg</umbracoExtension> </Image>
Well thanks, may be it's an xslt visualizer issue. I'll check and report back...
Now I've noticed your post returned an image tag while mine returned img. I wonder how did this happen??
it's indeed a xslt visualizer issue, seen this before when people were trying to get GetMedia to work... Can you report on Codeplex please?
If you use GetMedia through a template, it'll show the correct xml, the xslt visualizer won't (for the moment)
Cheers,
/Dirk
Sounds weird. I'm getting the same XML as Morten, on a clean v. 4.5 with Runway installed. And it works fine in the XSLT Visualizer as well.
Can you show us the XSLT that you are using? Maybe someone can see something from that.
/Kim A
Just a quick test for email notification!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
GetMedia output missing it's closing tag. v4.5
Hi everyone,
This is what i get from getMedia printed using xsl:copy-of
<img id="1073" version="8c9418b1-6542-44d4-b4a2-ef00b058acd3" parentid="-1" level="1" writerid="0" nodetype="1032" template="0"sortorder="47" createdate="2010-06-25T14:08:15"
updatedate="2010-06-25T14:19:21" nodename="Nav-About" urlname="nav-about" writername="Administrator"nodetypealias="Image" path="-1,1073">
<umbracofile>/media/34/who-we-are.gif</umbracofile>
<umbracowidth>65</umbracowidth>
<umbracoheight>20</umbracoheight>
<umbracobytes>309</umbracobytes>
<umbracoextension>gif</umbracoextension>
No closing tag though. Can anyone confirm this as a bug?
Seems to be working fine for me, tho I have one of the 4.1 RC builds. Will try with a clean 4.5.
Just tried it in a clean 4.5, and I seem to get the correct output:
<Image id="1052" version="0d0a7a9f-e0a9-4fe7-9e0e-39fce7e7acbc" parentID="-1" level="1" writerID="0" nodeType="1032" template="0" sortOrder="36" createDate="2010-06-25T19:46:54" updateDate="2010-06-25T19:46:57" nodeName="test" urlName="test" writerName="Administrator" nodeTypeAlias="Image" path="-1,1052"> <umbracoFile>/media/19/chrysanthemum.jpg</umbracoFile> <umbracoWidth>1024</umbracoWidth> <umbracoHeight>768</umbracoHeight> <umbracoBytes>879394</umbracoBytes> <umbracoExtension>jpg</umbracoExtension> </Image>
Well thanks, may be it's an xslt visualizer issue. I'll check and report back...
Now I've noticed your post returned an image tag while mine returned img. I wonder how did this happen??
it's indeed a xslt visualizer issue, seen this before when people were trying to get GetMedia to work... Can you report on Codeplex please?
If you use GetMedia through a template, it'll show the correct xml, the xslt visualizer won't (for the moment)
Cheers,
/Dirk
Sounds weird. I'm getting the same XML as Morten, on a clean v. 4.5 with Runway installed. And it works fine in the XSLT Visualizer as well.
Can you show us the XSLT that you are using? Maybe someone can see something from that.
/Kim A
Just a quick test for email notification!
is working on a reply...