Please do NOT post requests for help here. Use the Help forum for that.
  • Page:
  • 1

TOPIC:

how can set the main image of an individual 1 month 3 weeks ago #1

  • doctorsubtilis
  • doctorsubtilis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
I don't see how I can set the main image of an individual (the image near the name). Can you help me?

Please Log in or Create an account to join the conversation.

Last edit: by doctorsubtilis.

how can set the main image of an individual 1 month 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14715
there should be an "add media" link where the image would be
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

how can set the main image of an individual 1 month 3 weeks ago #3

  • doctorsubtilis
  • doctorsubtilis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
I can add a new image, I know, but what I am not able to do is how to set an image as main image (near the name of individual)

Please Log in or Create an account to join the conversation.

Last edit: by doctorsubtilis.

how can set the main image of an individual 1 month 3 weeks ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14715
If you have added more than one image, the *first* one is used as the main image.

From the edit menu, choose re-order images.

If it is not that, then give us some more information about what you have done and what you see.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

how can set the main image of an individual 1 month 3 weeks ago #5

  • doctorsubtilis
  • doctorsubtilis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
I have imported gedcom from phpgedview, and now I have the images as multimedia objects, but no main image at all.

EDIT
My images are linked as external (in localhost).
Indeed if I copy an image to /data/media it works. But how avoid duplication of images on my PC? Why I can't simply link an image in /data/media?

Please Log in or Create an account to join the conversation.

Last edit: by doctorsubtilis.

how can set the main image of an individual 1 month 3 weeks ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14715
Can you post a URL to your site so that we can see what is happening?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

how can set the main image of an individual 1 month 3 weeks ago #7

Perhaps it is the same problem as described here - no thumbnails and no main picture for external files.

github.com/fisharebest/webtrees/issues/3913

Ladislav
webtrees 2.0.16 + ⚶ Vesta modules (from cissee.de/)
on PHP Version 7.3.14

Please Log in or Create an account to join the conversation.

how can set the main image of an individual 1 month 3 weeks ago #8

  • doctorsubtilis
  • doctorsubtilis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
> Perhaps it is the same problem as described here - no thumbnails and no main picture for external files.
> github.com/fisharebest/webtrees/issues/3913
> Ladislav
Yes, probably yes.

Please Log in or Create an account to join the conversation.

Last edit: by doctorsubtilis.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

how can set the main image of an individual 1 month 3 weeks ago #9

  • doctorsubtilis
  • doctorsubtilis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16

Can you post a URL to your site so that we can see what is happening?

You can see this screenshot:


My site is only in local.
I use external images from localhost.
As I have said the only image working as main image is one not external.
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by doctorsubtilis.

how can set the main image of an individual 1 month 3 weeks ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14715
The issue described in your screenshot is already reported/fixed.
See github.com/fisharebest/webtrees/issues/3857
The fix will be included in the 2.1.0 release.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

how can set the main image of an individual 1 month 3 weeks ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14715
> github.com/fisharebest/webtrees/issues/3913

This is working as designed.

We cannot know that a URL points to an image. It might be some other type of document.

Even if we assume that it points to an image, we don't know the size in pixels, and so we cannot crop it to the required aspect ratio.

So, the logic to choose the "primary photo" (for the individual page, chart-boxes, select-lists, etc.) looks for the first media object containing a local image file.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum