If I want to edit an image's title after it has already been added to the gallery (ie, appears on the gallery's page), the image thumbnail disappears on the gallery page, and only a blank placeholder is left. Clicking on the image (which brings up the slideshow) also shows no image.
Hovering over the image placeholder in the gallery, I can see that the URL is getting truncated after saving the edited title, as follows:
[mysite]/files/photos/img_0079.jpg becomes [mysite]/files/
The image title below the thumbnail placeholder is changed as desired, and the URL is as expected. Clicking on that link (which goes to the image's View/Edit page) also fails to show the image itself, presumably because of the same URL truncation (although there is no placeholder link for me to hover over and confirm). Likewise, if I make a note of the node URL (ie [mysite]/node/438) the image is still missing from the View/Edit page.
However, the image still exists. If I manually type in the full, untruncated URL (ie [mysite]/files/photos/img_0079.jpg), then the image appears full-screen as expected.
This all happens whether or not I have the "Automatic Alias" option checked or not. It also happens on the Preview page even if a title is not changed (but reverts to the previously saved state). In other words, it appears to be the process of any edit to the image that seems to be the problem.
(I've found similar issues noted on the forums with very old versions of drupal - over 5 years ago - but I don't know how relevant they are to my problem.)
UPDATE: I've cleared the cache and also disabled all modules that are not required by Views Gallery, including those in optional core, and the problem persists.
Comments
Comment #1
k_and_j CreditAttribution: k_and_j commentedI am still having this problem. I suspect this is a Views issue somehow, but can't find a solution. Here's an export of my gallery view:
Comment #2
k_and_j CreditAttribution: k_and_j commentedMy suspicion at this point is there is a bug in Views Gallery or one of its dependent modules. I'm all out of troubleshooting ideas.
Comment #2.0
k_and_j CreditAttribution: k_and_j commentedAdded more troubleshooting information
Comment #3
k_and_j CreditAttribution: k_and_j commentedUpgraded and still have the same problem.
Comment #4
rod.murphy CreditAttribution: rod.murphy commentedI'm also seeing this problem.
Unusually, however, it only occurs on our production server and not on our test server despite the views exports for the gallery view being identical.
For reference the views export is here: http://pastebin.com/ntRePYgk
The issue was initially noticed when someone attempted to remove an image from the gallery. As described above, a blank place holder would be left in it's place in the gallery view.
Similarly, when I unpublished a gallery_image node, the blank place holder remains but the image attached to the gallery_image node gets deleted. Unlike the op, the image doesn't remain in the files directory after an unpublish (although this may be an unrelated issue)
Short of delving into the source, I'm out of ideas as to how to troubleshoot further.
k_and_j, did you have any luck solving it?
Comment #4.0
rod.murphy CreditAttribution: rod.murphy commentedMore detail on troubleshooting
Comment #5
k_and_j CreditAttribution: k_and_j commentedI have not had any luck getting to the bottom of this, but I haven't done anything about it since my last post. And you?