Smaky 131 Posted September 3, 2015 Share Posted September 3, 2015 (edited) I have just noticed that for manually created Boxsets/collections, The image created by CoverArt is distorted. When going to the offending boxset the image looks fine, although the highlight border seems to be a bit off on the top and bottom borders the image (this also happens on auto box sets): I think it would be better to make the highligh not just a border but a complete image (light blue colored) so it ´paints´ beneath the discs (which I assume are transparent png). Looking closely at the images, seems the manually created collections get a distorted image: vs. Which gets generated by: Distorted image: http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=450&width=300&tag=7ea969eb22bc621be6d380e79331ffbc&enableImageEnhancers=true&quality=90 while the correct one by: http://localhost:8096/Items/0f2977e5ba9864babadb5a3e571552ff/Images/Primary?height=300&width=300&tag=4a2c5f7473e96569be2c201b5ae653a2&enableImageEnhancers=true&quality=90 Notice the difference in the height/width parameters sent to generate the images. Not sure why the auto generated boxsets are using the later while the manually created ones use the former. Another isse I see is that there is a black shadow shadow being drawn behind the generated image. Since the image itself already has a shadow. It looks weird. I would say the dark highlight should be eliminated when using CoverArt to let it control the full look & feel. Probably by creating two sets of images one highlighted and the other one not, so it looks something like this: Update: Just for reference this is how the images look in Metadata Manager (in there the CoverArt Primary Image looks just fine): Where the image is being created dynamically by: http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=150&tag=7ea969eb22bc621be6d380e79331ffbc&quality=90 resulting in this: There´s no distortion here. Edited September 3, 2015 by Smaky Link to comment Share on other sites More sharing options...
shorty1483 453 Posted September 3, 2015 Share Posted September 3, 2015 (edited) For the Distortion: Try to download a cover from Fanart.tv with the resolution 1000x1426. This worked for me when I had some files with this distortion in the past. For the border around images: Try to insert this into the custom CSS field: .itemDetailImage { -moz-box-shadow: 0px 0 0px #3b3b3b; -webkit-box-shadow: 0px 0 0px #3b3b3b; box-shadow: 0px 0 0px #3b3b3b; border: solid 0px #3b3b3b; } .itemDetailGalleryLink img:hover { -moz-box-shadow: 0 0 0px 0px #673ab7; -webkit-box-shadow: 0 0 0px 0px #673ab7; box-shadow: 0 0 0px 0px #673ab7; } If you still use a customm CSS like Theme Darkness, just search for the parts and replace them. Looks like this on my WebClient: Edited September 3, 2015 by shorty1483 Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 3, 2015 Author Share Posted September 3, 2015 Should I understand the distortion comes from the image resolution? I mean, it is odd I have over 120 boxsets and only the two manually created exhibit this problem. Will try your suggestions thoug. Thanks. Link to comment Share on other sites More sharing options...
Deathsquirrel 741 Posted September 3, 2015 Share Posted September 3, 2015 This may be a treatment-specific issue or a problem of processing folder.jpgs with different resolutions. I use a different boxset treatment and don't have this problem. As a reference I'm using Metrocase treatments on both movies and boxsets and all my folder.jpg source files are 1000X1500. Link to comment Share on other sites More sharing options...
shorty1483 453 Posted September 3, 2015 Share Posted September 3, 2015 This may be a treatment-specific issue or a problem of processing folder.jpgs with different resolutions. I use a different boxset treatment and don't have this problem. As a reference I'm using Metrocase treatments on both movies and boxsets and all my folder.jpg source files are 1000X1500. Possible...I grab my sources from fanart.tv and themoviedb. Since not every time an image is available on both sources, I have a lot of different resolutions from 1000x1426 (fanart.tv) to 1000x1500 or higher (themoviedb). Perhaps Imagemagick doesn't like it. Dunno. Had similar problem, but today from one minute to another everything was fine. Link to comment Share on other sites More sharing options...
ebr 14925 Posted September 3, 2015 Share Posted September 3, 2015 As you can see in both the detail screen and the editor - the image itself is being generated fine. It is the display parameters in the web client that are somehow getting messed up just for those. The other thing that is different is that none of the child items have a disc image. Try providing those and see if things change. Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 4, 2015 Author Share Posted September 4, 2015 (edited) Ok, here is a snapshot of the second manual collection I have in my library. As you might notice, this one does have actual disc images yet it gets distorted anyways. Now, on your comment about the image being generated appropiately I think something is not correct when these imagese are requested. I noticed the code uses a dynamically created image using the following code: http://localhost:8096/Items/71aaf32f9de828a57b6899a119e6ea0d/Images/Primary?height=450&width=300&tag=7ea969eb22bc621be6d380e79331ffbc&enableImageEnhancers=true&quality=90 Comparing that to the ones used on other images I notived the height and weight parameters are both 300px while these two uses 450px for height causing distortion. Not sure how this code is generated but seems to me to be a bug. Edited September 4, 2015 by Smaky Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 4, 2015 Author Share Posted September 4, 2015 (edited) I am trying to test this out... however I am facing issues. I have uploaded dis images to all items in my Walt Disney collection. However, when I refresh the page it seems to me the broser is getting a cached image instead of CoverArt recreating it. As I still get the distorted image with no disc art on it. I went to CoverArt configuration and changed to a different layout for Boxsets. Then I got a new image generated with the new disc art on it (BTW; this particular case I got non-distorted images): However, when I switch back to the original layout that caused the images to be distorted I get the distorted images with no disc art on it. Seems to me they have been saved in a cache. I tried clearing off the brosert's cache. But that did not help. Is there a place where CoverArt saves all generated images? Update: I switched to a different layout (ClearCase discs) and found the images are distorted even with disc art uploaed to the collection items: It seems to me there is an issue with these layouts. Edited September 4, 2015 by Smaky Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 4, 2015 Share Posted September 4, 2015 I believe they are all cached here (Emby-Server\cache\images\enhanced-images). Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 4, 2015 Author Share Posted September 4, 2015 (edited) Yup... thanks for the tip Happy2Play. After deleting them they got re-created. However, they are still distorted. So I guess this rules out the disc art root cause. Edited September 4, 2015 by Smaky Link to comment Share on other sites More sharing options...
ebr 14925 Posted September 4, 2015 Share Posted September 4, 2015 Can you find the actual image in the enhanced-images cache and see if the image itself is distorted or if it is just being stretched by the client? Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 4, 2015 Author Share Posted September 4, 2015 (edited) The image in the image cache is ok. The image is being stretched by the client. I have been testing further. I recreated the walt disney collection (well created a new one from scratch) and found this time the image got distorted initially I added all the media before looking at the image in collections), it got distorted, then went back to the collection and deleted all but one item from it and it got fixed. After that, I added one by one the collection items and checked back into the collections. This way the image never got distorted. When I tried the same with the old collection it never got fixed. Notice the snapshot below where the second walt disney collection is still distorted and it has no items on it at all: Now, the only difference I noticed between these two collections in the Metadata Manger is that the first one (the one that is not distorted) shows as lock icon before the name. Not sure why. The other one without the lock still shows the image distorted. Update: Interestingly, I found why the lock is there. On metadata there´s a check to ´Lock this item to "Lock this item to prevent future changes". As soon as I unchecked it, the image got distorted. Unfortunately, locking it again did not fix the image. Edited September 4, 2015 by Smaky Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 7, 2015 Author Share Posted September 7, 2015 Any news on this ebr? Link to comment Share on other sites More sharing options...
Luke 37097 Posted September 7, 2015 Share Posted September 7, 2015 there's nothing the cover art plugin can do about it. the web client does sometimes stretch images slightly in order to make them look uniform. it does this when it thinks their aspect ratio is close enough to what it wants to display, and it sounds like these images are just falling within that range. Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 7, 2015 Author Share Posted September 7, 2015 What would be the ideal dimensions of a poster image so the web client does take them properly? Link to comment Share on other sites More sharing options...
ebr 14925 Posted September 7, 2015 Share Posted September 7, 2015 I believe the ratio it is expecting for covers is 1:1.5. I think most posters on tmdb are 1000x1500. However, a treatment like the box set one changes this ratio fairly significantly due to the elements added to the base image. Link to comment Share on other sites More sharing options...
Smaky 131 Posted September 8, 2015 Author Share Posted September 8, 2015 (edited) I have already used 100x1500 to try to fix this in my manually created collections. However, web client still insists on distorting them. Edited September 8, 2015 by Smaky Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now