I have played with all these tables, list, view, search and so all and all is working now.
I decided to play now with pictures, so i’ve added a field (Picture) to my Graves table and all is OK for me.
Now,when viewing a record from the Defuncts table, i want to display the grave picture corresponding to this record.
But the picture is stored in the Graves Table, not in the Defuncts table and i don’t know how to display the picture when viewing the defunct record !
I develop locally under Window7 and wamp server with php 5.6.4 (to correspond to the version installed on my provider servers). I use the default firefox browser, but I also have IE11 and Edge for testing.
After adding a few images, i can view their thumbnails in the view, when I click on the thumbnail, a viewing window opens and I see this image in the format that I defined in the tags). Everything therefore works as I wish. So I transferred my database and all the application files to my provider server and there the operation is very different.
With IE or EDGE, in the view Ican’t see the image but a link called “photo” of the name of the corresponding field of the database. When I click this link, the picture opens in the windows viewer, this is not what I want, but if not why not ?
With Firefox, it’s a mess. When I click on the link, a dialog box asks me to open the file “index.php”!, If I select the windows viewer by default, it works but I have to start the operation each time and I can’t still set the default image viewer for PHP files! More serious, how will visitors do ?
I’ve checked the php config on my provider server, GD2 extension is OK !
I may have forgotten something …
I would like, that the images open with the php viewer, as in local under wamp, without the visitor having to configure anything.