gbhl / bhl-europe

Biodiversity Heritage Library Europe
http://www.bhl-europe.eu/
15 stars 2 forks source link

1.5.4 - Display size of to be displayed item (renamed, Metadata view) #73

Open janahoffmann opened 13 years ago

janahoffmann commented 13 years ago

Estimation or actual size of item before refered to content viewer (book reader).

Precondition: file size in metadata or algorithm for estimation of file size

janahoffmann commented 13 years ago

previous comments: fwelter commented: On the portal shall be shown the file size of the book in MB, so that users ca see what they have to expect.

leenamba commented depends on how realtime the download is. If we generate on the fly then showing the file size will be hard. If we generate and save to an ftp site for download then we can do this. Otherwise an algorithm for estimating could be used but would not be accurate. TBD

fwelter commented PDFs of books should not take too much memory space, but I cannot judge this. 3 alternative solutions:

1 - Create PDFs of all books and save them in our archive, ready for download. 2 - Create "low resolution PDFs" of all books and save them in our archive, ready for download. Then provide 2 buttons: PDF (low resolution, bitonal black and white, equipped with file size), PDF (high resolution, brown on tan). 3 - The pdf file is saved to our internal archive the first time when a user downloaded a pdf, and the file size is recorded and from this moment onwards the true file size can be displayed. If the title has not yet been downloaded by anyone, an estimated value can be displayed, equipped with the note "estimated value".

Version 3 would make sure that only of important works PDFs are stored in the archive. Versions 2 and 3 could be combined.

I cannot judge if creating low-resolution PDFs under (2) would allow to estimate or calculate relatively reliably the high res file size under (1).

In SUB Göttingen they are using estimated values and create PDFs on the fly, but the experience is that nonsense is displayed in these values. Such a solution should be avoided.

lobajuluwa commented 12 years ago

Update from Lee: more clarification reqd i.e is this for pregenerated info/ Zipped info?? For bookviewer, we can show size but for basket will be more complex as files may not always be on disk.

Release Milestone to be confirmed.

janahoffmann commented 12 years ago

@leenamba This is related to the 'bibliographic information page' and maybe also the result list. It refers to the size of the item to be displayed in the browser (in the book viewer) not currently to any download option (althought this would be nice). This aims at helping people that have a slow internet connection/ old browser and prevent them from displaying a very large file, or at least expect a longer waiting time. For the download basket: Of course it would be very helpful for the users to see the file size before starting a download in the book viewer, the batch download basket and the result list (whenevr the pdf icon is displayed). However, this is a new requirement and I will add it to the respective issues.

JiriFrank commented 12 years ago

Where we will display the size of the item info? We do not have portal basket for jpg, ocr or pdf. Where we will display that in biblio page? I can imagine it could by displayed in the content viewer basket, but it depends on in which quality you would like to download the content. @chris-sleep