This topic is locked

Images wont display

11/23/2011 2:51:09 PM
PHPRunner General questions
S
swanside author

Hi there.

I have just added a photo table to my project, I have a field for Photo and it is a varchar (50) so I am storing the images in the files folder.

PHPRunner has created the files folder in the correct place, and when I ftp to the server, I can see the images stored as the image file name and the thumbnail, but in the database, when I try to view the image, it displays a red x. The URL for the image is https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=18403&image=1&table=forumtopics, now as you can see, the URL is wrong, it should be https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=18403&image=2&table=forumtopics, but for some reason, it is not putting the / between the folder of files and the image name?

This is on PHPRunner 5.4

Any ideas please?

Cheers

Paul.

C
cgphp 11/23/2011

Set the "Folder where files reside" value for the image field as:

/logs/files/