Thetcm Posted September 18, 2009 Share Posted September 18, 2009 (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? Link to comment https://forums.phpfreaks.com/topic/174745-how-to-export-images-taken-from-a-filemaker-database/ Share on other sites More sharing options...
abazoskib Posted September 19, 2009 Share Posted September 19, 2009 you have actualy images stored in your database? i would have just saved a reference to them i.e. "/usr/pictures/pic1.jpeg" Link to comment https://forums.phpfreaks.com/topic/174745-how-to-export-images-taken-from-a-filemaker-database/#findComment-921064 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.