You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be the bomb to have small file previews as thumbnails instead of just useless file type icons. It’s probably a ton of work but would supercharge the Files app. The list items could also just be a bit bigger, or we make a separate list & grid view (although I think we can kick ass with having one great view).
@jancborchardt@karlitschek
slightly off-topic: what about file viewing?
as off today we have different presentation for different files e.g. for pictures/photos we popup a lightbox.
odf and pdf fade-in and replace the files list - but both have a different look and feel (actually my fault ;-) )
what about unifying the look and feel of the file viewer?
@DeepDiver1975 good question: ODF and PDF, or any view-only things should not replace the file list. Rather use this lightbox-style similar to the images (without white border though) and darken the background.
I don't know it this relevant to this issue, but I wonder if it is possible for OC to generate thumbs in 'offline mode' when a folder containing pictures is shared to someone else.
What I see is that thumbs are generated for each user at the time of browsing the folder. Which adds a delay to the navigation and make people think that the share doesn't work or that it is very slow.
Also, why not to have a unique thumbnail for a picture instead of one per user?
@georgehrke Previews of Test files is definitely important. sSntax highlighting would be neat but this is mainly for developers useful who have sourcecode in their ownCloud. If easily doable, why not. More important would be .doc and .odt if you ask me. ;-) Yes. This is not easly ;-)
I did some research and the best solution seems to be PHPDocX. There is an LGPL licensed community edition of it. It seems to be very easy to generate pdf files from docx. We could use the PDF preview backend to generate previews of the documents.
Our university is looking adopting oC for use with both research data and teaching resources, to support this, we have some basic requirements, which we would be happy to contribute code to implementing if they fit with community thinking. We're working on this in an app called Cr8it (crate-it).
There should be web-ready views of as many file types as possible.
Thumbnails for images for online viewing, and at various sizes for export to EPUB, HTML etc.
HTML versions of documents, including Word, OpenDocmunent, spreadsheets, presentations etc.
Versions of video at various sample rates and formats for use in different situations
Pluggable support for other formats, eg scientific data formats and speciallist image formats
By web-ready views, I mean:
Thumbnails for immediate viewing
HTML-wrapped snippets that can be combined together into EPUB books, or blogged etc
PDF versions of documents
It is important, if we're trying to support all that, to make sure that these views can be generated by a background process, and potentially farmed-out to multiple machines, there is no way we can ask users to wait while a video is re-formatted.
So what we'd like to see (and help with) would be:
A way to register file-conversion processes and to make this configurable so admins can choose which views to support and flexible so users can see the views they want to see
Some kind of dispatching system possibly using message queues to manage conversion
A standard way to store various derived versions of files and make them available to any app
One version of each view per file
Out short term approach has been to use some existing software with which we are familiar. We are using a repository system called The Fascinator to store the web-ready-views - this has a queue system as discussed above. The repository is using another open source package, Integrated Content Environment (ICE) to do many of the file conversions. Neither of these are packaged or easy to install, we're working on better instructions.
ICE uses open-office to create PDF and HTML versions of office documents. This is not perfect but it does a better job than most packages. We are working on a version that can use a Sharepoint server to create better versions of Word documents as well. The current test version of ICE takes a markdown-like approach to generating HTML, throwing out most formatting and looking for headings, indent, bullets and numbers to produce clean HTML5 (and soon XHTML for use in EPUB). ICE is a major code base created by the University of Southern Queensland, but they have more or less abandoned the open source version but it does have a lot work in it to deal with all sorts of conversion quirks that may be worth keeping.
So, if there is an emerging architecture for any of this we'd be really happy to contribute to implementing it.
@ptsefton Thanks a lot for your suggestions. Contributions here are very welcome. The architecture you suggested sounds very advanced and is perhaps suitable for a version 2 of the thumbnails system. At the moment we should get the library @georgehrke worked on merged because we need this for other ownCloud 6 features very soon.
Pull requests are very welcome of course :-)
@georgehrke yes, previews everywhere. Especially for deleted files it’s important to quickly see which files are which, so you know which you want to restore.
Activity
karlitschek commentedon Nov 1, 2012
I want to work on a general preview lib that we can use to generate thumbnails
DeepDiver1975 commentedon Nov 1, 2012
@jancborchardt @karlitschek
slightly off-topic: what about file viewing?
as off today we have different presentation for different files e.g. for pictures/photos we popup a lightbox.
odf and pdf fade-in and replace the files list - but both have a different look and feel (actually my fault ;-) )
what about unifying the look and feel of the file viewer?
jancborchardt commentedon Nov 1, 2012
@DeepDiver1975 good question: ODF and PDF, or any view-only things should not replace the file list. Rather use this lightbox-style similar to the images (without white border though) and darken the background.
jancborchardt commentedon Dec 4, 2012
Duplicate of #86, closing.
happysysadm commentedon Jan 29, 2013
I don't know it this relevant to this issue, but I wonder if it is possible for OC to generate thumbs in 'offline mode' when a folder containing pictures is shared to someone else.
What I see is that thumbs are generated for each user at the time of browsing the folder. Which adds a delay to the navigation and make people think that the share doesn't work or that it is very slow.
Also, why not to have a unique thumbnail for a picture instead of one per user?
Thanks in advance
Manny
georgehrke commentedon Apr 22, 2013
open tasks:
Edit:
georgehrke commentedon May 17, 2013
@jancborchardt What kind of information should preview.png show if the mimetype is unknown or all attempts to generate a preview fail?
georgehrke commentedon May 29, 2013
@jancborchardt @karlitschek What do you think about syntax highlighting for text based files?
karlitschek commentedon May 29, 2013
@georgehrke Previews of Test files is definitely important. sSntax highlighting would be neat but this is mainly for developers useful who have sourcecode in their ownCloud. If easily doable, why not. More important would be .doc and .odt if you ask me. ;-) Yes. This is not easly ;-)
georgehrke commentedon May 29, 2013
That's already implemented - https://github.com/owncloud/core/blob/oc_preview/lib/preview/txt.php
AFAIK there are only two libs and both are not suitable for this case, because they return pure HTML code ... (Geshi and Hyperlight)
Absolutely, I'll take a look
georgehrke commentedon May 30, 2013
I did some research and the best solution seems to be PHPDocX. There is an LGPL licensed community edition of it. It seems to be very easy to generate pdf files from docx. We could use the PDF preview backend to generate previews of the documents.
25 remaining items
georgehrke commentedon Jun 26, 2013
In the new files app, those paths will be generated in the browser, right?
If the new files app will be released with oC 6, there is no need to implement it (twice).
raghunayyar commentedon Jun 26, 2013
@georgehrke mostly yes, I will start working on it this August. :)
ptsefton commentedon Jun 26, 2013
Our university is looking adopting oC for use with both research data and teaching resources, to support this, we have some basic requirements, which we would be happy to contribute code to implementing if they fit with community thinking. We're working on this in an app called Cr8it (crate-it).
It is important, if we're trying to support all that, to make sure that these views can be generated by a background process, and potentially farmed-out to multiple machines, there is no way we can ask users to wait while a video is re-formatted.
So what we'd like to see (and help with) would be:
Out short term approach has been to use some existing software with which we are familiar. We are using a repository system called The Fascinator to store the web-ready-views - this has a queue system as discussed above. The repository is using another open source package, Integrated Content Environment (ICE) to do many of the file conversions. Neither of these are packaged or easy to install, we're working on better instructions.
ICE uses open-office to create PDF and HTML versions of office documents. This is not perfect but it does a better job than most packages. We are working on a version that can use a Sharepoint server to create better versions of Word documents as well. The current test version of ICE takes a markdown-like approach to generating HTML, throwing out most formatting and looking for headings, indent, bullets and numbers to produce clean HTML5 (and soon XHTML for use in EPUB). ICE is a major code base created by the University of Southern Queensland, but they have more or less abandoned the open source version but it does have a lot work in it to deal with all sorts of conversion quirks that may be worth keeping.
So, if there is an emerging architecture for any of this we'd be really happy to contribute to implementing it.
karlitschek commentedon Jun 28, 2013
@ptsefton Thanks a lot for your suggestions. Contributions here are very welcome. The architecture you suggested sounds very advanced and is perhaps suitable for a version 2 of the thumbnails system. At the moment we should get the library @georgehrke worked on merged because we need this for other ownCloud 6 features very soon.
Pull requests are very welcome of course :-)
georgehrke commentedon Jul 3, 2013
Are previews necessary in the trash bin app?
jancborchardt commentedon Jul 5, 2013
@georgehrke yes, previews everywhere. Especially for deleted files it’s important to quickly see which files are which, so you know which you want to restore.
Niduroki commentedon Jul 30, 2013
#4022 deals with this?
georgehrke commentedon Jul 30, 2013
Yes
Niduroki commentedon Aug 31, 2013
Fixed with #4022
jancborchardt commentedon Sep 4, 2013
To quote myself from the original issue: »It’s probably a ton of work but would supercharge the Files app.«
I guess @georgehrke agrees with the first part. I definitely think the Files app is supercharged.
🚀