Silverlight,

I want to put my local pictures into coverflowcontrol ,I have taken the free source code from

http://kiwigis.blogspot.com/2009/11/silverlight-coverflow-with-reflection.html

it works all fine but int the code below commented line to get the pictures works but the code that references to my local jpg image does not work to bring the image to CoverFlowControl

============================================================================
 public partial class MainPage : UserControl {
        private const string PREFIX =
             "http://upload.wikimedia.org/wikipedia/commons/thumb/";
        private ObservableCollection<Thumbnail> _thumbnails =
            new ObservableCollection<Thumbnail>();
        //
        // CONSTRUCTOR
        //
        public MainPage() {
            InitializeComponent();

            // Populate thumbnail collection
            this._thumbnails.Add(
                new Thumbnail {
                 
                    //Picture = PREFIX +
                    //    "7/78/Einstein1921_by_F_Schmutzer_4.jpg" +
                    //    "/225px-Einstein1921_by_F_Schmutzer_4.jpg"

                                     <!--DOES NOT WORK WHY?-->
                    Picture = "C:\\Documents and Settings\\Fatih\\Desktop\\images\\i4200.jpg"
                }
            );
============================================================================

PLS help me i need to put my images to there not someone else's images so I give the path but it does not bring pictures...need help
fatihdiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CloudedTurtleCommented:
Unless specifically trusted and coded for, web application cannot access the local file system.
You will need to put your files onto a web server of some kind to get this to work.
You might also be able to include the folder in your project and when the project builds it includes that path in the debug webserver that starts. I usually have a web server handy that I will upload/to for this kind of thing.
Hope this helps.
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.