Skip to content

Restore Mariana (2015) Juxtapose satellite comparison embeds #1

@vgeorge

Description

@vgeorge

Summary

The post Imagens de satélite mostram rastro de lama e destruição em Mariana (MG) (/imagens-de-satelite-mostram-rastro-de-lama-e-destruicao-em-mariana-mg/) originally had two Juxtapose sliders (July vs November 2015 DigitalGlobe imagery).

Why they broke

Knight Lab still hosts the embed shell and JSON configs, but each config references JPEGs on the old WordPress media path (codigourbano.org/wp-content/uploads/2015/11/). Those URLs now return 404 (no archived copies found on Wayback for these files), so the iframes load empty.

Done in the repo (interim)

  • Removed the two iframes and added an archive Nota do arquivo with links to the public JSON metadata on S3 (useful to recover filenames, labels, credits, and slider options).

Metadata (Knight Lab S3):

Follow-up work

  1. Recover the four JPEGs referenced in those JSONs (e.g. from backups, DigitalGlobe/provider terms permitting, or other historical copies).
  2. Add them to the static site under something like assets/images/2015/11/ (or consistent archive layout).
  3. Re-enable the sliders by either:
    • hosting small JSON files in the repo whose src fields use HTTPS absolute URLs to the new asset paths, and pointing Juxtapose embed uid at those JSON URLs (Juxtapose accepts a full URL when the uid query param starts with http), or
    • another documented approach that avoids mixed content and 404s.
  4. Trim or keep the archive note once embeds work again (editorial choice).

Related file

  • _posts/2015-11-12-imagens-de-satelite-mostram-rastro-de-lama-e-destruicao-em-mariana-mg.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions