December 22, 200421 yr I have downloaded the FX.php folder and the database works fine with the text fields. My problem however involves displaying images. They do not show up in the examples provided with FX.php. I've looked at the source code briefly and have also viewed the source of the resulting webpage. PHP source for the image tag <img src="image_proxy.php?FXimage=<?php echo vignereEncryptURL($BookData['data'][$currentKey]['cover_art'][0]); ?>"> HTML source for the image tag <img src="image_proxy.php?FXimage=%89%C7%FF%94%E7%A8OBF%5D%A5N%F0%D1%C2%80%DF%92%FB%5B%7D%86%BCr3%7BM%E8Z%7E%80S%88%C9H%3F%9C%7DY3%7B%7F%832M%B5%27%8A"> I am currently testing this solution on my mac using localhost (FM6, OS x 10.2.8) The rest of the database works great. The images just don't show up. any thoughts?
December 23, 200421 yr Author well I'm unsure why but I created a new FM database, added a container field, added an image to the field and reconfigured the PHP file and the images showed up. I still can't get their example database to show images however. hmmm :confused:
January 26, 200521 yr If you find out more information on this please let us know. Is there a simpler way to display images from a container field in PHP?
January 26, 200521 yr Are you "including" the image_proxy.php file, e.g.: include_once($_SERVER['DOCUMENT_ROOT'] . "/FX/image_proxy.php"); You may be able to check any problems by using your system Console to list the httpd errors log. Good Luck. Garry
January 31, 200521 yr I found the answer... not very clear - but read the comments in the 'image_proxy.php' file and it says you should access 'echo_new_key.php' once to get a new security key to encrypt the images. I did this - pasted it into the 'image_proxy.php' file and like magic the images from the example showed up. My head still hurts from banging it against the wall for a few days - but the lesson is 'read the notes'.
Create an account or sign in to comment