Project

General

Profile

Defect #757

images are not displaying on server webclient

Added by Sanneke Aleman almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
11/08/2013
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

Images are not displaying on server webclient. In developer webclient they display also in the server/developer smart client.

treeDataset = databaseManager.createEmptyDataSet(0, ['id', 'pid', 'treeColumn', 'icon', 'type']);
treeDataset.addRow(['h|h', null, i18n.getI18NMessage('tsd.projectx.mathdr.mathdr_itype_L'), 'media:///icons/plaatje1.png']); // header labels
treeDataset.addRow(['mathdr|L', null, i18n.getI18NMessage('tsd.projectx.mathdr.mathdr_itype_L'), 'media:///tree_leaf.png', 'folder']); // header labels
treeDataset.addRow(['mathdr|P', null, i18n.getI18NMessage('tsd.projectx.mathdr.mathdr_itype_P'), 'media:///tree_leaf.png', 'folder']); // header labels
treeDataset.addRow(['mathdr|O', null, i18n.getI18NMessage('tsd.projectx.mathdr.mathdr_itype_O'), 'media:///tree_leaf.png', 'folder']); // header labels


Files

sample_treeview.servoy (8.58 KB) sample_treeview.servoy Sanneke Aleman, 11/12/2013 02:34 PM

History

#1

Updated by Imre Tokai almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Imre Tokai

Hi Sanneke,
Have tested via sample solution import into server-mode and images seem to display correctly in web-client Chrome browser, user.png.
Check format, compression of images in your solution, please. If issue still persist, share sample solution to reproduce it in web-client while running in server-mode

Regards

#2

Updated by Sanneke Aleman almost 9 years ago

Here a sample of the problem

#3

Updated by Imre Tokai almost 9 years ago

Hi Sanneke,
On dataset-fill, try to remove media:/// prefix, so instead of media:///tree_leaf.png -> tree_leaf.png

Regards

#4

Updated by Sanneke Aleman almost 9 years ago

Thanks Imre, we tried this and it worked. Sorry for the late reaction, we tried it right away but forgot to post about it.

#5

Updated by Sanneke Aleman almost 9 years ago

  • % Done changed from 0 to 100

Solved

#6

Updated by Imre Tokai over 8 years ago

  • Status changed from In Progress to Resolved

Feature should be available in servoy-treeview-experimental.jar
If further work is needed, reopen/create case, please

Regards

Also available in: Atom PDF