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

ezra-g’s picture

Project: Drupal Commons » Facebook-style Micropublisher
Version: » 6.x-2.x-dev
Component: Code » Code - Functionality
Issue tags: +Commons

Thanks for the bug report - I'm moving this to the FBSSMP queue.

cpliakas’s picture

I 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

lightsurge’s picture

That'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.

IceCreamYou’s picture

I 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.

publicmind’s picture

Component: Code - Functionality » Photo plugin
Assigned: Unassigned » publicmind
Status: Active » Fixed

Fixed in 2.x branch with Commit: a87dcde

Thanks,

Automatically closed -- issue fixed for 2 weeks with no activity.