2nd post - 1st 8/2/05 (no reply). Any help here?

Discussion in 'ASP .Net' started by =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005.

  1. I have HTML web page with <asp:Image id=img_L runat=server ImageAlign=Top
    Visible=True Width=y Height=x></asp:Image>. For some images, less than 128K
    I can view image. Other image files > 128K, image is not viewable - comes up
    with X in picture box. Is there size restriction. How can I remove this -
    or how can I show images > 128K in web page.

    NOTE: x & y in asp:Image spec are distinct values - say 128 x 128 or 64 x 64
    image sizes
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?RGF2aWRT?=

    Curt_C [MVP] Guest

    DavidS wrote:
    > I have HTML web page with <asp:Image id=img_L runat=server ImageAlign=Top
    > Visible=True Width=y Height=x></asp:Image>. For some images, less than 128K
    > I can view image. Other image files > 128K, image is not viewable - comes up
    > with X in picture box. Is there size restriction. How can I remove this -
    > or how can I show images > 128K in web page.
    >
    > NOTE: x & y in asp:Image spec are distinct values - say 128 x 128 or 64 x 64
    > image sizes


    try to use a simple <img src=...> tag for that image once, to ensure its
    not the image.

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com
     
    Curt_C [MVP], Aug 4, 2005
    #2
    1. Advertising

  3. Not sure I follow you - not sure what <img src=> will do for me. I'm
    basically using <asp:Image ...> </asp:Image> to dynamically control the image
    viewed in the web page. The images exists - it appears to be size issue -
    but I need to confirm. I have many images that are viewed - others whose
    size is > 128K just are viewable with red x. If I review the image file
    using Windows Explorer (image file > 128K - it's viewable - but for some
    reason, the <asp:Image> control will not properly preview these images.

    Any other suggestion or has anyone encountered this problem

    "Curt_C [MVP]" wrote:

    > DavidS wrote:
    > > I have HTML web page with <asp:Image id=img_L runat=server ImageAlign=Top
    > > Visible=True Width=y Height=x></asp:Image>. For some images, less than 128K
    > > I can view image. Other image files > 128K, image is not viewable - comes up
    > > with X in picture box. Is there size restriction. How can I remove this -
    > > or how can I show images > 128K in web page.
    > >
    > > NOTE: x & y in asp:Image spec are distinct values - say 128 x 128 or 64 x 64
    > > image sizes

    >
    > try to use a simple <img src=...> tag for that image once, to ensure its
    > not the image.
    >
    > --
    > Curt Christianson
    > site: http://www.darkfalz.com
    > blog: http://blog.darkfalz.com
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #3
  4. =?Utf-8?B?RGF2aWRT?=

    Curt_C [MVP] Guest

    DavidS wrote:
    > Not sure I follow you - not sure what <img src=> will do for me. I'm
    > basically using <asp:Image ...> </asp:Image> to dynamically control the image
    > viewed in the web page. The images exists - it appears to be size issue -
    > but I need to confirm. I have many images that are viewed - others whose
    > size is > 128K just are viewable with red x. If I review the image file
    > using Windows Explorer (image file > 128K - it's viewable - but for some
    > reason, the <asp:Image> control will not properly preview these images.



    the 128k should not be an issue, unless somehow you've tweaked some
    settings. The IMG test was to see if it is a problem with the <asp: tag
    or if it's an image issue. Just try one of the IMG tag tests once, in
    that same page, just to confirm this. It will tell us if we need to look
    outside the page (web.config settings perhaps).


    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com
     
    Curt_C [MVP], Aug 4, 2005
    #4
  5. I've tried the following <img src="picture.jpg"></img> in HTML - and I get
    red x for image whose size is 226K. If I use <asp:Image Imageurl=> I get
    same issue - red x for this image size.

    When I do the following in ASP.NET code -
    Dim BitObj As Bitmap = New Bitmap("\Groups\Public\LicensingDatabase\Photos\"
    & Trim(txt_SS.Text) & ".jpg" )
    BitObj.Save( Response.OutputStream,System.Drawing.Imaging.ImageFormat.Jpeg )
    The image using this technique is visible on web page - but I need to use
    <asp:Image> control instead - I need the image to preview with other web
    controls etc...


    "Curt_C [MVP]" wrote:

    > DavidS wrote:
    > > Not sure I follow you - not sure what <img src=> will do for me. I'm
    > > basically using <asp:Image ...> </asp:Image> to dynamically control the image
    > > viewed in the web page. The images exists - it appears to be size issue -
    > > but I need to confirm. I have many images that are viewed - others whose
    > > size is > 128K just are viewable with red x. If I review the image file
    > > using Windows Explorer (image file > 128K - it's viewable - but for some
    > > reason, the <asp:Image> control will not properly preview these images.

    >
    >
    > the 128k should not be an issue, unless somehow you've tweaked some
    > settings. The IMG test was to see if it is a problem with the <asp: tag
    > or if it's an image issue. Just try one of the IMG tag tests once, in
    > that same page, just to confirm this. It will tell us if we need to look
    > outside the page (web.config settings perhaps).
    >
    >
    > --
    > Curt Christianson
    > site: http://www.darkfalz.com
    > blog: http://blog.darkfalz.com
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #5
  6. =?Utf-8?B?RGF2aWRT?=

    Curt_C [MVP] Guest

    DavidS wrote:
    > I've tried the following <img src="picture.jpg"></img> in HTML - and I get
    > red x for image whose size is 226K. If I use <asp:Image Imageurl=> I get
    > same issue - red x for this image size.
    >


    Ok...this tells us though that it's nothing to do with the <asp:Image
    control, its the image or the site settings.

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com
     
    Curt_C [MVP], Aug 4, 2005
    #6
  7. So what should I do regarding the site settings - what would I be looking to
    change. Basically, the image is ok - since I can preview other ways. Any
    suggestion here - to me it seems a size issue using the control - images <
    128 always preview with control - other won't - but there visible using
    source code I outlined in other reply.

    Again, if it's not the control nor image - where do I change site settings -
    what fields of machine.config or what config file & attributes?

    "Curt_C [MVP]" wrote:

    > DavidS wrote:
    > > I've tried the following <img src="picture.jpg"></img> in HTML - and I get
    > > red x for image whose size is 226K. If I use <asp:Image Imageurl=> I get
    > > same issue - red x for this image size.
    > >

    >
    > Ok...this tells us though that it's nothing to do with the <asp:Image
    > control, its the image or the site settings.
    >
    > --
    > Curt Christianson
    > site: http://www.darkfalz.com
    > blog: http://blog.darkfalz.com
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #7
  8. Basically, any image >= 226KB fails. Any suggestions?

    "DavidS" wrote:

    > So what should I do regarding the site settings - what would I be looking to
    > change. Basically, the image is ok - since I can preview other ways. Any
    > suggestion here - to me it seems a size issue using the control - images <
    > 128 always preview with control - other won't - but there visible using
    > source code I outlined in other reply.
    >
    > Again, if it's not the control nor image - where do I change site settings -
    > what fields of machine.config or what config file & attributes?
    >
    > "Curt_C [MVP]" wrote:
    >
    > > DavidS wrote:
    > > > I've tried the following <img src="picture.jpg"></img> in HTML - and I get
    > > > red x for image whose size is 226K. If I use <asp:Image Imageurl=> I get
    > > > same issue - red x for this image size.
    > > >

    > >
    > > Ok...this tells us though that it's nothing to do with the <asp:Image
    > > control, its the image or the site settings.
    > >
    > > --
    > > Curt Christianson
    > > site: http://www.darkfalz.com
    > > blog: http://blog.darkfalz.com
    > >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #8
  9. Have you tried viewing this from another computer?
    Also another browser? (like FireFox)

    "DavidS" <> wrote in message
    news:...
    > Basically, any image >= 226KB fails. Any suggestions?
    >
    > "DavidS" wrote:
    >
    >> So what should I do regarding the site settings - what would I be looking
    >> to
    >> change. Basically, the image is ok - since I can preview other ways.
    >> Any
    >> suggestion here - to me it seems a size issue using the control - images
    >> <
    >> 128 always preview with control - other won't - but there visible using
    >> source code I outlined in other reply.
    >>
    >> Again, if it's not the control nor image - where do I change site
    >> settings -
    >> what fields of machine.config or what config file & attributes?
    >>
    >> "Curt_C [MVP]" wrote:
    >>
    >> > DavidS wrote:
    >> > > I've tried the following <img src="picture.jpg"></img> in HTML - and
    >> > > I get
    >> > > red x for image whose size is 226K. If I use <asp:Image Imageurl=> I
    >> > > get
    >> > > same issue - red x for this image size.
    >> > >
    >> >
    >> > Ok...this tells us though that it's nothing to do with the <asp:Image
    >> > control, its the image or the site settings.
    >> >
    >> > --
    >> > Curt Christianson
    >> > site: http://www.darkfalz.com
    >> > blog: http://blog.darkfalz.com
    >> >
     
    Grant Merwitz, Aug 4, 2005
    #9
  10. Using Windows 2000 and Windows XP Professional - only browser I have is IE
    6.0 - and only browser I'd like to use. The image is viewable using Windows
    Explorer always. If I attempt to open using IE 6.0 via File | Open... |
    Browse - the image files with sizes >= 226KB are viewable, but they default
    to Photoeditor in this way.

    Again, web page that I'm developing can preview any image of size < 226KB
    without problems using either <asp:Image> or <Img Src=> etc...

    Any other suggestion? Again, curt suggested maybe it could be setup - I was
    looking @ IIS to see WHERE an issue with the image size being >= 226KB - but
    I didn't find anything.

    Again - all help is greatly appreciated here!

    "Grant Merwitz" wrote:

    > Have you tried viewing this from another computer?
    > Also another browser? (like FireFox)
    >
    > "DavidS" <> wrote in message
    > news:...
    > > Basically, any image >= 226KB fails. Any suggestions?
    > >
    > > "DavidS" wrote:
    > >
    > >> So what should I do regarding the site settings - what would I be looking
    > >> to
    > >> change. Basically, the image is ok - since I can preview other ways.
    > >> Any
    > >> suggestion here - to me it seems a size issue using the control - images
    > >> <
    > >> 128 always preview with control - other won't - but there visible using
    > >> source code I outlined in other reply.
    > >>
    > >> Again, if it's not the control nor image - where do I change site
    > >> settings -
    > >> what fields of machine.config or what config file & attributes?
    > >>
    > >> "Curt_C [MVP]" wrote:
    > >>
    > >> > DavidS wrote:
    > >> > > I've tried the following <img src="picture.jpg"></img> in HTML - and
    > >> > > I get
    > >> > > red x for image whose size is 226K. If I use <asp:Image Imageurl=> I
    > >> > > get
    > >> > > same issue - red x for this image size.
    > >> > >
    > >> >
    > >> > Ok...this tells us though that it's nothing to do with the <asp:Image
    > >> > control, its the image or the site settings.
    > >> >
    > >> > --
    > >> > Curt Christianson
    > >> > site: http://www.darkfalz.com
    > >> > blog: http://blog.darkfalz.com
    > >> >

    >
    >
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #10
  11. What i was trying to determine, is if it was a problem with your IE.
    Maybe a toolbar installed, a setting limiting what images can be displayed
    (i've looked and can't find any), or some internet optimiser thats been
    installed.

    I guess you could just do a Google image search, and find another site with
    an image bigger than 226KB, and see if that is displaying.
    Otherwise, if you just create and HTML file, with a <Img src=> pointing to
    one of your images < 226KB, does it still not display?

    For example, the html file attached just points to an image i found on
    google (this is not a picture of me :))
    Does that work?




    "DavidS" <> wrote in message
    news:...
    > Using Windows 2000 and Windows XP Professional - only browser I have is IE
    > 6.0 - and only browser I'd like to use. The image is viewable using
    > Windows
    > Explorer always. If I attempt to open using IE 6.0 via File | Open... |
    > Browse - the image files with sizes >= 226KB are viewable, but they
    > default
    > to Photoeditor in this way.
    >
    > Again, web page that I'm developing can preview any image of size < 226KB
    > without problems using either <asp:Image> or <Img Src=> etc...
    >
    > Any other suggestion? Again, curt suggested maybe it could be setup - I
    > was
    > looking @ IIS to see WHERE an issue with the image size being >= 226KB -
    > but
    > I didn't find anything.
    >
    > Again - all help is greatly appreciated here!
    >
    > "Grant Merwitz" wrote:
    >
    >> Have you tried viewing this from another computer?
    >> Also another browser? (like FireFox)
    >>
    >> "DavidS" <> wrote in message
    >> news:...
    >> > Basically, any image >= 226KB fails. Any suggestions?
    >> >
    >> > "DavidS" wrote:
    >> >
    >> >> So what should I do regarding the site settings - what would I be
    >> >> looking
    >> >> to
    >> >> change. Basically, the image is ok - since I can preview other ways.
    >> >> Any
    >> >> suggestion here - to me it seems a size issue using the control -
    >> >> images
    >> >> <
    >> >> 128 always preview with control - other won't - but there visible
    >> >> using
    >> >> source code I outlined in other reply.
    >> >>
    >> >> Again, if it's not the control nor image - where do I change site
    >> >> settings -
    >> >> what fields of machine.config or what config file & attributes?
    >> >>
    >> >> "Curt_C [MVP]" wrote:
    >> >>
    >> >> > DavidS wrote:
    >> >> > > I've tried the following <img src="picture.jpg"></img> in HTML -
    >> >> > > and
    >> >> > > I get
    >> >> > > red x for image whose size is 226K. If I use <asp:Image
    >> >> > > Imageurl=> I
    >> >> > > get
    >> >> > > same issue - red x for this image size.
    >> >> > >
    >> >> >
    >> >> > Ok...this tells us though that it's nothing to do with the
    >> >> > <asp:Image
    >> >> > control, its the image or the site settings.
    >> >> >
    >> >> > --
    >> >> > Curt Christianson
    >> >> > site: http://www.darkfalz.com
    >> >> > blog: http://blog.darkfalz.com
    >> >> >

    >>
    >>
    >>
     
    Grant Merwitz, Aug 4, 2005
    #11
  12. I've taken your advice and tried another image - image size was 1935KB - and
    it opened properly using <asp:Image>.

    Basically, I have some images that won't load properly. Since I didn't
    create them - someone created these - and I suspect now the manner in which
    they created them is the issue. Individuals using digital camera are for the
    most part computer illiterate - I noticed that when I right click on the "Red
    X - means the image isn't uploaded" - basically, it's showing Type - Not
    Available, and Size - Not Available. What would cause this. What should I
    look for with the way they created these images - again, what's puzzling is
    they still load with Photo-Editor but not web page loads. Why the difference?

    "Grant Merwitz" wrote:

    > What i was trying to determine, is if it was a problem with your IE.
    > Maybe a toolbar installed, a setting limiting what images can be displayed
    > (i've looked and can't find any), or some internet optimiser thats been
    > installed.
    >
    > I guess you could just do a Google image search, and find another site with
    > an image bigger than 226KB, and see if that is displaying.
    > Otherwise, if you just create and HTML file, with a <Img src=> pointing to
    > one of your images < 226KB, does it still not display?
    >
    > For example, the html file attached just points to an image i found on
    > google (this is not a picture of me :))
    > Does that work?
    >
    >
    >
    >
    > "DavidS" <> wrote in message
    > news:...
    > > Using Windows 2000 and Windows XP Professional - only browser I have is IE
    > > 6.0 - and only browser I'd like to use. The image is viewable using
    > > Windows
    > > Explorer always. If I attempt to open using IE 6.0 via File | Open... |
    > > Browse - the image files with sizes >= 226KB are viewable, but they
    > > default
    > > to Photoeditor in this way.
    > >
    > > Again, web page that I'm developing can preview any image of size < 226KB
    > > without problems using either <asp:Image> or <Img Src=> etc...
    > >
    > > Any other suggestion? Again, curt suggested maybe it could be setup - I
    > > was
    > > looking @ IIS to see WHERE an issue with the image size being >= 226KB -
    > > but
    > > I didn't find anything.
    > >
    > > Again - all help is greatly appreciated here!
    > >
    > > "Grant Merwitz" wrote:
    > >
    > >> Have you tried viewing this from another computer?
    > >> Also another browser? (like FireFox)
    > >>
    > >> "DavidS" <> wrote in message
    > >> news:...
    > >> > Basically, any image >= 226KB fails. Any suggestions?
    > >> >
    > >> > "DavidS" wrote:
    > >> >
    > >> >> So what should I do regarding the site settings - what would I be
    > >> >> looking
    > >> >> to
    > >> >> change. Basically, the image is ok - since I can preview other ways.
    > >> >> Any
    > >> >> suggestion here - to me it seems a size issue using the control -
    > >> >> images
    > >> >> <
    > >> >> 128 always preview with control - other won't - but there visible
    > >> >> using
    > >> >> source code I outlined in other reply.
    > >> >>
    > >> >> Again, if it's not the control nor image - where do I change site
    > >> >> settings -
    > >> >> what fields of machine.config or what config file & attributes?
    > >> >>
    > >> >> "Curt_C [MVP]" wrote:
    > >> >>
    > >> >> > DavidS wrote:
    > >> >> > > I've tried the following <img src="picture.jpg"></img> in HTML -
    > >> >> > > and
    > >> >> > > I get
    > >> >> > > red x for image whose size is 226K. If I use <asp:Image
    > >> >> > > Imageurl=> I
    > >> >> > > get
    > >> >> > > same issue - red x for this image size.
    > >> >> > >
    > >> >> >
    > >> >> > Ok...this tells us though that it's nothing to do with the
    > >> >> > <asp:Image
    > >> >> > control, its the image or the site settings.
    > >> >> >
    > >> >> > --
    > >> >> > Curt Christianson
    > >> >> > site: http://www.darkfalz.com
    > >> >> > blog: http://blog.darkfalz.com
    > >> >> >
    > >>
    > >>
    > >>

    >
    >
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #12
  13. sounds like your getting somewhere.

    What format are they?

    Maybe its a format that IE doesn't support, but the photo editor can open.
    Or maybe they were corrupted when they were uploaded.

    "DavidS" <> wrote in message
    news:...
    > I've taken your advice and tried another image - image size was 1935KB -
    > and
    > it opened properly using <asp:Image>.
    >
    > Basically, I have some images that won't load properly. Since I didn't
    > create them - someone created these - and I suspect now the manner in
    > which
    > they created them is the issue. Individuals using digital camera are for
    > the
    > most part computer illiterate - I noticed that when I right click on the
    > "Red
    > X - means the image isn't uploaded" - basically, it's showing Type - Not
    > Available, and Size - Not Available. What would cause this. What should
    > I
    > look for with the way they created these images - again, what's puzzling
    > is
    > they still load with Photo-Editor but not web page loads. Why the
    > difference?
    >
    > "Grant Merwitz" wrote:
    >
    >> What i was trying to determine, is if it was a problem with your IE.
    >> Maybe a toolbar installed, a setting limiting what images can be
    >> displayed
    >> (i've looked and can't find any), or some internet optimiser thats been
    >> installed.
    >>
    >> I guess you could just do a Google image search, and find another site
    >> with
    >> an image bigger than 226KB, and see if that is displaying.
    >> Otherwise, if you just create and HTML file, with a <Img src=> pointing
    >> to
    >> one of your images < 226KB, does it still not display?
    >>
    >> For example, the html file attached just points to an image i found on
    >> google (this is not a picture of me :))
    >> Does that work?
    >>
    >>
    >>
    >>
    >> "DavidS" <> wrote in message
    >> news:...
    >> > Using Windows 2000 and Windows XP Professional - only browser I have is
    >> > IE
    >> > 6.0 - and only browser I'd like to use. The image is viewable using
    >> > Windows
    >> > Explorer always. If I attempt to open using IE 6.0 via File | Open...
    >> > |
    >> > Browse - the image files with sizes >= 226KB are viewable, but they
    >> > default
    >> > to Photoeditor in this way.
    >> >
    >> > Again, web page that I'm developing can preview any image of size <
    >> > 226KB
    >> > without problems using either <asp:Image> or <Img Src=> etc...
    >> >
    >> > Any other suggestion? Again, curt suggested maybe it could be setup -
    >> > I
    >> > was
    >> > looking @ IIS to see WHERE an issue with the image size being >=
    >> > 226KB -
    >> > but
    >> > I didn't find anything.
    >> >
    >> > Again - all help is greatly appreciated here!
    >> >
    >> > "Grant Merwitz" wrote:
    >> >
    >> >> Have you tried viewing this from another computer?
    >> >> Also another browser? (like FireFox)
    >> >>
    >> >> "DavidS" <> wrote in message
    >> >> news:...
    >> >> > Basically, any image >= 226KB fails. Any suggestions?
    >> >> >
    >> >> > "DavidS" wrote:
    >> >> >
    >> >> >> So what should I do regarding the site settings - what would I be
    >> >> >> looking
    >> >> >> to
    >> >> >> change. Basically, the image is ok - since I can preview other
    >> >> >> ways.
    >> >> >> Any
    >> >> >> suggestion here - to me it seems a size issue using the control -
    >> >> >> images
    >> >> >> <
    >> >> >> 128 always preview with control - other won't - but there visible
    >> >> >> using
    >> >> >> source code I outlined in other reply.
    >> >> >>
    >> >> >> Again, if it's not the control nor image - where do I change site
    >> >> >> settings -
    >> >> >> what fields of machine.config or what config file & attributes?
    >> >> >>
    >> >> >> "Curt_C [MVP]" wrote:
    >> >> >>
    >> >> >> > DavidS wrote:
    >> >> >> > > I've tried the following <img src="picture.jpg"></img> in
    >> >> >> > > HTML -
    >> >> >> > > and
    >> >> >> > > I get
    >> >> >> > > red x for image whose size is 226K. If I use <asp:Image
    >> >> >> > > Imageurl=> I
    >> >> >> > > get
    >> >> >> > > same issue - red x for this image size.
    >> >> >> > >
    >> >> >> >
    >> >> >> > Ok...this tells us though that it's nothing to do with the
    >> >> >> > <asp:Image
    >> >> >> > control, its the image or the site settings.
    >> >> >> >
    >> >> >> > --
    >> >> >> > Curt Christianson
    >> >> >> > site: http://www.darkfalz.com
    >> >> >> > blog: http://blog.darkfalz.com
    >> >> >> >
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>
     
    Grant Merwitz, Aug 4, 2005
    #13
  14. I might have a work around. I can do the following with bad images -

    Dim BitObj As Bitmap = New Bitmap("\\...\...\Photos\" & "xxx-xx-xxxx" &
    ".jpg" )
    BitObj.Save( "\\...\...\Photos\xxx-xx-xxxx_clean.jpg",
    System.Drawing.Imaging.ImageFormat.Jpeg ) - IF I CAN DETECT A BAD IMAGE!

    Only question is - I'd like to do this when I find a red x - image that
    can't be uploaded - is there any way to error trap an image to see if it can
    be viewed in IE - that is, if I could do this - then I could use feature
    above to give me clean view of reformatted image - I've verified that the
    ..Save(...) feature will work on these bad images files - and gives a clean
    format that can be viewed.

    Any suggestions?

    "Grant Merwitz" wrote:

    > sounds like your getting somewhere.
    >
    > What format are they?
    >
    > Maybe its a format that IE doesn't support, but the photo editor can open.
    > Or maybe they were corrupted when they were uploaded.
    >
    > "DavidS" <> wrote in message
    > news:...
    > > I've taken your advice and tried another image - image size was 1935KB -
    > > and
    > > it opened properly using <asp:Image>.
    > >
    > > Basically, I have some images that won't load properly. Since I didn't
    > > create them - someone created these - and I suspect now the manner in
    > > which
    > > they created them is the issue. Individuals using digital camera are for
    > > the
    > > most part computer illiterate - I noticed that when I right click on the
    > > "Red
    > > X - means the image isn't uploaded" - basically, it's showing Type - Not
    > > Available, and Size - Not Available. What would cause this. What should
    > > I
    > > look for with the way they created these images - again, what's puzzling
    > > is
    > > they still load with Photo-Editor but not web page loads. Why the
    > > difference?
    > >
    > > "Grant Merwitz" wrote:
    > >
    > >> What i was trying to determine, is if it was a problem with your IE.
    > >> Maybe a toolbar installed, a setting limiting what images can be
    > >> displayed
    > >> (i've looked and can't find any), or some internet optimiser thats been
    > >> installed.
    > >>
    > >> I guess you could just do a Google image search, and find another site
    > >> with
    > >> an image bigger than 226KB, and see if that is displaying.
    > >> Otherwise, if you just create and HTML file, with a <Img src=> pointing
    > >> to
    > >> one of your images < 226KB, does it still not display?
    > >>
    > >> For example, the html file attached just points to an image i found on
    > >> google (this is not a picture of me :))
    > >> Does that work?
    > >>
    > >>
    > >>
    > >>
    > >> "DavidS" <> wrote in message
    > >> news:...
    > >> > Using Windows 2000 and Windows XP Professional - only browser I have is
    > >> > IE
    > >> > 6.0 - and only browser I'd like to use. The image is viewable using
    > >> > Windows
    > >> > Explorer always. If I attempt to open using IE 6.0 via File | Open...
    > >> > |
    > >> > Browse - the image files with sizes >= 226KB are viewable, but they
    > >> > default
    > >> > to Photoeditor in this way.
    > >> >
    > >> > Again, web page that I'm developing can preview any image of size <
    > >> > 226KB
    > >> > without problems using either <asp:Image> or <Img Src=> etc...
    > >> >
    > >> > Any other suggestion? Again, curt suggested maybe it could be setup -
    > >> > I
    > >> > was
    > >> > looking @ IIS to see WHERE an issue with the image size being >=
    > >> > 226KB -
    > >> > but
    > >> > I didn't find anything.
    > >> >
    > >> > Again - all help is greatly appreciated here!
    > >> >
    > >> > "Grant Merwitz" wrote:
    > >> >
    > >> >> Have you tried viewing this from another computer?
    > >> >> Also another browser? (like FireFox)
    > >> >>
    > >> >> "DavidS" <> wrote in message
    > >> >> news:...
    > >> >> > Basically, any image >= 226KB fails. Any suggestions?
    > >> >> >
    > >> >> > "DavidS" wrote:
    > >> >> >
    > >> >> >> So what should I do regarding the site settings - what would I be
    > >> >> >> looking
    > >> >> >> to
    > >> >> >> change. Basically, the image is ok - since I can preview other
    > >> >> >> ways.
    > >> >> >> Any
    > >> >> >> suggestion here - to me it seems a size issue using the control -
    > >> >> >> images
    > >> >> >> <
    > >> >> >> 128 always preview with control - other won't - but there visible
    > >> >> >> using
    > >> >> >> source code I outlined in other reply.
    > >> >> >>
    > >> >> >> Again, if it's not the control nor image - where do I change site
    > >> >> >> settings -
    > >> >> >> what fields of machine.config or what config file & attributes?
    > >> >> >>
    > >> >> >> "Curt_C [MVP]" wrote:
    > >> >> >>
    > >> >> >> > DavidS wrote:
    > >> >> >> > > I've tried the following <img src="picture.jpg"></img> in
    > >> >> >> > > HTML -
    > >> >> >> > > and
    > >> >> >> > > I get
    > >> >> >> > > red x for image whose size is 226K. If I use <asp:Image
    > >> >> >> > > Imageurl=> I
    > >> >> >> > > get
    > >> >> >> > > same issue - red x for this image size.
    > >> >> >> > >
    > >> >> >> >
    > >> >> >> > Ok...this tells us though that it's nothing to do with the
    > >> >> >> > <asp:Image
    > >> >> >> > control, its the image or the site settings.
    > >> >> >> >
    > >> >> >> > --
    > >> >> >> > Curt Christianson
    > >> >> >> > site: http://www.darkfalz.com
    > >> >> >> > blog: http://blog.darkfalz.com
    > >> >> >> >
    > >> >>
    > >> >>
    > >> >>
    > >>
    > >>
    > >>

    >
    >
    >
     
    =?Utf-8?B?RGF2aWRT?=, Aug 4, 2005
    #14
  15. not from me.

    But sounds like it deserves a new post.


    "DavidS" <> wrote in message
    news:...
    >I might have a work around. I can do the following with bad images -
    >
    > Dim BitObj As Bitmap = New Bitmap("\\...\...\Photos\" & "xxx-xx-xxxx" &
    > ".jpg" )
    > BitObj.Save( "\\...\...\Photos\xxx-xx-xxxx_clean.jpg",
    > System.Drawing.Imaging.ImageFormat.Jpeg ) - IF I CAN DETECT A BAD IMAGE!
    >
    > Only question is - I'd like to do this when I find a red x - image that
    > can't be uploaded - is there any way to error trap an image to see if it
    > can
    > be viewed in IE - that is, if I could do this - then I could use feature
    > above to give me clean view of reformatted image - I've verified that the
    > .Save(...) feature will work on these bad images files - and gives a clean
    > format that can be viewed.
    >
    > Any suggestions?
    >
    > "Grant Merwitz" wrote:
    >
    >> sounds like your getting somewhere.
    >>
    >> What format are they?
    >>
    >> Maybe its a format that IE doesn't support, but the photo editor can
    >> open.
    >> Or maybe they were corrupted when they were uploaded.
    >>
    >> "DavidS" <> wrote in message
    >> news:...
    >> > I've taken your advice and tried another image - image size was
    >> > 1935KB -
    >> > and
    >> > it opened properly using <asp:Image>.
    >> >
    >> > Basically, I have some images that won't load properly. Since I didn't
    >> > create them - someone created these - and I suspect now the manner in
    >> > which
    >> > they created them is the issue. Individuals using digital camera are
    >> > for
    >> > the
    >> > most part computer illiterate - I noticed that when I right click on
    >> > the
    >> > "Red
    >> > X - means the image isn't uploaded" - basically, it's showing Type -
    >> > Not
    >> > Available, and Size - Not Available. What would cause this. What
    >> > should
    >> > I
    >> > look for with the way they created these images - again, what's
    >> > puzzling
    >> > is
    >> > they still load with Photo-Editor but not web page loads. Why the
    >> > difference?
    >> >
    >> > "Grant Merwitz" wrote:
    >> >
    >> >> What i was trying to determine, is if it was a problem with your IE.
    >> >> Maybe a toolbar installed, a setting limiting what images can be
    >> >> displayed
    >> >> (i've looked and can't find any), or some internet optimiser thats
    >> >> been
    >> >> installed.
    >> >>
    >> >> I guess you could just do a Google image search, and find another site
    >> >> with
    >> >> an image bigger than 226KB, and see if that is displaying.
    >> >> Otherwise, if you just create and HTML file, with a <Img src=>
    >> >> pointing
    >> >> to
    >> >> one of your images < 226KB, does it still not display?
    >> >>
    >> >> For example, the html file attached just points to an image i found on
    >> >> google (this is not a picture of me :))
    >> >> Does that work?
    >> >>
    >> >>
    >> >>
    >> >>
    >> >> "DavidS" <> wrote in message
    >> >> news:...
    >> >> > Using Windows 2000 and Windows XP Professional - only browser I have
    >> >> > is
    >> >> > IE
    >> >> > 6.0 - and only browser I'd like to use. The image is viewable using
    >> >> > Windows
    >> >> > Explorer always. If I attempt to open using IE 6.0 via File |
    >> >> > Open...
    >> >> > |
    >> >> > Browse - the image files with sizes >= 226KB are viewable, but they
    >> >> > default
    >> >> > to Photoeditor in this way.
    >> >> >
    >> >> > Again, web page that I'm developing can preview any image of size <
    >> >> > 226KB
    >> >> > without problems using either <asp:Image> or <Img Src=> etc...
    >> >> >
    >> >> > Any other suggestion? Again, curt suggested maybe it could be
    >> >> > setup -
    >> >> > I
    >> >> > was
    >> >> > looking @ IIS to see WHERE an issue with the image size being >=
    >> >> > 226KB -
    >> >> > but
    >> >> > I didn't find anything.
    >> >> >
    >> >> > Again - all help is greatly appreciated here!
    >> >> >
    >> >> > "Grant Merwitz" wrote:
    >> >> >
    >> >> >> Have you tried viewing this from another computer?
    >> >> >> Also another browser? (like FireFox)
    >> >> >>
    >> >> >> "DavidS" <> wrote in message
    >> >> >> news:...
    >> >> >> > Basically, any image >= 226KB fails. Any suggestions?
    >> >> >> >
    >> >> >> > "DavidS" wrote:
    >> >> >> >
    >> >> >> >> So what should I do regarding the site settings - what would I
    >> >> >> >> be
    >> >> >> >> looking
    >> >> >> >> to
    >> >> >> >> change. Basically, the image is ok - since I can preview other
    >> >> >> >> ways.
    >> >> >> >> Any
    >> >> >> >> suggestion here - to me it seems a size issue using the
    >> >> >> >> control -
    >> >> >> >> images
    >> >> >> >> <
    >> >> >> >> 128 always preview with control - other won't - but there
    >> >> >> >> visible
    >> >> >> >> using
    >> >> >> >> source code I outlined in other reply.
    >> >> >> >>
    >> >> >> >> Again, if it's not the control nor image - where do I change
    >> >> >> >> site
    >> >> >> >> settings -
    >> >> >> >> what fields of machine.config or what config file & attributes?
    >> >> >> >>
    >> >> >> >> "Curt_C [MVP]" wrote:
    >> >> >> >>
    >> >> >> >> > DavidS wrote:
    >> >> >> >> > > I've tried the following <img src="picture.jpg"></img> in
    >> >> >> >> > > HTML -
    >> >> >> >> > > and
    >> >> >> >> > > I get
    >> >> >> >> > > red x for image whose size is 226K. If I use <asp:Image
    >> >> >> >> > > Imageurl=> I
    >> >> >> >> > > get
    >> >> >> >> > > same issue - red x for this image size.
    >> >> >> >> > >
    >> >> >> >> >
    >> >> >> >> > Ok...this tells us though that it's nothing to do with the
    >> >> >> >> > <asp:Image
    >> >> >> >> > control, its the image or the site settings.
    >> >> >> >> >
    >> >> >> >> > --
    >> >> >> >> > Curt Christianson
    >> >> >> >> > site: http://www.darkfalz.com
    >> >> >> >> > blog: http://blog.darkfalz.com
    >> >> >> >> >
    >> >> >>
    >> >> >>
    >> >> >>
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>
     
    Grant Merwitz, Aug 5, 2005
    #15
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. blenderdude
    Replies:
    0
    Views:
    1,043
    blenderdude
    Aug 3, 2003
  2. Jason Shohet
    Replies:
    1
    Views:
    339
    Jason Shohet
    Jun 17, 2004
  3. Patrick_

    Code Complete: 1st or 2nd Edition?

    Patrick_, Dec 17, 2005, in forum: C Programming
    Replies:
    0
    Views:
    432
    Patrick_
    Dec 17, 2005
  4. davidj411
    Replies:
    1
    Views:
    1,053
    Mike Driscoll
    May 27, 2008
  5. Replies:
    2
    Views:
    563
Loading...

Share This Page