Problem displaying an image from a form in html view

Problem displaying an image from a form in html view

I'm new to Zoho, new to deluge, and new to html...but muddling through. I'm playing around with a form ("Master Database Configuration") that contains several fields. The relevant fields are "Parameter_Name" (string field) and "Value_Image" (image field). In an html view, I am trying to display the image that matches the record that contains Parameter_Name = "Logo1".

I've attached a snippet of code below. Near the end of the code, you can see where I'm specifically referencing the filename in the URL...that works. However, I can't figure out how to use a variable to reference the image. Can anyone spot my errors here and point me in the right direction?

  1. htmlpage Print_Service_Worksheet(WorksheetNumber)
    displayname = "Print Service Worksheet"
    content
    <%{
        //convert from string to long int
        WrkshtNmbr = input.WorksheetNumber.toLong();
        //get the record matching the worksheet specified in WorksheetNumber
        Worksheet_Record  =  Service_Worksheet  [Worksheet_Number == WrkshtNmbr];
        //get the record with the company logo image
        Config  =  Master_Database_Configuration  [Parameter_Name == "Logo1"];
        %>

    //following line works
    <div>TEST2:<img src="https://creatorexport.zoho.com/<%=zoho.appuri%>/Master_Database_Configuration/Value_Image/download/1341184931509_Logo2.bmp"</div>

    //following line doesn't work
    <div>TEST3:<img src="https://creatorexport.zoho.com/<%=zoho.appuri%>/Master_Database_Configuration/Value_Image/download/<%=Config.Value_Image%>"</div>

    <%}%>