Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

error 404 in media 2 months 1 week ago #1

  • maximinus
  • maximinus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
As the old setup in 1.7 seems to make problems I set up a new site in version 2.0 which went flawlessly. Finally uploaded a gedcom file with the option to discard the path information to mediafiles

Everything seems OK except I ended up with 404 in the Icons where the images should appear.

When in Person I open Tab multimedia I see the 404 on the left and a path media/Picturename.jpg. I uploaded the all the jpgs with identical names into this media directory bit this did not help. When I upload a single jpg anew it is there to the right after all the 404 icons. I cannot find a possibility to delete these (empty) images, only add or rearrange. Where may it be hidden?

Regards Gerhard
Webtrees 2.0
webtrees.bastir.at

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

error 404 in media 2 months 1 week ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14403
404 means that the image cannot be found.

What setting do you have in the control panel for "Data folder".
This is "data/" by default.

What setting do you have for media path in the family tree preferences?
This is "media/" by default.

What filename do you see in the media object.
e.g. "photos/grandpa.jpeg".

Join these three together. e.g. data/media/photos/grandpa.jpeg.

Does the file grandpa.jpeg exist at this location?
If no, then you will get a 404.
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.

error 404 in media 2 months 1 week ago #3

  • maximinus
  • maximinus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
@fisharebest

I got it. Your message was helpful. I realised that a file in the /media directory has no path statement. If it has one, it is in a subdirectory of /media. Therefore a made 2 subdirectories /media/media and /media/Bilder copied in both all the jpg-files and now the 404 disappeared.
Now there is also a delete button functioning

Many thanks
Gerhard
Webtrees 2.0
webtrees.bastir.at

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

error 404 in media 2 months 1 week ago #4

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14403
If all your media objects start with "media/", then you can easily remove it.

During import, there is an option "remove media path". Just select "media/" here.
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