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
here is a very simple snippet: which renders: http://domain.com/media/329/blue%20beanie%20day.jpgjpg9561 The jpg9561 on the end is wrong. It seems to be appaending the Type and Size values on the end. Or am I doing it wrong? tia Jay
Hi Gay, Yes, GetMedia returns the complete xml... need to get only the umbracoFile from the data node! Cheers, /Dirk
Hey Dirk, Thanks. I think I tried that first but I ended up with an empty href. I shall continue troubleshooting Cheers Jay
aha, for anyone other newbs making the same mistake it needs single quotes on the umbracoFile ie
Please refer to Umbraco GetMedia-Complete example. Hopfully, it will helpful to you.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
GetMedia bug?
here is a very simple snippet:
which renders:
http://domain.com/media/329/blue%20beanie%20day.jpgjpg9561
The jpg9561 on the end is wrong. It seems to be appaending the Type and Size values on the end.
Or am I doing it wrong?
tia
Jay
Hi Gay,
Yes, GetMedia returns the complete xml...
need to get only the umbracoFile from the data node!
Cheers,
/Dirk
Hey Dirk,
Thanks.
I think I tried that first but I ended up with an empty href.
I shall continue troubleshooting
Cheers
Jay
aha, for anyone other newbs making the same mistake it needs single quotes on the umbracoFile
ie
Please refer to Umbraco GetMedia-Complete example. Hopfully, it will helpful to you.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.