Smart Image Processor PHP Tutorials

To give you more inside knowledge of the working of the Smart Image Processor, here you can read all the available online tutorials!

This Product is Discontinued, Please get Smart Image Processor PHP 2


Display uploaded images

How do you display images from a database on a web page

You resized those images, but how do you pull them out of the database and display them on your page?
That is exactly what we are going to do now. Read through this carefully.


Previous TutorialTutorials IndexNext Tutorial

How to do it

  1. Open page

    Open your aspx file that will display the resized image.

  2.  First create a dataset
  3. 1. From the Server Behaviors, choose Dataset and name it Dataset1.



    2. Select the datasource connection.
    3. In the dropdown select the Table.
    4. In Columns select the fields.
    5. Click OK.
    6. Press CTRL-S to save your file.

  4. Edit the area where you want to show the image
  5. 1. Click on Insert Image.
    2. Select Data Source.
    3. Open up the Recordset by clicking the + sign.
    4. Select the appropriate field that you saved the images into.



    5. Important! This next step is ONLY necessary if you DID NOT save the image with the full path in the database!
    In URL section enter the name of the upload folder that your images are. Right at the beginning.

  6. Click OK
  7. Save the file in your site
  8.  You will need to save the file in your site. Check it out!

Previous TutorialTutorials IndexNext Tutorial

Comments

Be the first to write a comment

You must me logged in to write a comment.