Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images not loading #54

Open
ArdenKirkland opened this issue Aug 27, 2021 · 2 comments
Open

images not loading #54

ArdenKirkland opened this issue Aug 27, 2021 · 2 comments

Comments

@ArdenKirkland
Copy link

Thank you so much for this great plugin, which worked beautifully until just recently!

I've been doing all I can to try to resolve this on my own, but I finally have to admit I'm stumped. About 2 weeks ago I noticed that the Universal Viewer wasn't loading images properly. You can see what I mean at https://vccc.vassarspaces.net/items/show/1155. I've combed through past issues here and in Omeka forum posts and other solutions haven't worked for me. Here's what I've tried:

  1. Removing custom config.json for UV in theme
  2. Checking the box in configuration settings to force standard JSON
  3. Deactivating all plugins but UV
  4. Changing custom theme to standard Thanks Roy theme
  5. Uninstalling and reinstalling UV plugin
  6. Combing through my own recent edits to see what might have affected it, with no obvious culprits

With all these steps, it has continued to throw errors when trying to load images. My next step is to roll back to a backup from when it was still working, but I have made some substantial changes to exhibits which I don't want to have to redo if I can avoid it.

Can you please take a look at the many errors that pop up in browser dev console, to help me understand what has gone wrong?

@mkclark03
Copy link

Hi Arden,

I noticed that you were able to resolve the issue with images not showing up in Universal Viewer. If possible, would you mind sharing how you fixed it? I'm trying to set up UniversalViewer for my library's archives and I'm also running into trouble. Thanks!

@ArdenKirkland
Copy link
Author

Sorry I never posted an update here, @mkclark03 ! I did post an update in the Omeka forums: https://forum.omeka.org/t/images-not-loading-in-universal-viewer-plugin/13956/4

copying a bit of that here:
I finally did just roll back to the last backup of my site when UV was working, and retrace my steps since then, one by one. Lo and behold, it was my own new custom shortcode plugin that was the conflict! I had initially de-activated each plugin to look for conflicts and nothing showed up, but in this case I had to actually uninstall it. In the past, conflicts have been apparent just by deactivating, which is why I didn’t think that was the conflict. So, lesson learned!

Without that plugin installed, UV worked just fine again. So then I was able to roll forward to my most recent backup and uninstall that plugin without losing any of my other edits. Then I went back to the plugin to debug, and it really was just an issue of extra whitespace and indentation. I tidied those up, and then it worked just fine.

I hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants