[FX.php List] Displaying container images

Chris Hansen chris at iViking.org
Thu Sep 20 13:11:02 MDT 2007


Ah yes, the insanity of clients ;-)  Still, it's nice to be able to  
tell people, "yes, it will work, but there are these problems..."   
Handling images that need to be viewable both in FileMaker and via  
the web is hairy regardless of approach.

All that said, the approach described by Alex should work just fine,  
and is the preferred way to go in these sorts of situations.  To  
answer part of the original question, the down side of the straight  
URL is that information about your FileMaker database is viewable in  
the source.  However, if this isn't a public site, that may not be a  
problem.  If possible, it might be a good idea to document the  
possible pitfalls, just in case said pitfalls ever occur...

HTH

--Chris Hansen
   FileMaker 8 Certified Developer
   FileMaker 7 Certified Developer
   Creator of FX.php
   "The best way from FileMaker to the Web."
   www.iViking.org


On Sep 20, 2007, at 12:40 PM, Gjermund Gusland Thorsen wrote:

> This is a crazy approach if there are more than 10 images and the size
> is larger than a thumbnail.
>
> But it will probably work.
>
> ggt667
>
> On 9/20/07, Alex Gates <alex at gandrpublishing.com> wrote:
>> This is how I do it - using FM_image_proxy.php
>>
>> <img src="http://www.domain/FX/image_proxy.php?FXimage=<?php echo
>> vignereEncryptURL($searchData['Cover'][0]); ?>" height="350"  
>> width="150">
>>
>>> -----Original Message-----
>>> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-
>>> bounces at mail.iviking.org] On Behalf Of Bob Patin
>>> Sent: Thursday, September 20, 2007 1:14 PM
>>> To: FX.php Discussion List
>>> Subject: [FX.php List] Displaying container images
>>>
>>> I have a client whose database contains a container field with  
>>> images
>>> in it. She wants these images displayed on the web.
>>>
>>> Before anyone asks why I'm using containers to store images, it's a
>>> requirement mandated by the client, who wants her images in a
>>> container field... not something I can change or have any control  
>>> over.
>>>
>>> I've never displayed images this way, and have always stored them in
>>> an images folder on the web server. I did some testing this morning,
>>> first using the simple
>>>
>>> $findData['picture'][0]
>>>
>>> and amazingly, the images appear. I thought there was an issue with
>>> container graphics? Is this really so simple? The only problem is
>>> that the user is prompted for a username and password, which  
>>> actually
>>> might not bother my client (don't know yet).
>>>
>>> What's the method for displaying container images? Do I have to use
>>> the FM_image_proxy.php page, and if so, what configurating do I have
>>> to do to make this work?
>>>
>>> Thanks,
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>>
>>>    CONTACT US VIA INSTANT MESSAGING:
>>>       AIM or iChat: longterm1954
>>>       Yahoo: longterm_solutions
>>>       MSN: tech at longtermsolutions.com
>>>       ICQ: 159333060
>>>
>>> --------------------------
>>> Contact us for FileMaker hosting for all versions of FileMaker
>>> PHP . CDML . Full email services . Free DNS hosting . Colocation .
>>> Consulting
>>>
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>



More information about the FX.php_List mailing list