-
Notifications
You must be signed in to change notification settings - Fork 0
4. Modify BookReaderJSSimple.js in BookReaderDemo dir
NOTE: Recommended that all images have the same dimensions (eg. 1200x860).
Add new dimension parameters in lines 11 and 16
Add link to images of the object in line 28
NOTE: check the extension of the file, if it is .JPG then modify '.jpg' at he end of a line to '.JPG'
You can use this model var url = '../../filename_'+leafStr.replace(re, imgStr)+ '.jpg'; to call directly from dir and not from http(s). This is good solution if you work in local and then update it all on a server, besides you dont need to search for an address of that file
(eg. https://server.name/dir1/dir2/filename_01.jpg).
It will work whereever you put it.
Define number of image files you have in line 80
Add Title and past a link to web page of the digital object is.
THAT'S IT!