Sign in

Missing featured images

  • This topic has 27 replies, 4 voices, and was last updated 10 months, 3 weeks ago by .
Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #4877
    norbertg

    Publii 0.37.3 (build 13870) beta:
    After about 400 posts, the featured images are not displayed in the post list or as headers in the actual post. The image itself is also not part of the html code. It is completely missing.
    My theme is: melisa
    Example
    https://blog.at4.de/tags/ruhrgebiet/seite/9/
    465 still works
    466 does not work ( 471, 472…)

    #4879
    Bob

    The lack of an HTML image tag is because the image URL is empty, so it looks like there is no featured image.
    Have you tried to regenerate thumbnails?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4886
    norbertg

    Es gibt sehr viel ein vorgestelltes Bild! Ich habe etwa 400 Beiträge ohne Probleme erstellt, sie erscheinen gerade. Ich nehme an, dass es ein Problem mit dem Rendern
    mit diesem Betrag gibt. Ich habe alle problematischen Beiträge mehrmals gelöscht und erneuert: Das Problem bleibt gleich.

    #4889
    norbertg

    I attach 2 examples:
    First, a screenshot from the blog.
    Then the post 465, there the image is displayed.
    The post 466 is exactly the same, there the image is not displayed.

    Attachments:
    #4893
    norbertg

    One more hint
    The images are available in the preview. Online it is missing.

    I hope I was able to describe the problem sufficiently. I am not an IT specialist.

    #4894
    Bob

    Attach your website backup here (set reply as private) or if its size is too large use https://wetransfer.com/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4899
    norbertg

    The file is 17.76 GB in size.
    This is also too big for web transfer (max. 2 GB).
    I will upload the file to my own cloud (Nextcloud). However, this can only be done as a zip file.
    Is this ok?
    I will send the link later.

    #4901
    Bob

    Yeap, the .zip is ok for me. To reduce the weight of the backup file, you can zip the input folder only (‎(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ )

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4902
    devben

    Hi, I have exactly the same behaviour as @norbertg with v.0.37.2 and v.0.37.3 version.
    I tried 2 different themes with thumbnails regeneration, but the featured Image is just ignored when rendering the full site.
    The themes tested are :

    • Simple v2.3.0.0
    • Editorial-2 v1.0.2.0

     

     

    #4905
    norbertg

    Unfortunately, I can’t share the file via Nextcloud either. I have uploaded it several times, but Nextcloud does not show it.
    Now it is on the server at my provider and I don’t know how to enable access. It is already very big with almost 18 GB. Also the input directory is barely smaller than the backup.
    What do we do now?

    #4906
    Bob

    The backup please, it’s really hard to debug the problem just described something is not working.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4907
    norbertg

    I understand, but how do I get the file to download? It is too big.

    #4908
    Bob

    What do we do now?

    We can’t do anything without a backup, especially since this is not a frequent problem, I know sites with over 2000-3000 posts and they work very well.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4909
    norbertg

    Is there any other way to transfer the file?

    #4910
    norbertg

    If you have a cloud, could you open a subdirectory for me to upload the file to?

    #4911
    norbertg
    This reply has been set as private.
    #4913
    devben
    This reply has been set as private.
    #4930
    Tomasz Dziuda

    @devben – I have tried to debug your backup but all posts have their featured images on the single post pages. Could you describe your issue or explain what is the problem in your case? If you mean that there are no images on the post listing – please note, that featured images are disabled under your theme settings on the lists. After enabling the option – images appears.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4939
    Tomasz Dziuda

    @norbertg – your issue is caused by a fact that some of your images seems to be specific and causes this problem: https://github.com/image-size/image-size/issues/96

    I have replaced featured image to a different one and then it works, so the issue is not connected with fact that we exceed some limits.

    Please try to optimize your images with TinyJPG or similar tool: https://tinyjpg.com/ I have tested it with one of your invalid images and it helped. I suppose that some metadata included in your image broke image size detection script.

    The problem is connected with images in posts with ID:

    #422

    #421

    #420

    #419

    #418

    #417

    #416

    #410 (trashed)

    #409 (trashed)

    I will consider to change library to: https://github.com/nodeca/probe-image-size#readme but it is a bigger work and this is a first report of this type at this moment.

     

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4940
    Tomasz Dziuda

    @norbertg – also you can check if there are some invalid images in Tools -> Log Viewer -> rendering-process.log – if you see error like:

    [WARNING] renderer-context.js: wrong image path – missing dimensions for: /Users/XYZ/Documents/Publii/sites/ruhr-blog/input/media/posts/410/004.JPG

    Then it means that this specific image causes a problems with the image dimension detection 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4941
    norbertg

    Good day.

    Thank you for your quick information. I didn’t think about the image information because I have already developed a routine in image processing for years (from RAW development to downsizing the images for the www). But it is not a problem to delete the metadata (Exif) for export and downsize the images.

    It will try it soon and then report on it.

    #4942
    Tomasz Dziuda

    @norbertg – in fact it can be also a problem with image color profile or other metadata – TinyJPG removes a lot of them to reduce the file size as much as possible 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4943
    norbertg

    I reduced the image size on the first test, but kept the metadata. This did not work.
    Then on the 2nd test I also removed the metadata. That worked.
    Since I reduce relatively many images, I use “Faststone Image Viewer”. With it I can do many other routines.
    But I still test and inform then.

    In addition still another question: The pictures are reduced by Publii on a suitable measure. Could you tell me which format is suitable? I could then internally on my computer probably save a lot of space.

    #4944
    norbertg

    It’s just strange that the first 400 or so posts worked with the same method without any problems. Could there be a connection – or is it a coincidence?

    #4945
    Tomasz Dziuda

    I have no idea why, but definitely it is some problem with the images metadata structure. In my opinion it is just coincidence – maybe your tool used to optimize images received an update?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4948
    norbertg

    I have now removed the metadata in all problem posts: everything worked!!!
    I always work with the latest program versions. It will not be because of that. But it is also strange that it affects all images older than 30.06.2016. Could there be a connection?
    (I deleted my old blog with WordPress and now fill backwards, so copy all old posts into it).

    No matter how – for me the problem is solved for now.
    Thank you very much for this!
    I wish you a good time and good health.
    To the Publii project I wish much success – it is very good!

    Norbert Grosser

    #4949
    Tomasz Dziuda

    But it is also strange that it affects all images older than 30.06.2016. Could there be a connection?

    Maybe these images were shot with other camera? It can be a lot of reasons – I think that if we have solved your issue this has no more meaning now, because most probably we will be unable to improve our code as it uses a 3rd party library for the image size detection 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4952
    devben

    @devben – I have tried to debug your backup but all posts have their featured images on the single post pages. Could you describe your issue or explain what is the problem in your case? If you mean that there are no images on the post listing – please note, that featured images are disabled under your theme settings on the lists. After enabling the option – images appears.

    Pff I am so sorry…. I forgot I did this for my previous site.
    Shame on me…

Viewing 28 posts - 1 through 28 (of 28 total)
  • You must be logged in to reply to this topic.