Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Can't see my images in Expression Blend 3 Design View
17 replies. Latest Post by Denis1900 on November 1, 2009.
(0)
Denis1900
Member
7 points
80 Posts
10-26-2009 4:47 PM |
Hello! I have serious troubles with Image control. When i working in Expression Blend 3 i can't see my images in Design View - i see only its borders. When i start the site my images appears in browser! In WPF all works great - i can see images in design view. Practically, there are computers with this bug, and there are without. Can anyone tell me on what it depends? What it can be? Thanks a lot!
bryant
Star
9937 points
1,629 Posts
10-26-2009 5:32 PM |
How are you referencing your images? Some of the relative types of references can confuse Blend.
10-26-2009 5:49 PM |
I drag and drop my jpg images from folder to canvas. Image is added in project tree and all seems fine..... but i can't see image in Design View, only borders. When i try to create new Image control, and add it, and set Source from Properties panel it's the same. P.S. It works for me on Blend 2, but stop to work since Blend 3...
10-26-2009 6:49 PM |
Can you post the xaml for one of the images that doesn't work?
10-26-2009 7:07 PM |
The XAML is rather usual: Image x:Name="image" Margin="55,105,282,159" Source="a220324e3f92.jpg"/>
10-26-2009 7:40 PM |
So the xaml and the image are in the same folder?
Pete has one post on this here and I seem to remember some issue that when an image was compiled into the dll it wouldn't show in Blend unless you added the assembly into the path.
10-26-2009 7:51 PM |
Yes, xaml and image in the project root. And image is compiled into the dll. What should i try to see image in Blend? What is "add assembly into the path"? Thanks!
10-26-2009 8:07 PM |
This is what I mean. You'll need to replace AssemblyName with the name of your assembly.<Image x:Name="image" Margin="55,105,282,159" Source="/[AssemblyName];component/a220324e3f92.jpg"/>
This is what I mean. You'll need to replace AssemblyName with the name of your assembly.
<Image x:Name="image" Margin="55,105,282,159" Source="/[AssemblyName];component/a220324e3f92.jpg"/>
10-27-2009 8:23 AM |
No result:) I've changed my Source path to: Source="/SilverlightApplication13;component/Sunset.png", but the problem still exist - i see picture on the site, but can't see in Blend Design View.....
10-27-2009 1:04 PM |
What version of Blend are you using (Help -> About). Mine is 3.0.1927.0. When I drag an image from the project to the canvas it shows up in Blend and in the website.
10-27-2009 1:13 PM |
I'm using the same version - 3.0.1927.0. I can't imagine what it can be.... thank you for your assistance, but problem still exists...
10-27-2009 1:24 PM |
Is it for all images or just a certain one?
10-27-2009 2:17 PM |
For all:))
cortomal...
2 points
1 Posts
10-28-2009 6:55 PM |
Hi, it could be due to an invalid compatibility format png .Try to open your sunset.png in msPaint. If msPaint displays the png correctly , then Expression should display it too.Else, try this: open your png in Expression Design 3, and export it again to png, taking care about the export parameters.Tip: PNG compatibility must be OK. (check it with msPaint).Hope this helps, cheers! Jose J.
10-28-2009 7:13 PM |
No effect. This problem with all my graphic files, not only sunset.png:) All my files open in Paint or Photoshop, but not in Design View in Expression Blend... I've tried save in expression Design, with no result. I don't know whet to do. It seems that Expression Blend Design View not show images at all. P.S. But i can see image preview when i hold mouse over image file in my project folder:) Mystics:))
Allen Ch...
13873 points
1,803 Posts
10-30-2009 2:56 AM |
Hi,
Could you provide a demo project that can reproduce this issue? I'll test it to see if it can be reproduced.
You can upload the project to http://skydrive.live.com/ and paste download link here.
11-01-2009 7:16 PM |
The problem is solved
11-01-2009 7:18 PM |
The problem was in non-EN symbols in the path to my project folder. When I copied my project to C:\ root - all images appear in Blend design view!!! This issue is specific for Blend 3, in Blend 2 all works fine.