# servoy\_blobloader not working.

**URL:** <https://forum.servoy.com/t/servoy-blobloader-not-working/14217>\
**Category:** Classic Servoy\
**Created:** [June 27, 2011, 4:13pm UTC](https://forum.servoy.com/t/servoy-blobloader-not-working/14217 "2011-06-27T16:13:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [June 27, 2011, 4:13pm UTC](https://forum.servoy.com/t/servoy-blobloader-not-working/14217/1 "2011-06-27T16:13:05Z")

</div>

I am exporting to excel via html to get images out of a database (yep, images in excel…)

I am using the blobloader like this:

```auto
	if (forms.export_dialog.fv_image == 1){
// v_raw_html += '<td height=13 align=right width=75> <img src = ' + 'media:///servoy_blobloader?servername=art&tablename=artworks&dataprovider=temp_image&mimetype=image/jpg&rowid1=' + foundset.getSelectedIndex() + '></html></td>'
		
		var tableName = 'artwork'
		var columnName = 'temp_image';
		var id = i;
		var mimeType = 'application/jpeg';
		var fileName = reference_number;
		var URL = 'media:///servoy_blobloader?servername=' + currentcontroller.getServerName() 
		URL += '&tablename=' + tableName;
		URL += '&dataprovider=' + columnName;
		URL += '&rowid1=' + id;
		URL += '&mimetype=' + mimeType;
		URL += '&filename=' + fileName;
		v_raw_html += "<td><img src = \'" + URL + "\'></html></td>"
				
	}

```

It is not working. I just get dead image icons for each row.

Any pointers on what I am doing wrong?

Thank you

Bevil

---

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [June 27, 2011, 4:45pm UTC](https://forum.servoy.com/t/servoy-blobloader-not-working/14217/2 "2011-06-27T16:45:44Z")

</div>

the html generated by this code looks like this:

> ![]()

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [June 27, 2011, 5:02pm UTC](https://forum.servoy.com/t/servoy-blobloader-not-working/14217/3 "2011-06-27T17:02:47Z")

</div>

yeah ofcourse, that code only works if you are in a webclient, or smart-client.  
Not if you just look inside an (offline) generated html

---

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [June 27, 2011, 9:08pm UTC](https://forum.servoy.com/t/servoy-blobloader-not-working/14217/4 "2011-06-27T21:08:27Z")

</div>

D-uh… I don’t know what I was thinking (thankfully the images bit is only one of the fields that needs to be exported… I did all the others but was on automatic non thinking mode…)

I guess it can’t be done the way I need…

![:(]( "Sad")

Bevil
