Jump to content

How to export images taken from a FileMaker database?


Thetcm

Recommended Posts

(unrelated, just the setting) : I'm creating PDFs with tcPDF but it came to my attention that all the functions to show pictures won't get external pictures from databases(specifically from a FileMaker database) so let's say I call <img src="img.php?-url=(encoded information about picture)" />, tcPDF tells me img.php isn't directory or image.

 

Which brings me to the real problem :

 

I decide that if I can only gather local images, I would just export the pictures on my database to a local disc, then get them with tcPDF. That way, if a client modifies the image on the database, he'll get the new version once he goes on the web module(as opposed to just putting the name of the picture in the database and calling it locally, forcing me to handle all their image change).

 

Now while I can export images from my website and save them to my local disc through PHP, I can't do the same for images taken on a FileMaker database. I'm left with byteless or 64 byte large images that are corrupted.

 

Any idea how I could do this?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.