Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Resizing or scaling images in webviewer not working

Featured Replies

I have a client solution using SuperContainer, and in one of my webviewers is having troble resizing or scaling some of the images on some of the records (about 10 out of 200 records). I moved the images to another database on a different server (my development server), and they seem to scale without any issue. I also tried changing the image in photoshop, converting it from .jpg to .png, reuploading to the problem database and record, and it still does not scale.

I've attached examples screenshots of proper and problem records.

Any thoughts on this issue are appreciated.

Dave Wheelock

SC_Scaling.jpg.e331cab04df26b02454364e5624c38bd.jpg

What is the URL you are using for the web viewer?

  • Author

Hi David,

http://HOST.IP/SuperContainer/Files/calibration/UID?height=223&width=314&resolution=72&style=center&background-color=rgb(232,232,207)

I'm using the following within a let statement to specify height and width:

[

OB = "SC.viewer.picture" ;

HI = Int ( GetLayoutObjectAttribute ( OB ; "height" ) * Get ( WindowZoomLevel ) ) /100 ;

WI = Int ( GetLayoutObjectAttribute ( OB ; "width" ) * Get ( WindowZoomLevel ) ) /100

]

Thanks!

Dave W

Try adding style=noapplet as another URL parameter for that.

  • Author

Try adding style=noapplet as another URL parameter for that.

Yes, that works, but it seems like more avoidance, than a fix. By adding the 'noapplet' parameter, I loose functionality that I need. Namely, drag-n-drop.

Remember, most of the images in most of the records work fine. It's just a handful that don't. And, if I move these images to another, similar solution, on another server, the images scale properly.

Dave W

A different SuperContainer Server?

  • Author

A different SuperContainer Server?

Yes

Are both of your SuperContainer servers running v2.77? Which server is running which version?

  • Author

Are both of your SuperContainer servers running v2.77? Which server is running which version?

They are now! :

The 'problem' server was on 2.76. I just upgraded it to 2.77, and it still has the issue.

BTW, both servers are running standalone versions of SuperContainer Server, on Mac OS x 10.6 -- 10.6.4 on 'problem' server, 10.6.5 on 'good' server. If we need to upgrade to 10.6.5 on the problem server, I'll have to schedule it with the client.

Dave W

Try deleting the thumbnails directory in your SuperContainer root folder. This will force SuperContainer to remake the thumbnail images. One of the thumbnails may be having a permissions issue which is stopping it from being overwritten.

  • Author

Try deleting the thumbnails directory in your SuperContainer root folder. This will force SuperContainer to remake the thumbnail images. One of the thumbnails may be having a permissions issue which is stopping it from being overwritten.

There it is! That fixed it. Instead of tossing all of the thumbnails (we have about 200k stored images), I just threw away the the thumbnails related to this particular database. Is there any overwhelming reason to remove the entire thumbnail folder?

Thanks for the help David, have a great weekend.

Dave W

No, but if you had permissions problem with that one preview image there may be problems with other ones as well. If you run across similar issues with many other images you may want to just delete the whole thing.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.