When viewing the full size images in the web UI I see URLs reminiscent of URLs used to resize artwork. Although they're not being resized, are the images going into the server's artwork cache?
The full sized images are resized when viewed on the Touch. Are these images being cached?
Is there no ability to step through the images in either the web interface or Touch interface? In the web UI, opening each image in a new window isn't much of an image viewer.
Swiping in the Touch interface leads to either the current playlist (right to left) or back to the Home menu (left to right). If a R-L swipe can't be used to step to the next image then it should be ignored. A L-R swipe needs to go back up a level in the browsing hierarchy (to an album, date, etc.).
Results 1 to 10 of 12
Thread: Image Browser plugin in 7.7
-
2011-09-19, 15:21 #1Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
Image Browser plugin in 7.7
-
2011-09-19, 15:33 #2Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
Are 'albums' simply directory names? Directories with the same name in different locations all get merged when browsing albums.
If I have
\Photos
..\Utah
..\..\landscapes
..\..\people
..\Yosemite
..\..\landscapes
..\..\people
Then I end up with only one 'landscapes' album and one 'people' album.
-
2011-09-19, 16:06 #3
Image Browser plugin in 7.7
Yeah it's pretty simplistic now. But I think you're going to have to wait for Michael to get back to really discuss Image Browser. He's taking a few days off.
On Sep 19, 2011, at 6:33 PM, JJZolx wrote:
>
> Are 'albums' simply directory names? Directories with the same name in
> different locations all get merged when browsing albums.
>
> If I have
>
> \Photos
> ..\Utah
> ..\..\landscapes
> ..\..\people
> ..\Yosemite
> ..\..\landscapes
> ..\..\people
>
> Then I end up with only one 'landscapes' album and one 'people' album.
>
>
> --
> JJZolx
> ------------------------------------------------------------------------
> JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
> View this thread: http://forums.slimdevices.com/showthread.php?t=90463
>
>
-
2011-09-20, 13:35 #4
Image Browser plugin in 7.7
> When viewing the full size images in the web UI I see URLs reminiscent
> of URLs used to resize artwork. Although they're not being resized, are
> the images going into the server's artwork cache?
By default LMS will never serve the full size picture, but a max. of
1920x1080 (or whatever full HD is). I think that pref is not exposed
(yet). Is this what you're referring to?
> The full sized images are resized when viewed on the Touch. Are these
> images being cached?
Yes. All resized images are cached. But the full screen images are not
_pre_-cached. Only the thumbs are.
> Is there no ability to step through the images in either the web
> interface or Touch interface? In the web UI, opening each image in a
> new window isn't much of an image viewer.
SP should start a slideshow starting with the selected image. Not
interaction possible right now. Web UI only shows the image in a new
window. I'll see whether I can port some of my Gallery plugin's features
to it. Unfortunately this plugin has very little priority, as it doesn't
show up on any marketing blurb...
--
Michael
-
2011-09-20, 14:01 #5Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
Ok, I thought I was looking at the original dimensions. But my question was more about whether they were being cached.
Why bother caching them? That has the potential to grow the artwork cache to huge proportions. Do you have the ability to tell the resizer to not cache the resulting image?> The full sized images are resized when viewed on the Touch. Are these
> images being cached?
Yes. All resized images are cached. But the full screen images are not
_pre_-cached. Only the thumbs are.
Is the artwork cache ever cleaned? I thought I recalled that it wasn't, or maybe that was only with the old file-based cache.
-
2011-10-17, 04:49 #6Junior Member
- Join Date
- Dec 2010
- Posts
- 13
Is there a way to turn off this resizing behaviour? I've set maxUPnPImageSize to 9999, but at least when browsing images through the Web UI, the images still seem to be run through a resizer. I run my SBS on a SheevaPlug, which is why I notice (loading a single image takes something between 5 and 10 seconds at 100% CPU load).
If there is a way to completely turn off resizing and just stream the JPEGs as they are on disk (at least if the source images actually are JPEGs, that is), that would make the image browsing actually useful to me - my client device is a HP TouchPad, so it won't have problems with loading the large images.Last edited by maniac103; 2011-10-17 at 04:54.
-
2011-10-17, 05:09 #7
Image Browser plugin in 7.7
> Is there a way to turn off this resizing behaviour? I've set
No, would require some code changes.
> maxUPnPImageSize to 9999, but at least when browsing images through the
> Web UI, the images still seem to be run through a resizer. I run my SBS
Only portrait mode images or all of them?
> on a SheevaPlug, which is why I notice (loading a single image takes
> something between 5 and 10 seconds at 100% CPU load).
Yeah, that hurts. I'm seeing this too, even on my x86 (Via C3/1GHz - soon
to be 8yrs of loyal services :-))
> Is there a way to completely turn off resizing and just stream the
> JPEGs as they are on disk (at least if the source images actually are
> JPEGs, that is)? That would make the image browsing actually useful to
> me - my client device is a HP TouchPad, so it won't have problems with
> loading the large images.
You could modify the plugin code. Edit Slim/Plugin/ImageBrowser/Plugin.pm,
around line 157:
weblink => $id ? "/image/$id/cover_${maxSize}x${maxSize}_o" : undef,
make this:
weblink => $id ? "/image/$id/cover" : undef,
I didn't test this...
--
Michael
-
2011-10-17, 05:43 #8Junior Member
- Join Date
- Dec 2010
- Posts
- 13
I will check.
I see we're in the same boat
> on a SheevaPlug, which is why I notice (loading a single image takes
> something between 5 and 10 seconds at 100% CPU load).
Yeah, that hurts. I'm seeing this too, even on my x86 (Via C3/1GHz - soon
to be 8yrs of loyal services :-))
Looks like it works, at least from what I can test right now (I'm at work, so I'm limited by my slow DSL upload anyway).
> Is there a way to completely turn off resizing and just stream the
> JPEGs as they are on disk (at least if the source images actually are
> JPEGs, that is)? That would make the image browsing actually useful to
> me - my client device is a HP TouchPad, so it won't have problems with
> loading the large images.
You could modify the plugin code. Edit Slim/Plugin/ImageBrowser/Plugin.pm,
around line 157:
weblink => $id ? "/image/$id/cover_${maxSize}x${maxSize}_o" : undef,
make this:
weblink => $id ? "/image/$id/cover" : undef,
I didn't test this...
From how I read the code, the maxUPnPImageSize=9999 should make the UPnP code trigger the same (non-resizing) code path, right? I guess the images also aren't put in the image cache in that case, is that also right?
-
2011-10-17, 05:53 #9
Image Browser plugin in 7.7
> From how I read the code, the maxUPnPImageSize=9999 should make the
> UPnP code trigger the same (non-resizing) code path, right?
That's correct. But I missed the opportunity to respect this value in the
ImageBrowser plugin...
> I guess the
> images also aren't put in the image cache in that case, is that also
> right?
I think so, yes.
--
Michael
-
2011-10-18, 00:22 #10Junior Member
- Join Date
- Dec 2010
- Posts
- 13
Ok, with your suggested change the Web UI is fine. UPnP is also fine for landscape images, but still slow for portrait ones (as is obvious from the code). Is there a particular reason for always resizing rotated images (is it the PlugPlayer issue mentioned in the moment)? If so, can this be made optional?
Ok, thanks. Can the image cache be cleared somehow to get rid of the now-unwanted big items?
> I guess the
> images also aren't put in the image cache in that case, is that also
> right?
I think so, yes.
Thanks for your quick responses BTW

Reply With Quote


