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
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to convert html div into the Image

How to convert html div into the Image

Scheduled Pinned Locked Moved ASP.NET
htmltutorial
10 Posts 7 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.
  • C Offline
    C Offline
    Chetan Patel
    wrote on last edited by
    #1

    How to convert html div into the Image. if any one has answer then please contact :(( me.

    Best Regards, Chetan Patel

    L R 2 Replies Last reply
    0
    • C Chetan Patel

      How to convert html div into the Image. if any one has answer then please contact :(( me.

      Best Regards, Chetan Patel

      L Offline
      L Offline
      Laddie
      wrote on last edited by
      #2

      You cannot "convert" a div to a image if you want to show the image thre are two says 1)

      1. Put the image inside the div

      Thanks Laddie Kindly rate if the answer was helpful

      C J 2 Replies Last reply
      0
      • L Laddie

        You cannot "convert" a div to a image if you want to show the image thre are two says 1)

        1. Put the image inside the div

        Thanks Laddie Kindly rate if the answer was helpful

        C Offline
        C Offline
        Chetan Patel
        wrote on last edited by
        #3

        i have a div and i put some control in it. and i am trying to convert that div into the Image. my div become a image.

        Best Regards, Chetan Patel

        T 1 Reply Last reply
        0
        • C Chetan Patel

          i have a div and i put some control in it. and i am trying to convert that div into the Image. my div become a image.

          Best Regards, Chetan Patel

          T Offline
          T Offline
          The Cyclone
          wrote on last edited by
          #4

          I'm unable to understand your question. How can one convert div to image? :omg:

          Chetan Patel Sai Soft wrote:

          my div become a image

          According to me, this is simply not possible. :laugh:

          C C 2 Replies Last reply
          0
          • T The Cyclone

            I'm unable to understand your question. How can one convert div to image? :omg:

            Chetan Patel Sai Soft wrote:

            my div become a image

            According to me, this is simply not possible. :laugh:

            C Offline
            C Offline
            Chetan Patel
            wrote on last edited by
            #5

            i want to create image for the contents in Div Element. i need to generate image from html

            Best Regards, Chetan Patel

            1 Reply Last reply
            0
            • C Chetan Patel

              How to convert html div into the Image. if any one has answer then please contact :(( me.

              Best Regards, Chetan Patel

              R Offline
              R Offline
              Rami Shareef
              wrote on last edited by
              #6

              I have the same issue, I want to create an image from div contents, any help possible ?? :confused:

              R 1 Reply Last reply
              0
              • T The Cyclone

                I'm unable to understand your question. How can one convert div to image? :omg:

                Chetan Patel Sai Soft wrote:

                my div become a image

                According to me, this is simply not possible. :laugh:

                C Offline
                C Offline
                cxfranco
                wrote on last edited by
                #7

                :(

                1 Reply Last reply
                0
                • R Rami Shareef

                  I have the same issue, I want to create an image from div contents, any help possible ?? :confused:

                  R Offline
                  R Offline
                  RasoulJormand
                  wrote on last edited by
                  #8

                  You can Use http://forums.asp.net/t/1117630.aspx/2/10[^]

                  1 Reply Last reply
                  0
                  • L Laddie

                    You cannot "convert" a div to a image if you want to show the image thre are two says 1)

                    1. Put the image inside the div

                    Thanks Laddie Kindly rate if the answer was helpful

                    J Offline
                    J Offline
                    Janani Muthaiyan
                    wrote on last edited by
                    #9

                    I hope that this might work.... :)

                    $(document).ready(function(){
                    var imageSrc= $('div').css('background-image');
                    alert(imageSrc);
                    $('img').attr('src',imageSrc);
                    });

                    J 1 Reply Last reply
                    0
                    • J Janani Muthaiyan

                      I hope that this might work.... :)

                      $(document).ready(function(){
                      var imageSrc= $('div').css('background-image');
                      alert(imageSrc);
                      $('img').attr('src',imageSrc);
                      });

                      J Offline
                      J Offline
                      Janani Muthaiyan
                      wrote on last edited by
                      #10

                      Actually I need the same result fot collection of images in the same div.. But I cant.. Help me if anyone have idea

                      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