I just upgraded my 1.34 to 1.36.10. And so far I think everything has gone smoothly but I'm stuck trying to figure out why my previews are so gigantic.
Before upgrade when hovering over the event still it would just play back same size but now it blows up huge and cuts off most of the image to the right of the frame it's displayed in, same thing happens to the camera previews.
I'm assuming this is some setting that didn't get set during upgrade. Can you guys point me in the right direction?
Thanks.
Huge previews
Re: Huge previews
I actually went through the php and css and found there was some hardcoded zoom code that was multiplying all the sizes by 5.
stuff like this:
transform: scale(5); /* (arbitray zoom value - Note if the zoom is too large, it will go outside of the viewport) */
and
$scale = intval(5*100*ZM_WEB_LIST_THUMB_WIDTH / $event->Width());
This probably should be an option and not just hardcoded in, since in my env it was causing problems
stuff like this:
transform: scale(5); /* (arbitray zoom value - Note if the zoom is too large, it will go outside of the viewport) */
and
$scale = intval(5*100*ZM_WEB_LIST_THUMB_WIDTH / $event->Width());
This probably should be an option and not just hardcoded in, since in my env it was causing problems
Re: Huge previews
Given that WEB_LIST_THUMB_WIDTH is something you can set, can you not just change that?
-
Re: Huge previews
Not really, that variable controls the default size before hover, once you hover there was a hardcoded *5 multiplication of the dimension, i've since removed it locally and it's been good.
Re: Huge previews
I'm guessing the intention here was to have the WEB_LIST_THUMB_WIDTH set to something like 64, so then the end result is 320 (which is what i have it set to) but at 64, the thumbs are too tiny to see anything.
-
- Posts: 1214
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Huge previews
I think you're right.I'm guessing the intention here was to have the WEB_LIST_THUMB_WIDTH set to something like 64, so then the end result is 320 (which is what i have it set to) but at 64, the thumbs are too tiny to see anything.
I use them more to see the cam is running, and hover for detail. (I set 48).
Given your case, maybe there should be a switch or selection for the magnification 1 to 5, say.
I bet if you send money, that'll happen. But I guess you don't care, now.