Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Nov 2007
    Posts
    680
    Thanks
    319
    Thanked 1 Time in 1 Post

    Rotate and Resize

    Hey, how would I go about rotating an image in ASP, and also resizing it to create thumbnails?

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,157
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    You can't do it in ASP (can in ASP.NET) without finding an ActiveX DLL that does it.

    Depending on who your ISP is, you might find that one comes with your hosting package. (I use GoDaddy, and AspJpeg--a fine component!--comes with the hosting.)
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    martynball (07-01-2013)

  • #3
    Regular Coder
    Join Date
    Nov 2007
    Posts
    680
    Thanks
    319
    Thanked 1 Time in 1 Post
    What i'm coding runs locally on my laptop and will on multiple laptops. So I can install anything I need. Is ASP.NET enabled which I enable ASP Classic with IIS?

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,157
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    ASP.NET is enabled in IIS 7 by default.

    So yes, you could make an ASP.NET page just to do the image manipulation and mix it with your ASP pages. One warning: Session variables don't transfer from ASP to ASP.NET, so you'd have to find another way to pass information. <form> posts can, of course. And you could certainly use AJAX or server-side equivalent.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    martynball (07-01-2013)

  • #5
    Regular Coder
    Join Date
    Nov 2007
    Posts
    680
    Thanks
    319
    Thanked 1 Time in 1 Post
    Thanks, ive not been using session variables as they act funny in HTA files, also can't reload the HTA with different pages so I have been using AJAX for the entire thing to load pages.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •