A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Load image from PHP variable

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Posts
    2

    Load image from PHP variable

    Hi, i have no ide how to do this but in flash. I have a php script which prints a image. The image is printed where ever i put '$first'. In html it looks like this

    <img src="<?= $first ?>" />

    How can i make flash open images.php and print the image which is defined by $first

    /C

  2. #2
    Junior Member
    Join Date
    Jun 2010
    Posts
    2
    Anyone?
    I would be really happy for some help. I've tried so solve it but i don't understand.

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    25
    I have only tried to load images using the following code:
    Code:
    using System.IO;
    using System.Drawing.Printing;
    using Yiigo.Imaging;
    using Yiigo.Imaging.Processing;
    using Yiigo.Imaging.Loading;
    
    // Load images in different format from disk
    YiigoImage image = new YiigoImage();
    image.Load(@"C:\yiigo_example.jpg");
    
    // Load PDF document
    YiigoImage doc = new YiigoImage();
    doc.Load(@"C:\yiigo_example.pdf");
    
    // Load Microsoft Word document
    YiigoImage doc = new YiigoImage();
    doc.Load(@"C:\yiigo_example.docx");
    You can also google it and selest some tools to help you with the image loading work. I hope you success. Good luck.



    Best regards,
    Arron

  4. #4
    Junior Member
    Join Date
    Jul 2013
    Posts
    22
    Apart from image loading from PHP, I tested loading image from .net graphics, you can easily load & open an image from .net Graphics bitmap, as well as from .net Graphics screen. And currently, most common image formats such as png, jpeg, gif, tiff and bmp are supported.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center