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. Working with photos

Working with photos

Scheduled Pinned Locked Moved ASP.NET
database
12 Posts 5 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.
  • S Soumini Ramakrishnan

    If I have to store a set of photos for each user, is it good to save those photos in the database or keep separate folder for each user for those photos

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

    You can use either Database to store or You have to store only extension in database and give user id as file name to photo of every user.

    Best Regards, Chetan Patel

    1 Reply Last reply
    0
    • S Soumini Ramakrishnan

      If I have to store a set of photos for each user, is it good to save those photos in the database or keep separate folder for each user for those photos

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #4

      It depends on the database space you have. If you have good database space, keeping images in database won't be a problem. Also it prevents users accessing image file directly typing through URL.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • S Soumini Ramakrishnan

        If I have to store a set of photos for each user, is it good to save those photos in the database or keep separate folder for each user for those photos

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #5

        if you store image in database then image will store as a binary format. and while retreaving the image it may cause losses of quality of image. i can prefer you to store image in a folder and store the corresponding path in database and retrive from it. I have written article on it . please check on my article section.

        Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

        N 1 Reply Last reply
        0
        • A Abhijit Jana

          if you store image in database then image will store as a binary format. and while retreaving the image it may cause losses of quality of image. i can prefer you to store image in a folder and store the corresponding path in database and retrive from it. I have written article on it . please check on my article section.

          Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #6

          Abhijit Jana wrote:

          if you store image in database then image will store as a binary format. and while retreaving the image it may cause losses of quality of image.

          This is not correct. There won't be any difference for quality.

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

          A 1 Reply Last reply
          0
          • N N a v a n e e t h

            Abhijit Jana wrote:

            if you store image in database then image will store as a binary format. and while retreaving the image it may cause losses of quality of image.

            This is not correct. There won't be any difference for quality.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #7

            I have face that problem .

            Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

            N 1 Reply Last reply
            0
            • A Abhijit Jana

              I have face that problem .

              Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #8

              mm.. You might be doing something wrong.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

              A 1 Reply Last reply
              0
              • N N a v a n e e t h

                mm.. You might be doing something wrong.

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #9

                Hi navanteeth, Can you kindly inform me that what would the best apporch to search data from Active directory. i have to implemnt a Address book like OWA . and AD contain more that 1 laks data so any idea ? Thanks in advance !!!

                Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

                N 1 Reply Last reply
                0
                • A Abhijit Jana

                  Hi navanteeth, Can you kindly inform me that what would the best apporch to search data from Active directory. i have to implemnt a Address book like OWA . and AD contain more that 1 laks data so any idea ? Thanks in advance !!!

                  Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

                  N Offline
                  N Offline
                  N a v a n e e t h
                  wrote on last edited by
                  #10

                  I am sorry, but I don't have any idea on this. I have seen your original post last day, but I don't have an answer for this. Have you tried MSDN forums ?

                  All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                  A 1 Reply Last reply
                  0
                  • N N a v a n e e t h

                    I am sorry, but I don't have any idea on this. I have seen your original post last day, but I don't have an answer for this. Have you tried MSDN forums ?

                    All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                    A Offline
                    A Offline
                    Abhijit Jana
                    wrote on last edited by
                    #11

                    yup. i have post the same question in asp.net forum on active directory section. but the response which i have got that is , they are using one DB and seaching is done from DB. on schedule job will update DB from AD. But i dont want any depenecy with Database server. Main problem is the huge data. Thats whay i am thinking making it like OWA 2003. where first user will give input and Address book will manupulated those data from AD only. What do u think?

                    Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

                    N 1 Reply Last reply
                    0
                    • A Abhijit Jana

                      yup. i have post the same question in asp.net forum on active directory section. but the response which i have got that is , they are using one DB and seaching is done from DB. on schedule job will update DB from AD. But i dont want any depenecy with Database server. Main problem is the huge data. Thats whay i am thinking making it like OWA 2003. where first user will give input and Address book will manupulated those data from AD only. What do u think?

                      Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

                      N Offline
                      N Offline
                      N a v a n e e t h
                      wrote on last edited by
                      #12

                      That would be better that porting it to a DB, AFAIK.

                      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                      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