Issues related to Pchart Access thinkphp project

Source: Internet
Author: User
Pchart access to thinkphp project issues
This post was last edited by net8386308 on 2014-07-24 16:00:26

After their own research and the old Xu's nudge, can achieve the effect of displaying pictures, and then I implanted thinkphp Project, test results are OK "mainly instantiate class."
, but here's the problem. I now want to put in the template HTML here, the result ... I do not know whether I understand the error or what happened, here is the owner of the card, and if it can be displayed normally, I change how to display in the specified location "code is through this display Picture: $myPicture->autooutput ("./public/pchart/ Examples/pictures/example.drawbarchart.simple.png ");" (should not be the problem of coding, I added UTF-8 "and this is the picture") but I am in the template if the use of the words will show an error, Is that the method does not belong to a class, model, first step by step to solve it, if you have the relevant experience of Daniel, help to see!
------Solution--------------------
I came to take a blood, it seems to be garbled ah? This big, high-grade thigh.
------Solution--------------------
Your Pchart app output is a picture
So you need to use an IMG tag to load

The exact wording is similar to the verification code
------Solution--------------------
You're going to pass the argument, that's not it.
Unless the parameter is not controlled by the client

  • 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.