Sheet - image field max height is 4000

For users or potential users.
Post Reply
asceticwonder
Posts: 19
Joined: Thu Oct 15, 2015 8:44 am

Sheet - image field max height is 4000

Post by asceticwonder » Thu Mar 03, 2022 12:49 pm

Hello... Most of my sheets I have implemented as a overlay image for the convenience of being able to develop sheets in a different environment and just add interactive fields on top of the jpeg.

My ortho contract is a very long jpeg and when I first created the sheet and added the image, it was no problem.

Now after awhile I am making edits to the image and I cannot change the image file because now there is a height limit of 4000...

Was this changed by design or did this happen because of a change in some sort of dependency??

I am not sure how to proceed anymore without making a big change to the setup.

Thanks!

User avatar
jordansparks
Site Admin
Posts: 5739
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Sheet - image field max height is 4000

Post by jordansparks » Sun Mar 06, 2022 1:50 pm

4000 would be 40", but paper is only 11" tall. Does it spill across multiple pages?
Jordan Sparks, DMD
http://www.opendental.com

asceticwonder
Posts: 19
Joined: Thu Oct 15, 2015 8:44 am

Re: Sheet - image field max height is 4000

Post by asceticwonder » Sun Mar 06, 2022 7:17 pm

Hi,

Yes, when I first created the sheet I added pages sufficient enough to display the contents of the image overlay.

Here is screenshot of the current situation:

https://drive.google.com/file/d/1_UAhwu ... sp=sharing

Perhaps it is something easy for you to fix like increasing or eliminating the max size of the input field, but if not, please provide guidance on how to proceed. Remember that at some point OD did not constrain this field and the current image size you see in the screen shot is a live working version. Just that we can't update it now. :|

User avatar
jordansparks
Site Admin
Posts: 5739
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Sheet - image field max height is 4000

Post by jordansparks » Tue Mar 15, 2022 4:27 pm

Someone at Open Dental should research this to find out when it was changed and why. Then, we will know what to do.
Jordan Sparks, DMD
http://www.opendental.com

allends
Posts: 235
Joined: Fri Aug 23, 2013 11:29 am

Re: Sheet - image field max height is 4000

Post by allends » Wed Mar 16, 2022 10:08 am

The maximum value for static image height and width was last changed on 12/9/2014.
The maximum value was changed from 2000 to 4000 as part of a change to allow statements to use sheets.
There does not appear to be a time from 2008 to today that Open Dental has ever allowed a singular static image to be greater than 4000 pixels tall.

Would it be possible to just scan the image in as multiple jpegs? You could place each image on its own page and recreate the same effect.
Allen
Open Dental Software
http://www.opendental.com

User avatar
jordansparks
Site Admin
Posts: 5739
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Sheet - image field max height is 4000

Post by jordansparks » Wed Mar 16, 2022 2:30 pm

Ah, thanks for researching that. I suspect that your background finally got taller than 4000, and that's why you noticed it. We chose what we thought was a ridiculously tall number that nobody would ever hit. Each page is 1100 tall, so that's almost 4 pages. There might not be a problem with us allowing a taller number. I think it was just arbitrary. But someone would need to test it, and there might be other consequences that I can't quite think of.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply