Jump to content
TNG Community

Cameraicon instead for pictures


Mc Tommy

Recommended Posts

Only the camera icon is visible, on some images, but no image. But if you move the cursor over the camera icon, the picture is visible???

The pictures shows when I log in as admin but as normal user???

 

First picture, with camera icon at some pictures

Second picture, shows all pictures

Third picture,  a strange thing, when I run courses over the camera icon THEN the picture is visible??? 

Skärmavbild 2023-01-06 kl. 14.01.07.jpg

Skärmavbild 2023-01-06 kl. 14.02.34.jpg

Skärmavbild 2023-01-06 kl. 14.04.14.jpg

Link to comment
Share on other sites

Go to TNG Admin ------> Media ------> Thumbnails and click the button Generate Thumbnails

Does it report it created any thumbs?

Do the images show now?

Roger

Link to comment
Share on other sites

Well the answer is right there on each of those line - "original not found"

So you need to figure out why that is - has something changed about your rootpath setting (TNG Admin ------> Setup ------> General Settings ------> Paths and Folder)?

If you go to TNG Admin ------> Media and search for Mary May Davie Hussey and click on that result to edit it does it show the image down below? Is it in the right collection/folder?

Can you post the URL to for example the page you gave the screen shot for?

Roger

Link to comment
Share on other sites

Tommy, I think there are spaces in the name of your files. One of the probable listed issue is name of the files.  On the web, the name of a file (before the .jpg or .pdf etc) must be without spaces, only letters, digits, and no special character except - and _.   No accent or any diacritical sign either (é ü, ç ...)

So

Mary May Davie Hussey.jpg

should be renamed something like :

Mary-May-Davy-Hussey.jpg

You will say that the files are quite visible on your computer. But computers and web are 2 different world with different rules. I know that on certain websites you can upload files with spaces and accents in the name, but it is only because the sites are fitted with a script that rename the files before upload.

Link to comment
Share on other sites

10 minutes ago, Katryne said:

Tommy, I think there are spaces in the name of your files. One of the probable listed issue is name of the files.  On the web, the name of a file (before the .jpg or .pdf etc) must be without spaces, only letters, digits, and no special character except - and _.   No accent or any diacritical sign either (é ü, ç ...)

 So

Mary May Davie Hussey.jpg

should be renamed something like :

Mary-May-Davy-Hussey.jpg

 

This is not strictly true - it's good to avoid spaces in filenames, but TNG and web servers are quite capable of dealing with filenames with spaces in them - they get encoded to

%20

so look like a mess when you see the URL, but will work. eg take a look at this page

http://blankgenealogy.com/browsemedia.php?mediatypeID=photos

and all the filenames have spaces in them, and all work OK

On the other hand, the accented characters in filenames "should" work, but I've seen that be much more troublesome, so it is good to avoid that.

Roger

Link to comment
Share on other sites

It looks like these media are set to always show, but then are attached to living people.  The checks are not done correctly on the thumbnail to see the always show flag and instead shows the default image of the camera icon.  It is a bug in TNG 14.

Link to comment
Share on other sites

10 hours ago, Katryne said:

Tommy, I think there are spaces in the name of your files. One of the probable listed issue is name of the files.  On the web, the name of a file (before the .jpg or .pdf etc) must be without spaces, only letters, digits, and no special character except - and _.   No accent or any diacritical sign either (é ü, ç ...)

So

Mary May Davie Hussey.jpg

should be renamed something like :

Mary-May-Davy-Hussey.jpg

You will say that the files are quite visible on your computer. But computers and web are 2 different world with different rules. I know that on certain websites you can upload files with spaces and accents in the name, but it is only because the sites are fitted with a script that rename the files before upload.

Mary May Davie Hussey.jpg works perfect, no problem at all,  While this "Fiat-600-4.jpg" image doesn't work as normal visitor, but as admin I can se the picture??? Not a single picture can a normal visitor see with the exception of the portrait picture!!!  https://www.tommyhogberg.se/getperson.php?personID=I01&tree=tree1

Skärmavbild 2023-01-07 kl. 09.45.17.jpg

Skärmavbild 2023-01-07 kl. 09.43.04.jpg

Link to comment
Share on other sites

10 hours ago, theKiwi said:

This is not strictly true - it's good to avoid spaces in filenames, but TNG and web servers are quite capable of dealing with filenames with spaces in them - they get encoded to

%20

so look like a mess when you see the URL, but will work. eg take a look at this page

http://blankgenealogy.com/browsemedia.php?mediatypeID=photos

and all the filenames have spaces in them, and all work OK

On the other hand, the accented characters in filenames "should" work, but I've seen that be much more troublesome, so it is good to avoid that.

Roger

Roger, Katryne has the same solution, it isn't correct for me. Look at this side:https://www.tommyhogberg.se/getperson.php?personID=I01&tree=tree1 and the picture "Fiat-600-4.jpg" Look at this site: https://www.tommyhogberg.se/getperson.php?personID=I04&tree=tree1 you cant se some pictures but hold the curser over the camera icon and you can se the picture: "Fiat-600-4.jpg" but this picture you se as visitor "Högberg-familjeträff-1.JPG"

Link to comment
Share on other sites

8 hours ago, bhemph said:

It looks like these media are set to always show, but then are attached to living people.  The checks are not done correctly on the thumbnail to see the always show flag and instead shows the default image of the camera icon.  It is a bug in TNG 14.

I also thought that it applied to now living individuals that you couldn't see the pictures but that's not true either, my father died in 1976 and there you can see some pictures but not all???

On this page you can see almost all images but several indicate a camera icon
https://www.tommyhogberg.se/getperson.php?personID=I04&tree=tree1

However, if you hold the cursor over the image, you can see the image as a normal visitor

Skärmavbild 2023-01-07 kl. 10.09.50.jpg

Skärmavbild 2023-01-07 kl. 10.10.05.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...