October 12, 200520 yr Hi I am facing problem when accessing image from FileMaker Database. First of all my software specifications: Filemaker Server Advanced 7 (FileMaker 8 DB Hosted) PHP Version: 4.3.3 FX.PHP 4.0.0 windows 2003 sever When i access the image for a search result listing. It is showing the image of 1st record and reapeats the image of first record for the rest of records. I am using image_proxy.php for accessing image records. The code is like below: ----------------------------------------------------- <?php include_once('fx/fx.php'); include_once('fx/image_proxy.php'); $fxob=new FX('192.168.10.8',80,'FMPro7','HTTP'); $fxob->setDBPassword('password','username'); $fxob->setDBData('DBName','Layout-web'); $dataArray=$fxob->FMFindAll(); foreach($dataArray[data] as $val){ $image=null; $image="fx/image_proxy.php? FXimage=".vignereEncryptURL($val['containerPicture'][0]); echo ''; } ?> ----------------------------------------------------- Please reply if u have any solution. Also tell me if any other way available for accessing the image from DB. Regards Debabrata Pati.
October 25, 200520 yr I'm sure you did this - but did you initialize a new 'key' for image_proxy.php I was not able to get image proxy working perfectly in my PHP and FM 6 solution so I used an old work around - which will not work in FM 7 (I believe) It is also been suggested to keep images separate from the FM database in a folder and access them that way. In theory image_proxy is should work - but I am still waiting for someone to develop and easy function similar to the CDML way of getting images from container fields.
Create an account or sign in to comment