image styles not generated by tome

Created on 2 February 2023, over 1 year ago

Problem/Motivation

I think I know what's happening with my problem... I am building my static site on a CI server, so basically from scratch, but my images on my page are not getting exported. I believe this is because Drupal is not generating the image styles, b/c they are not being fetched by a browser. Drupal will only generate an image style when it's requested and doesn't exist yet, but I don't think Tome is requesting an image, it's simply registering that a link to the image is on the page. Then tome looks for the image on the file system, but it's not there, so... no images in my static site.

Steps to reproduce

Proposed resolution

Not sure...? Can tome recognize an image style and "prime" it by requesting it from Drupal (http/s)?

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.10

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dpagini

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dpagini
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States dpagini

    Actually, I don't think this was an issue. My problem, I believe, was somehow (not sure yet how) my pages were referencing image styles with invalid tokens. Since I'm using a static site, I don't really care about the image style token, so I can shut that off in the image.settings configuration.

  • Status changed to Active over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States dpagini

    Ugh, sorry... I thought this was fixed, but I still don't think it is. It was just working locally, but that was still b/c I was visiting the page in a browser, which creates the image styles.

  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States dpagini

    I did see that, but did not try it...
    Ok so this is working for me now again. Sorry for all my confusion. I think the issue was the invalid tokens (using Gutenberg, it saves image style tokens to the source HTML) that were causing the styles to not generate.

Production build 0.69.0 2024