Read the statement by Michael Teeuw here.
Third-Party Module - how to get help?
-
@ember1205 no. Contain…etc.
My pics are from a Nikon D3300 24mp I don’t see anything strange.
U set fullscreen. I add .above
I just checked 50 pics, and they display exactly the same as shown in Windows Media viewer and explorer.
I just installed the module on two systems. Pi3 and pi4. Cut/pasted the config I posted and both systems present the same. One at 1920x1080, and one at 3840x2160. I get the screen size dynamically. Nothing is hard coded
-
@ember1205 the pics above are without any mods… installed MM, install the module, linked to my server and started MM… they reach to the top of the window or the side (only a few), never both
no border around. not used space is filled with the background color.if u accidentally zoomed in the browser using ctrl-+, it sadly remembers across instances
ctrl-minus sign will zoom out again
-
I’ll definitely give it a try. But… If it were a browser zoom issue, wouldn’t that prevent the other module from displaying them properly as well?
-
@ember1205 yes…
-
I just added a little bit of debug messaging…
go to the MMM-ImagesPhotos folder, and do a git pull
then edit the config and add
debug:true,then restart MM
using keyboard, hit ctrl-shift-i, a window will open on right side, select the tab labeled console, and type
image into the field labeled filter…now u will see messages from the module as it loads images and gets the image actual size, and sets the location and dimension of the image to be displayed… like this sizes are width/height
top is the top left corner (all locations are relative to the top left corner of the screen, 0,0 is the top left… so 0:72 is all the way left and 72 pixels down. (note its centered, so height+2*offset = max,.MMM-ImagesPhotos.js:237 image setting size to 3023:2015
MMM-ImagesPhotos.js:238 image setting top to 0:72
2015+72*2=2159 (of 2160) in this caseMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0491.JPG size=4000:6000 MMM-ImagesPhotos.js:237 image setting size to 1440:2160 MMM-ImagesPhotos.js:238 image setting top to 791:0 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/PICT0097.JPG size=5472:3648 MMM-ImagesPhotos.js:237 image setting size to 3023:2015 MMM-ImagesPhotos.js:238 image setting top to 0:72 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0027.JPG size=6000:4000 MMM-ImagesPhotos.js:237 image setting size to 3023:2015 MMM-ImagesPhotos.js:238 image setting top to 0:72 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0476.JPG size=6000:4000 MMM-ImagesPhotos.js:237 image setting size to 3023:2015 MMM-ImagesPhotos.js:238 image setting top to 0:72 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0042.JPG size=6000:4000 MMM-ImagesPhotos.js:237 image setting size to 3023:2015 MMM-ImagesPhotos.js:238 image setting top to 0:72 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0198.JPG size=6000:4000 MMM-ImagesPhotos.js:237 image setting size to 3023:2015 MMM-ImagesPhotos.js:238 image setting top to 0:72 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0720.JPG size=4496:3000 MMM-ImagesPhotos.js:237 image setting size to 3023:2017 MMM-ImagesPhotos.js:238 image setting top to 0:71 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0697.JPG size=3000:4496 MMM-ImagesPhotos.js:237 image setting size to 1441:2160 MMM-ImagesPhotos.js:238 image setting top to 791:0 MMM-ImagesPhotos.js:222 image loaded=http://localhost:8080/MMM-ImagesPhotos/photo/DSC_0319.JPG size=4000:6000 MMM-ImagesPhotos.js:237 image setting size to 1440:2160 MMM-ImagesPhotos.js:238 image setting top to 791:0
-
“do a get pull”… To date, I’ve done little with repositories - can you elaborate on how I do this to make sure I do it correctly?
Also… Some updates.
-
CTRL - does not affect image size in any way. It DOES affect the sizing of the text for the other modules, though.
-
I believe that I have determined that the desktop / browser “believes” that it is in portrait mode. The images seem to be getting constrained properly, but because the browser is configured to be as tall as it is, I’m losing all kinds of content off the bottom of the screen. If I do a CTRL-SHIFT-I and then turn on the device toolbar, I see a full vertical representation of the browser and I can see the entire image. As I increase the zoom, it becomes apparent where the image is getting clipped vertically.
Thoughts?
-
-
@ember1205
do a get pull…No
“do a git pull”Do
cd ~/MagicMirror/modules/MMM-ImagesPhotos git pull
That copies the latest from a remote repo and updates the local copy and working directory.
I don’t understand how electron thinks it should be in portrait mode. Never seen that
-
@sdetweil yeh, you should NOT zoom in
I wonder if this has anything to do with the fake kms driver?
-
git pull says everything up to date and didn’t do anything. No image size info available.
I tried reverting TO the fake driver as I was not using it (real one instead) and that hasn’t made any difference. I also tried editing the startup file to remove the rotate setting, also didn’t help.
-
@ember1205 did u install.my MMM-ImagesPhotos or the original?
I JUST updated mine before telling u, and I just checked the new code is there.
In the MMM-ImagePhotos folder do
git remote -v
Should point to sdetweil