Jump to content
Sign in to follow this  
fraank

Get external URL and resize within SC

Recommended Posts

Hi there,

I^m new to this forum and the Supercontainer as well. I hope that this question hasn^t been posted very often:

Is there an easy way to get a external image (for example http://www.foreignserver.com/image1.jpg) into the Supercontainer and resize it to a certain width and height ?

Thank you so much for a quick help,

Frank

Edited by Guest

Share this post


Link to post
Share on other sites

You would use the SuperContainer companion plugin

SCSetContainer( folderPath; "http://www.foreignserver.com/image1.jpg" )

where folder path is the relative location of where to store this file in SuperContainer, could be something like "images/123"

then to get an image of a certain size you could use SCGetContainer( folderPath; 50; 50 ) this would return a 50X50 pixel preview image

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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