Solution to the problem that thumbnails cannot be generated in linux or unix

Source: Internet
Author: User
For more information about how to generate thumbnails in linux or unix systems, see <G id = "1"> Linux Enterprise Application> Linux server application </G>. Solution to the problem that thumbnails cannot be generated in linux or unix systems currently, in addition to setting the upimg directory permission to 777, the following modifications are required on some servers.

Find the inc_photograph.php file in the include directory.

In the definition part of the ImageResize function of this file, it is about 35 rows.

Add the following statements under the global $ export _photo_type; statement.
QUOTE:

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.