This topic is locked

Images [BLOB] aren't showing

4/6/2007 3:07:28 AM
PHPRunner General questions
M
makaio author

Hi,
I am having trouble following your tutorial

There are two ways to implement this.


  1. You can save your images directly in database. Add a new field of BLOB type to your table, select Database image in View as and Edit as dropdown boxes for this field on Formatting Tab.
  2. You can save your images in a directory on your server. Add a new field of Varchar type to your table, select File-based image in View as and Document upload in Edit as dropdown boxes for this field on the Formatting Tab.


I've created a field with Blob type and Binary attribute but I can't find the Formatting Tab in PHPRunner. In "List page" I right-click on the image label and go to Properties and all I see are an Image width and Image height field with a Thumbnails box below it. Where are the View as and Edit as fields? Please help.
Thanks

J
Jane 4/6/2007

Mateo,
to open "View as" settings and "Edit as" settings dialogs double click on your field on the Visual Editor tab.

M
makaio author 4/6/2007

Hi Jane,
This is what I see in the web browser:


This is what I see when I double-click on my field in Visual Editior:



I don't see anywhere to select Database image as stated above. Have I done something wrong during the table/field creation? Also, when I look at the records in my table using phpMyAdmin after uploading a file using PHPRunner it does not show the file size in the BLOB field (ex. [BLOB]). Shouldn't it look like [BLOB - filesize]? This would indicate that the file wasn't even uploaded, right?

J
Jane 4/9/2007

Mateo,
it seems that this tutorial is out of date.

Here is the last PHPRunner tutorial:

http://www.xlinesoft.com/phprunner/docs/
You need to select Image on both "Edit as" settings and "View as" settings dialogs on the Visual Editor tab and then upload your file on the Add or Edit page.