dir.AppendItem LINK to picture on the net

Quick Q:



I wanto add DIR-ITEMS not using “hard-coded” thumbs located in the plug-in resource directory … but rather from another web page.

The pictures are likely to change and thus the need / request for this.



E.g:



In Apple Trailer Plug-In there is a STATIC version of this:



dir.AppendItem(DirectoryItem(“just_hd”, “Just HD”, Plugin.ExposedResourcePath(“thumb-just_hd.png”)))



I would rather use something like this:



dir.AppendItem(DirectoryItem(“just_hd”, “Just HD”, “htttp://www.testsite.com/thumb-just_hd.png”)))



Any ideas?



Thanks



**UPDATE:



And the ANSWER is … very simple :slight_smile:



Just add the complete URL as the third parameter when adding new items to the Media container:



dir.AppendItem(DirectoryItem(“just_hd”, “Just HD”, “htttp://www.testsite.com/thumb-just_hd.png”)))

**

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.