Futurama56 Posted June 21, 2003 Posted June 21, 2003 I can browse my database and view images online using the [FMP-Image:Picture] tag, but the problem is not all of the records have pictures. When they dont have pictures i get nothing but a space where the pic is suppost to be and an x on top, ie picture not found. This is understandable but I would like a way to put a generic image that says something like "No Picture" rather than having this nasty looking box with an x on top of it. Any ideas?
Anatoli Posted June 21, 2003 Posted June 21, 2003 You can use IF and check for field if is empty or not. Much faster is to server pictures *not* from FM but from picture directory by normal web server.
Futurama56 Posted June 21, 2003 Author Posted June 21, 2003 Can I convert all my pics that are already in FM to a picture directory, and then link them? this sounds kind of complicated I know. And can I have ure aim name so I talk to u when I have problems? mine is gotroot382
Unable Posted June 21, 2003 Posted June 21, 2003 Look in the Sample Files forum for the example of images on the web.
Leb i Sol Posted June 23, 2003 Posted June 23, 2003 something like this to represent image "existance" with a little icons and then link the "Results" to the Deatils.html where you could have the actual image along with the rest of the info: ---------------------- [FMP-record] [FMP-If: image_field.eq.] <img src="/images/imageNO.gif" width="18" height="18" border="0"> [FMP-Else] <img src="/images/imageOK.gif" width="18" height="18" border="0"> [/FMP-If] <a href="[FMP-LinkRecID: format=Details.html, layout=WEB]"> [FMP-field: Some_record_field] </a> [/FMP-record] -------------------- this way I get the results and know that record has an image or not but you do not have to load all the images (of various sizes) to get your resluts to show not create the "thumbs" of them.....it also speeds up the load of "Results.html" page! All the best!
Recommended Posts
This topic is 7893 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