|
ImageThumbNailer
11/4/2003 2:02:34 PM
(Total replies: 1)
|
| I do not see the image from the DataSet - I am using Charon cart, and wish to display the image in the details page - everything connected OK, Dreamweaver wrote the correct code, and had no problems? The image still did not show. I copied the DLL to the bin directory, and have the .aspx page in the root directory, but nothing shows?
Malcolm |
|
|
|
Re: ImageThumbNailer
11/6/2003 8:43:09 PM
(Total replies: 1)
|
| Jules:
In the Shopping cart = which now contains the correct reference to the image I placed the following code:
<asp:TemplateColumn HeaderText="Photograph" Visible="True">
<ItemTemplate>
<CharonThumbnailer:Thumbnailer id="tn1" runat="server" ImageToThumbnail='<%# "images/" + Container.DataItem,("Image", Container) %>' ThumbnailHeight="150" ThumbnailWidth="150"/>
</ItemTemplate>
</asp:TemplateColumn>
I keep getting the following error message:
Compiler Error Message: ... |
|
|
|
|
|
|
Re: ImageThumbNailer
11/6/2003 9:04:19 PM
(Total replies: 1)
|
| Jules:
As usual, after a few tries here is what works for me:
<asp:TemplateColumn HeaderText="Photograph">
<ItemTemplate>
<asp:HyperLink id="HyperLink3" runat="server"><CharonThumbnailer:Thumbnailer id="tn1" runat="server" ImageToThumbnail='<%# "images/" + DataBinder.Eval(Container.DataItem,("Image")) %>' ThumbnailHeight="50" ThumbnailWidth="50"/>
</asp:HyperLink>
.......
Forgot the Databind Eval stuff, rookie mistake for a vet to make!!! I modified ... |
|
|
|
Re: ImageThumbNailer
11/4/2003 2:25:50 PM
(Total replies: 1)
|
| My Fault:
Jules - it seems the Cart product has the images folder pre-appended to it, the ImageThumbNailer does not - a simple edit with the "images/" prefix fixed the problem.
Sorry for the lack of QA on my part.
Malcolm |
|
|
|
Re: ImageThumbNailer
12/21/2003 10:55:12 AM
(Total replies: 1)
|
| Jules - after a very serious system crash - my HD is totally trashed and unrecoverable - could you emaiul me the thumbnail files again please... My Cart is OK, I backed it up to CD.
Mal. |
|
|
|
Re: DreamWeaver 2004 Script issues
11/5/2003 2:34:46 PM
(Total replies: 1)
|
| It was a JavaScript error, I will look further into it, but I have to get this site out, and it may be a few days. |
|
|
|
Re: DreamWeaver 2004 Script issues
11/9/2003 12:10:20 PM
(Total replies: 1)
|
| Jules:
The error occurs when the Application tab is selected, i.e. I want to edit a connection, or query, Server Binding etc... The error states that a "JavaScript Error has occurred in Connections.htm" and then the system shuts down on me.
|
|
|
|
Re: DreamWeaver 2004 Script issues
11/9/2003 1:39:51 PM
(Total replies: 1)
|
| It happens as soon as DW2004 opens up the Applications tab - the Connections.htm file which is part of DW2004 - I think it may have been corrupted on my system - It seems to do it for all the sites now. I will re-install, and see what happens. |
|
|
|
Re: DreamWeaver 2004 Script issues
11/16/2003 5:19:48 PM
(Total replies: 1)
|
| Jules:
It was a corrupted connection.htm file, I reinstalled and everything works OK now. You may want to let people know that DWMX2004 does mark some of the sourcecode incorrectly - i.e. the <cart:... tags and other tags are not recognized - but they work fine - probably just a setting for the aspx stuff. |
|