I have created a "Property" CountrySmallImg1 in the "Document Types" and the "Property Type " is text string, I then have assigned the url like: /media/46680/fn_india_h.jpg
in my .NET user control, I read this property CountryImg.ImageUrl = umbraco.library.GetItem("CountrySmallImg1"); this is all working fine, no problems
instead of passing the raw url to the property, I want to be able to select the images from the media folder so that users can themselves change the pictures without the involment of the developers.
I am also looking for umbraco.library API documentation, any help will be greatfully accepted
umbraco.library API question
Hi
UMBRACO 4.0
I have created a "Property" CountrySmallImg1 in the "Document Types" and the "Property Type " is text string,
I then have assigned the url like: /media/46680/fn_india_h.jpg
in my .NET user control, I read this property CountryImg.ImageUrl = umbraco.library.GetItem("CountrySmallImg1");
this is all working fine, no problems
instead of passing the raw url to the property, I want to be able to select the images from the media folder so that users
can themselves change the pictures without the involment of the developers.
I am also looking for umbraco.library API documentation, any help will be greatfully accepted
Many thanks in advance
Regards
Praveen
Hi Praveen
You can find some documentation on the API here: http://our.umbraco.org/wiki/reference/api-cheatsheet
And a list over the umbraco.library here: http://our.umbraco.org/wiki/reference/umbracolibrary - I know that this is written for XSLT developers, but you can of course use the same mehods in your C#.
/Kim A
is working on a reply...