Changeset 599:3b79ae4a23ca in documentViewer for zpt


Ignore:
Timestamp:
Nov 19, 2012, 4:15:13 PM (12 years ago)
Author:
casties
Branch:
default
Message:

normalize uri of annotated image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer/layer_image_annotator.zpt

    r598 r599  
    1313    tal:define="global annServerUrl string:http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager;
    1414    global annTokenUrl string:$viewerUrl/template/token/getLoginToken;
    15     annUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s?pn=%s'%(docinfo['documentPath'],pageinfo['pn']);
     15    annUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s?pn=%s'%(docinfo['imagePath'],pageinfo['pn']);
    1616    resUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s'%(docinfo['documentPath']);
    1717    global annUser python:here.getAuthenticatedUser(anon='anonymous');
Note: See TracChangeset for help on using the changeset viewer.