fieldtrip / website

This contains the content hosted on the FieldTrip website
http://www.fieldtriptoolbox.org
Other
39 stars 104 forks source link

images are missing #770

Open robertoostenveld opened 7 months ago

robertoostenveld commented 7 months ago

@marlenemeyer reported that images are missing on https://www.fieldtriptoolbox.org/workshop/madrid2019/tutorial_freq/ (and possibly others). I can confirm.

In the readme we have a section on checking for broken links and images.

wget --spider -r -nd -nv -o spider.log http://localhost:4000
grep -B1 'broken link!' spider.log  | grep http > broken.log 
robertoostenveld commented 7 months ago

Executing these instructions on the website itself (not localhost), I get the following list of broken links for files and pages

https://www.fieldtriptoolbox.org/workshop/hamburg2023
https://www.fieldtriptoolbox.org/assets/img/getting_started/limo/hierarchical_analysis.png
https://www.fieldtriptoolbox.org/assets/pdf/workshop/toolkit2022/openscience.pdf
https://www.fieldtriptoolbox.org/workshop/leuven2019/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/tutorial/multivariateanalysis
https://www.fieldtriptoolbox.org/development/guideline/video
https://www.fieldtriptoolbox.org/ft_preprocessing
https://www.fieldtriptoolbox.org/test/test_ft_preprocessing
https://www.fieldtriptoolbox.org/utilities/dccnpath
https://www.fieldtriptoolbox.org/tutorial/coregistration_opm/Barnes%20paper
https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock.md
https://www.fieldtriptoolbox.org/assets/img/template/layout/easycapm1.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D148.lay.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D248.lay.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D248_helmet.mat.png
https://www.fieldtriptoolbox.org/workshop/natmeg2014/dipolefitting/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/tutorial/headmodel_eeg_bem/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/tutorial/headmodel_eeg_fem/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/tutorial/headmodel_meg/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/workshop/ohbm2018/forward/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/workshop/baci2017/forwardproblem/references_to_review_papers_and_teaching_material/
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/design.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multipletrials.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiploter_interactive.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/singleploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/topoploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/tfrtiles.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiplottfr.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/figurepipeline.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/analysispipeline_sensor_analysis.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/timefrequencyanalysis/tfrtiles.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/timefrequencyanalysis/tfr_pipelinenew.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/easycapm10.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/preprocessing_erp/example_eog.png

and the following list of broken links to reference documentation on github:

https://github.com/fieldtrip/fieldtrip/blob/release/forward/ft_voltype.m
https://github.com/fieldtrip/fieldtrip/blob/release/engine/enginecellfun.m
https://github.com/fieldtrip/fieldtrip/blob/release/engine/engineexec.m
https://github.com/fieldtrip/fieldtrip/blob/release/engine/enginefeval.m
https://github.com/fieldtrip/fieldtrip/blob/release/engine/engineget.m
https://github.com/fieldtrip/fieldtrip/blob/release/engine/enginepool.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peercellfun.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerfeval.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerget.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peercontroller.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerworker.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerzombie.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerinfo.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerlist.m
https://github.com/fieldtrip/fieldtrip/blob/release/peer/peerreset.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_read_headshape.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_convert_coordsys.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_plot_headshape.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_plot_axes.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_transform_geometry.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_plot_sens.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_selectdata.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_topoplotic.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_headcoordinates.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_read_mri.m
https://github.com/fieldtrip/fieldtrip/blob/release/depsamplesT.m
https://github.com/fieldtrip/fieldtrip/blob/release/indepsamplesT.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_statfun_depsamplesFunivariate.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_statfun_indepsamplesF.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_definetrials.m
https://github.com/fieldtrip/fieldtrip/blob/release/ft_read_event.m
https://github.com/fieldtrip/fieldtrip/blob/release/utilities/ft_colormap.m
robertoostenveld commented 7 months ago

The missing image on the madrid2019 page is due to it referring to the tfrtiles.png image from another tutorial, and that being renamed over there. To prevent this from happening, tutorial and workshop pages should duplicate images, not reuse them from another page. Or alternatively, the images should explicitly be in the assets/shared directory.

robertoostenveld commented 7 months ago

@schoffelen I am fixing this now. Just for the future, some of them are in the recent coregistration_opm tutorial. Please note that references to online documentation on github should include the directory, so it should be for example [ft_plot_sens]/reference/plotting/ft_plot_sens) rather than [ft_plot_sens]/reference/ft_plot_sens)

schoffelen commented 7 months ago

OK, check.

robertoostenveld commented 7 months ago

I just pushed some updates, these images still need to be fixed:

https://www.fieldtriptoolbox.org/assets/img/getting_started/limo/hierarchical_analysis.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/easycapm1.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D148.lay.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D248.lay.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/4D248_helmet.mat.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/design.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multipletrials.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiploter_interactive.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/singleploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/topoploter.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/tfrtiles.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/multiplottfr.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/figurepipeline.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/sensor_analysis/analysispipeline_sensor_analysis.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/timefrequencyanalysis/tfrtiles.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/timefrequencyanalysis/tfr_pipelinenew.png
https://www.fieldtriptoolbox.org/assets/img/template/layout/easycapm10.png
https://www.fieldtriptoolbox.org/assets/img/tutorial/preprocessing_erp/example_eog.png