Using ASPThumb and Sending Back from a Function/Sub

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MU

    Using ASPThumb and Sending Back from a Function/Sub

    Hello

    I have a Repeater Control and I have an image in there where I am
    passing the FileName from the dataset to a Shared Function/Sub in a
    class which has ASPThumb in there to send back the binary(?) I'm
    assuming as it has a method called .Send

    However, I'm not sure how to go about it.

    Repeater Control statement
    <img src="images/photos/<
    %#ClassName.Sho wProductThumbna il(Container.Da taItem("Filenam e"))%>"
    alt="<%#Contain er.DataItem("Ti tle")%>" />

    Class
    Shared Function ShowProductThum bnail(ByVal strFileName As String)
    As Image
    Dim ProductThumb As Object
    ProductThumb = CreateObject("b riz.AspThumb")
    Some code here for opening the file, don't need help with
    that, more the .Send and how to use it in a class
    Return ProductThumb.Se nd
    End Function

    Any help would be awesome to try and get this to work!
    Thanks
    MU
Working...