JavaScript-I want to ask a few questions about the Linux server (CentOS 64bit) that I'm renting now and the cloud.

Source: Internet
Author: User
Would like to ask my website and app (Android) share a Linux back and then because I have a lot of pictures of the site so I intend to use the cloud as a picture storage now the problem is this

1. Is it possible for me to put all my pictures in the clouds and then I won't have any graphics in my Linux system??

2. Because I have a large number of images of the Web site, I want to ask whether it is when users upload a picture and then your system will automatically generate the number (see I am in the cloud to set a few but where to do a few settings? And then I'm going to use the system as a direct-generated thumbnail instead of using the original.

3. A spread of the image to generate a number of my definition of the map would like to ask this will be the bandwidth? Which part does it consume?

4. Pretend that many of my images may be long-square (long and wide) but you have a system that defines me as a square. Take short as a base and then cut it?

5. It must be cutting, not stretching, and so on. Can this and the cloud be done? Or how to do it? Can you cut the JS code in the cloud?
I don't think it's going to work that way. After all, it is long and wide but it is shown that you want to capture the clipping with the minimum side as the base (up and down center)
(Just like a lot of pictures Web site Pinterest petals)

Reply content:

Would like to ask my website and app (Android) share a Linux back and then because I have a lot of pictures of the site so I intend to use the cloud as a picture storage now the problem is this

1. Is it possible for me to put all my pictures in the clouds and then I won't have any graphics in my Linux system??

2. Because I have a large number of images of the Web site, I want to ask whether it is when users upload a picture and then your system will automatically generate the number (see I am in the cloud to set a few but where to do a few settings? And then I'm going to use the system as a direct-generated thumbnail instead of using the original.

3. A spread of the image to generate a number of my definition of the map would like to ask this will be the bandwidth? Which part does it consume?

4. Pretend that many of my images may be long-square (long and wide) but you have a system that defines me as a square. Take short as a base and then cut it?

5. It must be cutting, not stretching, and so on. Can this and the cloud be done? Or how to do it? Can you cut the JS code in the cloud?
I don't think it's going to work that way. After all, it is long and wide but it is shown that you want to capture the clipping with the minimum side as the base (up and down center)
(Just like a lot of pictures Web site Pinterest petals)

    1. The image will be stored on a server that is still on the cloud, and access to the image domain name is included .upyun.com . CDN acceleration, much faster than accessing your own server
    2. is not automatically generated by different versions are not clear, but when uploading can be set by the parameters of different sizes
    3. x-gmkerl-typeParameters can be set to process pictures with minimal edges fix_min
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.