Brown-University-Library / OLD-ARCHIVED_iip-production

3 stars 9 forks source link

default noimage.jpg being loaded from old repository (2hrs?) #103

Closed emylonas closed 3 years ago

emylonas commented 3 years ago

On pages like this one: https://library.brown.edu/iip/viewinscr/caes0064/ There is no image of the inscription, and we display a default line drawing "Image not yet available." The jpg file is being loaded from: https://raw.githubusercontent.com/Brown-University-Library/iip-production/zak/iip_smr_web_app/static/resources/img/noimg.png

I think this is a different branch of the code tree. The correct image also exists in the main branch, in the corresponding directory.

Need to change the code to point to the image in the main branch. One place it is used is: /iip_smr_web_app/templates/iip_search_templates/viewinscr.html line 54

The image is also used on a search results page: https://library.brown.edu/iip/mapsearch/?q=(physical_type:fragment) On this page, the image is being called from a different, also out of date directory: https://library.brown.edu/django_media/iip_student_dev_media/resources/img/noimg.png

I think that both should be displaying the image that is in: iip_smr_web_app/static/resources/img/noimg.png

To find other place (if any) that this image is used, grep codebase for string "noimg.png."

emylonas commented 3 years ago

@atbradley can this be closed?