Jump to content
Server Maintenance This Week. ×

SC Now Exports to PNG format on our JPG images


This topic is 3687 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Something we've noticed. 

 

  1. Upload a JPG Image to Super Container
  2. SC stores and delivers as JPG with RawData URL
  3. When specifying width and height dimensions it then renames the file to "file_jpg.png" and is a png

Is there anyway to keep the original file format? 

 

This seems to be new behavior. We just recently upgraded to SC 2.896. I can reproduce this in the chrome browser so it's not a FileMaker issue. 

Link to comment
Share on other sites

  • 2 weeks later...

For a RawData URL, SuperContainer will return the original image with its original dimensions, but when you set a width and height, you are telling SuperContainer to shape the image into a certain size. SuperContainer server responds by creating a thumbnail of the image with the specified dimensions, and when SuperContainer creates a thumbnail, it creates a .png file. This is just the method we use to generate the thumbnail.

 

We could probably do a better job with the filename though. Having a file named "X_jpg.png" isn't very nice looking.

Link to comment
Share on other sites

This topic is 3687 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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