I think it is consistent behavior, although I cannot say for sure. I am pretty sure that once multiple images have been attached to an object, the way these images display does not vary between views of that object's page in Pawtucket. What I do not know for sure is that attaching multiple images to an object will always result in the reported behavior. I played around with a few dummy objects with up to five images and got the reported behavior every time. As far as I can tell, as long as the last image in the list as displayed in Providence is not the primary representation, it will be this last image that is not displayed. Also, it is not only the image that is not displayed. The caption is not displayed either.
I currently have three objects with multiple representations and all three show the same behavior. The confusing part is that everything works fine under certain conditions that are not under the user's control. For instance, if I go to a (Pawtucket) page for an object with multiple images, it will have the reported behavior. However, if I change the primary representation in Providence to the missing (final) image, and then only refresh the Pawtucket page, everything works as intended as long as I do not leave the page. As soon as I leave the page and return to it, the reported behavior is back (with the difference that the image that was originally missing is now displayed and the penultimate image as listed in Providence is now missing). I have a feeling there might be more situations like that, as I thought a number of times that I had fixed the problem only to find out that I really had not.
I have not really fiddled with the image settings, except that I put in a watermark for large images in media_processing.conf:
ca_object_representations = {
.................
MEDIA_TRANSFORMATION_RULES = {
...................
rule_large_image = {
SCALE = {
width = 700, mode = width, antialiasing = 0.5
},
WATERMARK = {
image = (path removed)
width = 80, height = 78, position = south_east, opacity = 1
},
SET = {quality = 75, format = image/jpeg, background = "#ffffff" }
},
....................
}
}
I can see if removing the watermark makes a difference, but I am a bit strapped for time right now. As an aside, I would like to know to what extent I can thin out media_processing.conf in my app/conf/local folder. Can I just put in the above without the dots and the comma preceding the last set of dots and will Providence get the rest from the default file? Could I perhaps even leave off the SCALE and SET part? I have not had time yet to experiment with that. For now, with every update, I just copy the default media_processing.conf and then make the one change. Maybe something went wrong there (as in keeping an old version of the file or who knows what). Would using an old media_processing.conf (version1.7.*) make a difference? I doubt it, but I can double-check that too.
Anyway, you can see the behavior of my three objects with multiple representations by going to https://theoldtownmuseum.org/Catalog. Once you get there, search for baskets or click on any basket in the gallery. With one exception, all baskets have multiple images.
Thanks,
Eisso