rivet Posted January 27, 2005 Posted January 27, 2005 I thought a good place to start with xml would be to convert on e of the old CDML solutions that came with FMP5. So I took the employee example and converted it. For the most part it works, but none of the icons that sit in a folder call IMAGES load here is the conde search.xsl?-db=Employees&-lay=Detail&-view
RoadrunnerRay Posted January 27, 2005 Posted January 27, 2005 rivet, I am having a similar problem at the moment. Page-45 of the Custom Web Publishing Guide under "Using Filemaker XSLT stylesheets in a web site or program" #2, states: "If your XSLT stylesheets reference static files, such as static images or HTML files, place the static files in their original folder hierarchy within the root folder on the web server. Make sure the relative path is preserved. For example, suppose an XSLT stylesheet references an image file called logo.jpg by using the HTML tag "img src="logo.jpg"". the logo.jpg file must be located in the following location on the web server: <root folder>/fmi/xsl/logo.jpg" I have not had the time to test this out yet, but will work on it tommorow. RaodrunnerRay
mlindal Posted January 31, 2005 Posted January 31, 2005 I used the cdml converter and got this in xml: <-img alt="cover" width="134" align="right" hspace="8" vspace="5"><-xsl:attribute name="src"><-xsl:call-template name="get-image"><-xsl:with-param name="fieldname" select="'CoverImage'"/><-xsl:with-param name="recid" select="$default-record/@record-id"/><-/xsl:call-template><-/xsl:attribute><-/img-> (note take out the '-' after each '<')
sec39 Posted February 10, 2005 Posted February 10, 2005 Can someone explain to me what this means: For example, suppose an XSLT stylesheet references an image file called logo.jpg by using the HTML tag "img src="logo.jpg"". the logo.jpg file must be located in the following location on the web server: /fmi/xsl/logo.jpg" what defines the root folder? i've tried putting the image files everywhere with no luck.
RoadrunnerRay Posted February 28, 2005 Posted February 28, 2005 For anyone continuing to have a problem with static images not displaying, be sure that the group permissions for the image file match those of the XSL file and that read/write is specified..........
Recommended Posts
This topic is 7206 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now