Thread Starter
bhasic
(@bhasic)
I get file URLs in database but how can I display them in table and in PDF when I submit multiple images? URLs are comma separated and I would need to wrap each URL to img src HTML tags.
Hello @bhasic ,
Multiple files will return an array and it is being separated by comma.
We can help you to achieve your request but it requires custom coding, can you provide the link of the plugin “cfdb” you used to save the data?
Also, please provide a screenshot of the table display that is being saved.
Consider upgrading the pro version and have a better control on files.
Thanks,
Glen
Thread Starter
bhasic
(@bhasic)
I have several forms, tables and PDF’s of them that I need this to work. Tables are viewed as HTML-tables and jQuery datatables. In PDF’s just normal HTML-table.
I Guess something like this would work for HTML-table views and PDF’s:
$images = explode(",",$row['image']);
if(sizeof($images) > 0 ){
foreach($images as $image){
echo '<img src="images/'.$image.'">' ;
echo "<br />";
}
}
I am planning to use Google drive with WordPress and will purchase Pro Remote Storage.
Plugins i’m using:
https://cfdbplugin.com/
https://ww.wp.xz.cn/plugins/send-pdf-for-contact-form-7/