Client Login Area
Main Menu
Results 1 to 3 of 3

Thread: How to use the aspgrid, aspjpeg....components

  1. #1
    Verified Community Member
    Join Date
    January 17, 2008

    Default How to use the aspgrid, aspjpeg....components

    In the shared web hosting plans aspnix offers several components.
    How can we use them?

  2. #2
    ASPnix Administration Roma's Avatar
    Join Date
    June 27, 2005
    Denver, CO

    Default Re: How to use the aspgrid, aspjpeg....components

    <P mce_keep="true">We don't have our own how-to yet. All you need to do is search online for the component you want to use. there are a lot of manuals on the sites of these components.</P>
    <P mce_keep="true"><SPAN class=a><FONT color=#008000></FONT></SPAN></P>
    <P mce_keep="true"><SPAN class=a><SPAN class=a><FONT color=#008000></FONT></SPAN></SPAN></P>
    <P mce_keep="true"><SPAN class=a><SPAN class=a><SPAN class=a><FONT color=#008000> </FONT></SPAN></SPAN></SPAN></P>
    Friendly ASPnix Administrator

    ASPnix on Facebook

  3. #3
    ASPnix Administration Chris's Avatar
    Join Date
    October 11, 2008
    Denver, Colorado

    Default Re: How to use the aspgrid, aspjpeg....components

    <P mce_keep="true">Been a bit since I did any ASP work and anything with the Persists ASP Components, but if memory serves me correct using the ASPJpeg component is like</P>
    <P mce_keep="true"></P>
    <TABLE class="">
    <TD class=VBScript class="VBScript">&lt;%
    ' Create ASPJpeg instance
    SetaspJpeg = Server.CreateObject("Persits.Jpeg")

    ' Read in the source image
    aspJpeg.Open "c:\domains\\wwwroot\yourimage.j pg"

    ' Resize jpeg and preserve the Height ratio
    aspJpeg.Width = 100
    aspJpeg.Height = aspJpeg.OriginalHeight *100 / aspJpeg.OriginalWidth

    ' create thumbnail and save
    aspJpeg.Save "c:\domains\\wwwroot\yourimagethumb. jpg"

    Christopher York
    ASPnix Administration Team

Posting Permissions

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