473,789 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Images not displaying in designer

Not sure if this is the right group...but I'm going to try here anyways. I
have a problem that is driving me absolutely crazy. I'm starting a new
ASP.Net web application and I'm trying to add an image web control. No
matter what I do...when I point the imageurl to the picture I want to
display...the only thing that shows in the VS.Net designer is a small little
box with a red "X" in it. If I compile the project and ftp it up to my web
host...the image displays perfectly...but it always shows up and the little
red "X" in the designer. Does anyone have any ideas as to why?

The code on the webpage is all the default code that gets put in by
VS.Net....this is the code that gets entered for the image control:

<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute;
TOP: 16px" runat="server"
ImageUrl="image s/banner01.jpg"></asp:Image>

As I said...once the project is compiled and ftp'd to my web host...the
image displays properly...but it just won't in the designer view within
VS.Net. Even if I do a "view in browser" from the designer...it still will
not show up. I can also compile the project and try to view the webpage
local on my machine by browsing to //localhost/<project name> and the image
still will not display properly.

This is very annoying and is making trying to design the page properly very
difficult for me. Any help is greatly appreciated.
Nov 19 '05 #1
1 1930
Hi,

Check whether you have the "Images" directory and also the image in it. If
not, copy the directory and image from the ftp server, and include in your
project.

Hope it helps.

Prakash.C

"TXIce" wrote:
Not sure if this is the right group...but I'm going to try here anyways. I
have a problem that is driving me absolutely crazy. I'm starting a new
ASP.Net web application and I'm trying to add an image web control. No
matter what I do...when I point the imageurl to the picture I want to
display...the only thing that shows in the VS.Net designer is a small little
box with a red "X" in it. If I compile the project and ftp it up to my web
host...the image displays perfectly...but it always shows up and the little
red "X" in the designer. Does anyone have any ideas as to why?

The code on the webpage is all the default code that gets put in by
VS.Net....this is the code that gets entered for the image control:

<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute;
TOP: 16px" runat="server"
ImageUrl="image s/banner01.jpg"></asp:Image>

As I said...once the project is compiled and ftp'd to my web host...the
image displays properly...but it just won't in the designer view within
VS.Net. Even if I do a "view in browser" from the designer...it still will
not show up. I can also compile the project and try to view the webpage
local on my machine by browsing to //localhost/<project name> and the image
still will not display properly.

This is very annoying and is making trying to design the page properly very
difficult for me. Any help is greatly appreciated.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3485
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or less would display, but those close to 300 pixels/inch or greater would not (MS Access cannot recognize the file format xxx.jpg). The larger, original images were scanned and saved as .bmp (at 300 dpi producing a 15MB file). Then the images were...
1
3733
by: Mamatha | last post by:
Hi I am developing a small application to capture a record a video file through webcam in C#.NET. In this application i created a JPEG images for every slide,means every JPEG image was treated as a slide then i want to display these images as a slide show. How can i alot time teo each frame? How can i display images one by one without my interaction? Please give me the solution or any releated source code.
13
1624
by: moondaddy | last post by:
Happy Holidays All! I want to load a datagrid with images and text (Image, text, image, text, etc...). The data for this datagrid will be coming from sql server and the images are stored as files on the server and not in sql server, however, the name and path of the images are stored with the text in sql server. I don't have a clue on how to load the images into the grid, so can someone please advise on how i can get started with this? ...
2
4362
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control displaying the contents of the data source, whilst another control updates the datasource via a command buttons implementation of 'Click', an event raised in the 'Handle Postback Events' stage of the control execution life cycle (via the...
5
2953
by: david | last post by:
Can I use WriteFile methods? It seems that it does not work. For example, the following code only dispay one figure. Response.WriteFile("images/image002.jpg") Response.Write("<br><p>") Response.WriteFile("images/image003.jpg") Response.Write("<br><p>") Any help? Thanks
1
3007
by: buzz | last post by:
I've created a simple table with text and images(gif, jpg) in a user control. Everything displays correctly in the designer. But when I drop the control on the main page, no images display. What am I missing? Thanks in advance........ --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =-
14
5576
by: hamil | last post by:
I am trying to display an image in a picture box. The image is a group 4 fax black and white image of a piece of sheet music. The original resolution is 300 X 300 dpi. I want to have the picture box as large as possible so I can view the scanned image on my computer screen. At run time, I want to be able to view different files by changing the image file name property. I thought the picture box could be setup so that the image would be...
0
1481
by: Marcus Kwok | last post by:
I have written a class (Windows Form) in Managed C++ that accepts an array of image filenames and will display them sequentially. All images will be the same size. I got it to work, but I know something is not right because of the way I am using Application::DoEvents() (ref: http://www.codinghorror.com/blog/archives/000159.html and http://www.codinghorror.com/blog/archives/000370.html ), along with the fact that I get a crash when I try...
4
2468
by: Ken Fine | last post by:
I've been living with a frustrating issue with VS.NET for some months now and I need to figure out what the problem is. Hopefully someone has run into the same issue and can suggest a fix. I suspect some permissions problem. I'm running VS.NET 2008 in Vista. Symptoms and observations: * ASP.NET's native ImageMap and Image controls work just fine and provide a design-time preview of images that are referenced via the ImageUrl property *...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10410
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.