This topic is locked
[SOLVED]

 image Upload

1/8/2005 10:43:00 PM
PHPRunner General questions
author

Database images displaying and upload


I can find no referance to using the Upload feature

501128 1/9/2005

while I'm asking lots of questions.. here is another 1 or 2 <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=3034&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />
I save my phprunner files off the root in wwwroot/runner/ but I want to display images (file based images) that are located inthe wwwroot/prodimages/ folder.
How can I force phprunner to look in a specific directory, or tell it to start up a directory using .. without changing the path of every file already in the database by adding ../ to it.

Sergey Kornilov admin 1/12/2005

Paul
Images can be stored directly in database fields of type BLOB (MEDIUMBLOB, LONGBLOB, etc ...). They are called database images. PHPRunner builds pages which are able to display and edit those fields.
There is an example of displaying and editing of BLOB column Picture at Live demo on page Categories.

I save my phprunner files off the root in wwwroot/runner/ but I want to display images (file based images) that are located inthe wwwroot/prodimages/ folder.

How can I force phprunner to look in a specific directory, or tell it to start up a directory using .. without changing the path of every file already in the database by adding ../ to it.


You can modify SQL query in PHPRunner for this purpose. If your database field pointing to images is Picture, then you can add column SpecPicture on Edit SQL Query tab in PHPRunner

select

...

Picture,

concat('../',Picture) as SpecPicture,

...

from mytable


The SpecPicture column will contain Picture with ../ added to the left. And you can use it to diplay your field based images.

501129 1/20/2005

HI,
Great Product, PHPRunner 1.1. We will be buying it so long as I can get it to do what I want in the trial version. Here is my situation:
I have a database which consists of small thumbnail pictures of our products, along with details about the various products. The thumbnails display fine in the table PHPRunner generated, but I want the user to see the bigger versions of those pictures once he/she clicks on the 'view' button. How can I do this?
Hope you can help
Zack

Sergey Kornilov admin 1/20/2005

Zack,
please read the following article that explains how to create thumbnails with links to larger picture using ASPRunner.
PS. Please post PHPRunner related questions to PHPRunner support forum.

501130 1/20/2005

Thanks for the quick reply! I'll post a reply with my experiences once I get it to work...
I dont get it though, it says this is the PHPRunner Forum. What is the link to the other PHPRunner Forum..??

Sergey Kornilov admin 1/20/2005

Zack,
my fault, this is the correct forum.

501131 1/23/2005

Zack,

please read the following article that explains how to create thumbnails with links to larger picture using ASPRunner.
PS. Please post PHPRunner related questions to PHPRunner support forum.



Do you have to have both PHPrunner and ASPrunner to use the thumbnail to large picture technique?

Z
Zack 1/23/2005

All i have is PHPrunner.

Sergey Kornilov admin 1/25/2005

This article applies to both ASPRunnerPro and PHPRunner. The idea is exactly the same.