This topic is locked
[SOLVED]

 Trying to upload an image

8/12/2019 11:54:01 AM
PHPRunner General questions
B
bcritchley author

I have a very simple project that I have begun. I would like to have staff be able to upload an image as part of a simple equipment detail sheet. I had the project working at one point and was able to see the images in my SQL database, but something has changed and the field no longer populates to the database? I'm sure it was something I did, but for the life of me I am not able to determine what IO changed. I even tried creating a simple 2 field project and can not get that to work so that I can see the images? I am able to browse for the image from the completed project and hit submit with no errors, but that's as far as it seems to go.
Update 08/13/19 - It appears that the files size is what is causing the issue.

N
Nir Frumer 8/12/2019



I have a very simple project that I have begun. I would like to have staff be able to upload an image as part of a simple equipment detail sheet. I had the project working at one point and was able to see the images in my SQL database, but something has changed and the field no longer populates to the database? I'm sure it was something I did, but for the life of me I am not able to determine what IO changed. I even tried creating a simple 2 field project and can not get that to work so that I can see the images? I am able to browse for the image from the completed project and hit submit with no errors, but that's as far as it seems to go.

do you save the image in the database or save a link to the file location, if you save a link, is the related folder exist (usually it will be "files"..)?

B
bcritchley author 8/13/2019



do you save the image in the database or save a link to the file location, if you save a link, is the related folder exist (usually it will be "files"..)?


I would like to save the images to the database.