Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Display blob image in excel tpl

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
AMIN
Smarty n00b


Joined: 06 Oct 2018
Posts: 2

PostPosted: Sat Oct 06, 2018 2:54 pm    Post subject: Display blob image in excel tpl Reply with quote

Hye guys, I would like to ask regarding my subject.
my company save image as blob datatype in database and now I want to display that image in tpl. If I display the image in regular tpl report using base64_encode, it can display the image nicely then I try to print out to excel tpl but nothing came out...its just blank column...is there any other way to display the image in excel tpl..

What I already tried is:
1. Using base64_encoding
2. Using <img src=getimage.php?id>

I really appreciate ur help
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1593

PostPosted: Sun Oct 07, 2018 1:41 am    Post subject: Reply with quote

Microsoft put restriction to "data:" URI's.
IIRC, it's 32k or even less.
You can easily google it though. But this is not a Smarty question, realistically speaking.
Back to top
View user's profile Send private message
AMIN
Smarty n00b


Joined: 06 Oct 2018
Posts: 2

PostPosted: Tue Oct 16, 2018 4:55 am    Post subject: Reply with quote

oh i see, then is there any other way i can load this image in excel?

thank you for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP