Page 1 of 1

Image Upload

Posted: 2019-04-29 07:44
by uchhavi
Hello,

I noticed some funny thing.

I uploaded profile pics of my employees.. and since my database is under development, I uploaded the new files on the server after making a few changes.

Now I noticed that profile pics of few of my employees when missing... so some had their profile pics and some when missing.

How do i deal with this? is there a folder i can put the profile pics or images with i can save before copying the other files on the system.

Please let me know what I can do for solving this.

Re: Image Upload

Posted: 2019-04-29 18:33
by uchhavi
Please help answer this.

Re: Image Upload

Posted: 2019-05-08 11:21
by a.gneady
To make sure I understand this clearly: do you have non-empty values in the photo field but no photos showing, or did the values in fields disappear altogether? Could you post a screenshot please?

Re: Image Upload

Posted: 2019-05-09 19:32
by uchhavi
Hello a.gneady,

I have attached the file. I hope this file shows the error.

I have tried to upload pic 2-3 times but they disappear after 1.2 days...

Same is the status with the files uploaded. In the same attached image, please see the resume section, the files have disappeared

If there is a folder that i need to copy before uploading the updated files, please let me know. so that i can do so for future

Re: Image Upload

Posted: 2019-05-24 15:45
by uchhavi
Hello

Please can you answer.

Re: Image Upload

Posted: 2019-05-25 10:43
by ebremmer
Hello,

I'm using XAMPP and have the same problems.

Eric

Re: Image Upload

Posted: 2019-05-25 10:53
by ebremmer
Hi,

I also noticed that the images are not stored in the /images directory.

I've edit the defaultLang.php file and changed the line:

$Translation['ImageFolder'] = './images/';

into:

$Translation['ImageFolder'] = '/images/';

(I removed the '.')

What happened: a directory outside .htdocs called 'images' is created and the images are stored there.

It's my opinion that the initial line in the defaultLang.php file uses an invalid path for creating the 'images' directory.

Eric

Re: Image Upload

Posted: 2019-05-29 10:16
by uchhavi
thank you..

I have checked now that the files are all saved in the images folder... so i will need to copy out the images folder and paste it again later when I reupload my program to the website online.