Wordpress install - media viewer?

61 views
Skip to first unread message

Jennie Levine Knies

unread,
Jun 23, 2014, 3:35:34 PM6/23/14
to scrip...@googlegroups.com
Hello - we've just set up a sandbox install on a server to test Scripto and WordPress.

I have just created a page with four images (JPG) for transcription:

http://scripto-sandbox.lib.umd.edu/wordpress/letter-by-joseph-raynes-in-liverpool-to-his-family-10-may-1831/

When I click any of the links to transcribe:

http://scripto-sandbox.lib.umd.edu/wordpress/scripto/?scripto_action=transcribe&scripto_doc_id=22&scripto_doc_page_id=6

The image is missing from the view (i.e. the div with the media viewer frame is missing).

Any ideas? Is there a setting we are missing?

Thank you,
Jennie

Jim Safley

unread,
Jun 23, 2014, 10:26:48 PM6/23/14
to scrip...@googlegroups.com
It appears that Zoom.it is returning an error and Scripto isn't
capturing it. I suspect that the error is "We cannot process your URL
at this time. Please wait a few moments before trying again."
Unfortunately Zoom.it has increasingly spotty service, and it's beyond
Scripto's control. [1]

If you're feeling adventurous, in your plugin code, find these two
lines [2] and change them to:

$media_viewer = $response->get_error_message();

This way you may be able to see the resulting "503: Service
Unavailable" error, which doesn't really help you.

The Scripto plugin for Omeka has an image viewer using OpenLayers
which works fine, but the WordPress plugin is limited to Zoom.it.

[1] https://getsatisfaction.com/livelabs/topics/not_accepting_new_images
[2] https://github.com/chnm/scripto-wordpress-plugin/blob/master/class-scripto-controller.php#L624-L625
> --
> You received this message because you are subscribed to the Google Groups
> "Scripto Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scripto-dev...@googlegroups.com.
> To post to this group, send email to scrip...@googlegroups.com.
> Visit this group at http://groups.google.com/group/scripto-dev.
> For more options, visit https://groups.google.com/d/optout.

Jennie Levine Knies

unread,
Jun 24, 2014, 11:53:11 AM6/24/14
to scrip...@googlegroups.com
Dear Jim,
Thanks for the info. I went over to Zoom.it and did some curls on a variety of different images. Every one returned a 503. I did some digging on their support forums and apparently Zoom.it hasn't been rendering any new images for several months (although if you had images previously, those will still work),

Seems that ZoomHub is a possible alternative: https://github.com/zoomhub/zoomhub. But it does not appear to have a finalized API. So... maybe out of luck?

Jennie

Jim Safley

unread,
Jun 24, 2014, 12:08:50 PM6/24/14
to scrip...@googlegroups.com
> So... maybe out of luck?

It appears so. An alternative would be to modify
Scripto_Controller::get_media_viewer() to render the image directly
instead of relying on an image viewer or tiling service. You'd lose
the user-friendly zoom and pan features, but a target="_blank" on the
image would open up the JPG in a new tab, allowing users to use their
browser to navigate the image.

On Tue, Jun 24, 2014 at 11:53 AM, Jennie Levine Knies
Reply all
Reply to author
Forward
0 new messages