mlindal Posted January 27, 2005 Share Posted January 27, 2005 Simple question and hopefully simple answer: In PHP what is the code to display an image from a container field? Ie) in CDML: <img src="[FMP-Image:CoverImage]"> In PHP using FM5/6 you can use: <img src="http://localhost:591/FMPro?-db=publcations.fp5&-recid=<?php echo $recid; ?>&Coverimage=&-img"> But that won't work in FM7 In FX.php there appears to be a convoluted way to do it in a secure way. But all I want to know is the very basic simple was to do it using PHP code. Who can answer this? Link to comment Share on other sites More sharing options...
This topic is 6627 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 account
Already have an account? Sign in here.Sign In Now