Click here to Skip to main content
15,894,955 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All,

I am creating an application which takes some screen shots and save them in a folder say for example "images" .

Now my next task is to show these images in thumbnail view , for this I am thinking about using WpfDiscipleBlogViewer3D ,

A really nice application. which i download from Conceptual Children: A powerful new concept in WPF[^]


I have almost integrated this but i am facing problem in showing images , Above application by DR. WPF uses XML file named blogroll.xml for input of data ,

But I want it to show all images dynamically from a folder named "images" , means it should automatically load all images that folder when application starts.

Can Anyone help me out , I know i am not able to explain my question well , so you can ask me for any detail

Please help me

ashessitm
Posted
Comments
Kenneth Haugland 1-Aug-12 5:34am    
Insead of letting me go through all the code and finding you rspesific problem, cant you just show us the relevant code for loading and how your Images class looks like. I think youll find you get an answer more quickly that way :)
ashessitm 1-Aug-12 5:48am    
Actually code is divided into many files and it will be more cumbersome to understand for you if i put here. that's why requesting you to please download from link , I know i am asking to take a lot of pain to you , But please help me
Kenneth Haugland 1-Aug-12 5:59am    
Looks like his getting his items from blogroll.xml, so it is jus a matter of adding/removing/chaning items in this xml and you are done.
ashessitm 1-Aug-12 6:11am    
yes it is getting items from blogroll.xml , but pic item of this xml file is giving trouble , all images shown in sample we download are part of resources but when my application saves images in "images" folder , they are not part of resources , How to overcome this problem
ashessitm 1-Aug-12 6:19am    
You please edit blogroll.xml file's last blog like below

blog author="Kenneth Haugland" bio="http://Kenneth.com/" pic="images/Kenneth-Haugland.jpg" url="http://kenn.com/"


then add any picture by renaming it to Kenneth-Haugland.jpg and put this image in "images" folder and debug project , it won't show the image .

But if you right click the "images" folder in solution explorer in VS and add this image , then only it will show your image in output

1 solution

Yes I think youll have to create your own add function in Panel3D, and call this from a button or whatever. This should then work according to your specs. And if you comment out these lines:

HTML
<!--<DockPanel.DataContext>
    <XmlDataProvider x:Name="dbd" Source="blogroll.xml" XPath="blogs/blog" />
   </DockPanel.DataContext>-->


Youll start with an empty panel. If you now go trough the debugging youll quicly found out the rest. :)

If you have other question pleas use the Improve question and will get back to you. :)
 
Share this answer
 
Comments
ashessitm 3-Aug-12 2:18am    
Your comments gave me some hope , but those hopes have been vanished after seeing your answer , I am trying to solve this issue from last one month , and I already tried what you said 20 days back but could not found the solution .

Sorry for my harsh comment but i was full of hopes from your comments ,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900