In the new grid view, the filetype icons look unelegantly large compared to the image previews (This is actually also the case in the Android app which uses the same previews & folder icons cc @tobiasKaminsky @AndyScherzinger)
In the list view it’s fine, although it would not be bad for the preview images to be bigger:
How can we reduce the size of the filetype icons / make the image previews larger? @rullzer @nextcloud/designers
GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/8241 (image), https://github.com/nextcloud/server/pull/11573 ([WIP] Files grid view), https://github.com/nextcloud/server/pull/11050 ([WIP] Grid view for files), https://github.com/nextcloud/server/issues/3393 (Preview generator fails on big jpg files), and https://github.com/nextcloud/server/issues/11863 (Broken images stops preview generation).
Should easily doable just with some CSS:
[data-has-preview='false'] .thumbnail {
background-size:50% !important;
}
What kind of ratio do you think is good? 50% as Julius set?
I can have a look if this is possible on Android
I think 50% is already a bit to small, 75% looks good to me. Also I would actually only apply this to the grid view.
Sounds good to me @juliushaertl, thanks for the piece of code! :) I'll play around with the values a bit tomorrow, or do you already want to submit a pull request with 75% and we can discuss there?
I am shameless posting an android screenshot here…
As you can see, I only resized the folder, but not generic mimetypes.
How do you do this on webUI?
@tobiasKaminsky nice, already looks much better! It's really visible how the folder icon size looks nicer in comparison to the rest.
(And it's absolutely fine posting the Android screenshots here :) It's an issue we have cross-platform and wr should solve it generally. Actually probably similar for the iOS grid view, cc @marinofaggiana)
... continue here :
@jancborchardt
In general, I am not sure if text/filename in grid view is really useful.
According to all screenshots in this issue (Independent from platform), you can always read only ~5 chars at beginning and a few on the end and this does not help to distinguish:
Unfortunately I do not have a better idea.
Maybe putting "…" to the end, as you can see the mimetype through icons, but in case of last iOS image, scan 16/43 would then be trimmed…
New grid with more Width for item, generally 3 item for line ... now the filename has more meaning
@jancborchardt margin left and right now are 5 px (?) or 0 ?
I agree with @tobiasKaminsky and also @marinofaggiana. Looking through some file managers on Android supporting grid view they:
end
or marquee
(while marquee is quite hectic, so I'd vote for end
)So for Android I vote for 3 columns, ellipsizing end
, no filenames for images/videos
So for Android I vote for 3 columns, ellipsizing end, no filenames for images/videos
I don't like no filename for a specific type of file, asymmetric !?
I don't like no filename for a specific type of file, asymmetric !?
I get that, just stating the way how the grid view handles image previews in grid view (no filename)
@marinofaggiana some feedback specific to the iOS screenshot you showed:
IMG_20324234…
or Screenshot-2018…
and not really useful, just distracting.Does that sound good? :slightly_smiling_face:
@jancborchardt :
@jancborchardt the issue of menu is that are too many option for the order (look) :
Then 3 menu :
Whats do you think?
@jancborchardt what is this issue about? I'm confused by all the android iOS stuff here?
@skjnldsv sorry !! mea culpa !! I have add here my question grid for iOS.
No need to apologize for, Marino. Jan encouraged us to post here also screenshots from Android/iOS as this is a cross-platform problem.
@marinofaggiana No worries! I was just confused abou tthe topic of this issue!! :hugs: :wink:
It's perfectly fine, thanks for the explanation @tobiasKaminsky :hugs:
Let's move this to 15.0.1
@jancborchardt What is the status of this? I guess we need to move this to 17 🙈
Most helpful comment
I think 50% is already a bit to small, 75% looks good to me. Also I would actually only apply this to the grid view.