470,810 Members | 866 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

Using ASPThumb and Sending Back from a Function/Sub


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.ShowProductThumbnail(Container.DataIte m("Filename"))%>"
alt="<%#Container.DataItem("Title")%>" />

Shared Function ShowProductThumbnail(ByVal strFileName As String)
As Image
Dim ProductThumb As Object
ProductThumb = CreateObject("briz.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.Send
End Function

Any help would be awesome to try and get this to work!
Oct 22 '08 #1
0 922

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by designsimply | last post: by
10 posts views Thread by Gregory A Greenman | last post: by
8 posts views Thread by Philippe Lang | last post: by
14 posts views Thread by jcage | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.