Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Main image not loading

The main image is not loading properly in the hemes/default/views/Details/ca_objects_default_html.php page--although the secondary images are properly tiled. This seems to happen mainly with jpg/jpeg, not with tiff and png. The image manu barely appears on a black line on top of the page, as shown in the atachment. I have both ImageMagick and GraphicsMagick available. Imageick appears in phpinfo.php, but the CollectiveAccess configuration page does not seem to aknowledge.

Comments

  • Hi tortugamarina,

    Since you have more than 4 images on this record, the default settings in media_display.conf are set to load the document viewer in this case.  You can either disable this option, or set a height for the document viewer so that it loads in the view properly.
  • Great, thank you. Just for the record: the file to modify is media_display.conf within the theme, as in themes/default/conf/media_display.conf
    What worked for me was setting the parameter in line 27:
    use_universal_viewer_for_image_list_length_at_least = 4,
    to
    use_universal_viewer_for_image_list_length_at_least = 0,

    Instead, changing the height in line 25 made no difference, but it can be set differently, as stated in
    http://collectiveaccess.org/support/forum/index.php?p=/discussion/298739/pawtucket2-1-7-universalviewer-is-minimised-when-displaying-pdf-doc-in-details-view
    editing the file
    themes/default/views/mediaViewers/UniversalViewer.php
    line 49, to set a fixed (as in "600px") height for the media viewer. The problem with that is that the media viewer is locked in some fixed height when called in every situation, which makes it not as useful.
    Maybe this minimization of the viewer has to do with the definition of a <div> within the css?

    One thing I noticed is that thumbnails are not showing in media viewer, just the frames.

    Thank you again.

Sign In or Register to comment.