Jump to content

This topic is 7306 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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:

  • 1 month later...
Posted

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

Posted

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'.

This topic is 7306 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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.