Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There seems to be an issue with the Facebook Style Micropublisher photo publishing and private file systems. By default it produces images with imagecache (which work fine) but that link to the file. system/private/file produces a 404, so Drupal core doesn't seem properly aware of these files.
I just set fbsm not to link to the full image but to another imagecache template, as it didn't seem necessary on the micropublisher to have full size photo downloading anyway.
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedThanks for the bug report - I'm moving this to the FBSSMP queue.
Comment #2
cpliakas CreditAttribution: cpliakas commentedI tried replicating the issue, but private files seem to work fine with FBSSMP on the installation I am using, even when using an imagecache preset.
Thanks,
Chris
Comment #3
lightsurge CreditAttribution: lightsurge commentedThat's odd, unless this has been fixed in a patch not in Commons.
Private files work fine for me across Drupal except in FBSM... although I'm not sure what you mean about imagecache... images called through imagecache work fine for me too. But when clicking them and getting taken to the original image, that's when the problems start.
Comment #4
IceCreamYou CreditAttribution: IceCreamYou commentedI can reproduce this. The problem is that file_create_url() on line 355 of photo.inc returns a URL that doesn't actually point to the image. Not sure what the right solution is.
Comment #5
publicmind CreditAttribution: publicmind commentedFixed in 2.x branch with Commit: a87dcde
Thanks,