# blobloader?

**URL:** <https://forum.servoy.com/t/blobloader/5097>\
**Category:** Classic Servoy\
**Created:** [November 22, 2005, 2:09pm UTC](https://forum.servoy.com/t/blobloader/5097 "2005-11-22T14:09:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [November 22, 2005, 2:09pm UTC](https://forum.servoy.com/t/blobloader/5097/1 "2005-11-22T14:09:49Z")

</div>

Whatever happened to servoy\_blobloader? For example setting an html field to ‘\<img src=media:///servoy\_blobloader?servername=…etc’. Did this functionality get moved to the new image plugin?

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [November 22, 2005, 3:58pm UTC](https://forum.servoy.com/t/blobloader/5097/2 "2005-11-22T15:58:34Z")

</div>

Still works the same way as the example on Servoy Magazine.

Is it not working for you?

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [November 22, 2005, 4:02pm UTC](https://forum.servoy.com/t/blobloader/5097/3 "2005-11-22T16:02:41Z")

</div>

No, not working like that example. But it is probably me then even though I thought I was immune to mistakes by now… ![:)]( "Smile") I will re-check my code and report back.

---

<div class="post-metadata">

**Author:** ![lhale](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lhale](https://forum.servoy.com/u/lhale)\
**Post date:** [January 16, 2009, 3:06pm UTC](https://forum.servoy.com/t/blobloader/5097/4 "2009-01-16T15:06:33Z")

</div>

David could you post some more info on the blobloader. I am having a minor syntax error in my code that I can’t find.

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [January 16, 2009, 3:29pm UTC](https://forum.servoy.com/t/blobloader/5097/5 "2009-01-16T15:29:26Z")

</div>

He is a quote from the help file using the blobloader, does that answer your question?

```auto
//loads an image (BLOB) from a field in a selected record into HTML
forms.item.elements.blob_url_display.setImageURL('media:///servoy_blobloader?servername='+controller.getServerName()+'&tablename='+controller.getTableName()+'&dataprovider=img&mimetype=image/gif&rowid1=1');

```

---

<div class="post-metadata">

**Author:** ![lhale](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lhale](https://forum.servoy.com/u/lhale)\
**Post date:** [January 16, 2009, 4:14pm UTC](https://forum.servoy.com/t/blobloader/5097/6 "2009-01-16T16:14:14Z")

</div>

thanks for the help, however it does not solve the problem

I can’t get servoy blob loader to work at all both in a calculation or at the form level.

I want to pull this image from the msyql database and display the image for each record.

servoy version = 4.01  
mysql db = 5.0.22

database= mydb  
table = mytable  
blob field in table containing images = graphics  
pk is made up of three columns = key1+Key2+Key3(combination pk)  
Display type = ImageMedia

//each time the record changes the calc will trigger loading the appropriate image for each record  
//i use this in a field calculation  
return ‘media:///servoy\_blobloader?servername=mydb&tablename=mytable&dataprovider=graphics&rowid1=’+key1+‘&rowid2=’+key2+‘&rowid3=’+key3;
