Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cant display image in my webpage

Cant display image in my webpage

Scheduled Pinned Locked Moved ASP.NET
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bishwambhar_sen
    wrote on last edited by
    #1

    Hi all, I am facing a strange problem to which I have no idea at all.I have created a website to be used with a sharepoint site.The website is running properly with all its functionalities.But whenever I try to display an image dynamically the image doesnt show up.Moreover,the same piece of code works fine for any other website but not for this one.That's what's driving me crazy. I have tried the following things. 1>Response.write("") 2>Response.write("") These codes work fine when used with any other website, but it's not working for my current website.Plz help me out. Thanks in advance!!:mad:

    A A 3 Replies Last reply
    0
    • B bishwambhar_sen

      Hi all, I am facing a strange problem to which I have no idea at all.I have created a website to be used with a sharepoint site.The website is running properly with all its functionalities.But whenever I try to display an image dynamically the image doesnt show up.Moreover,the same piece of code works fine for any other website but not for this one.That's what's driving me crazy. I have tried the following things. 1>Response.write("") 2>Response.write("") These codes work fine when used with any other website, but it's not working for my current website.Plz help me out. Thanks in advance!!:mad:

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      HI, R u displaying it in a particular web part.? If yes, 1. Is it is build in web part of sharepoint? 2. Or it's user define. Please come with more details. and code

      Regards Anil Pal

      B 1 Reply Last reply
      0
      • A anilpal

        HI, R u displaying it in a particular web part.? If yes, 1. Is it is build in web part of sharepoint? 2. Or it's user define. Please come with more details. and code

        Regards Anil Pal

        B Offline
        B Offline
        bishwambhar_sen
        wrote on last edited by
        #3

        Hi, No I am not displaying it in a web part.I am trying to display it on the webpage itself. I have written the previously mentioned code in the Page_Load section of the web page. Plz help me out.Kindly revert back in case you need any other information. Thanks, Vasillis_zayetsav.

        1 Reply Last reply
        0
        • B bishwambhar_sen

          Hi all, I am facing a strange problem to which I have no idea at all.I have created a website to be used with a sharepoint site.The website is running properly with all its functionalities.But whenever I try to display an image dynamically the image doesnt show up.Moreover,the same piece of code works fine for any other website but not for this one.That's what's driving me crazy. I have tried the following things. 1>Response.write("") 2>Response.write("") These codes work fine when used with any other website, but it's not working for my current website.Plz help me out. Thanks in advance!!:mad:

          A Offline
          A Offline
          anilpal
          wrote on last edited by
          #4

          Hi, Try to use "Page.ResolveClientUrl" or Page.ResolveUrl

          Regards Anil Pal

          1 Reply Last reply
          0
          • B bishwambhar_sen

            Hi all, I am facing a strange problem to which I have no idea at all.I have created a website to be used with a sharepoint site.The website is running properly with all its functionalities.But whenever I try to display an image dynamically the image doesnt show up.Moreover,the same piece of code works fine for any other website but not for this one.That's what's driving me crazy. I have tried the following things. 1>Response.write("") 2>Response.write("") These codes work fine when used with any other website, but it's not working for my current website.Plz help me out. Thanks in advance!!:mad:

            A Offline
            A Offline
            Alok Sharma ji
            wrote on last edited by
            #5

            try this: 1.use any preallocated asp:image on web page 2. if you dont want to show it on page load set visible prpert to false 3.try method of image.imageurl="~/Images/warning.GIF"; 4. by some filtering of case sensitive keywords it can work fine for you note:also if you dont set size it could take less space in visible=false form but when loading the new image on event fire the size of image is the max size of source image.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups