animated bunneh icon
  • burr86

302: lj_dev

In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same conversations we've been having here can instead be posted to lj_dev.

lj_dev will be the place for everything related to LiveJournal/FotoBilder development topics. This includes both the code itself, client development, as well as installing the code. So, feel free to join the community and participate. :)
  • hub_

(no subject)

Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly with this:

[Wed Oct 25 00:58:32 2006] [error] Can't locate object method "boot" via package "mod_perl" at /usr/lib/perl5/Apache/ line 8.\nCompilation failed in require at /usr/lib/perl5/ line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/ line 6.\nCompilation failed in require at /home/fb/lib/ line 7.\nBEGIN failed--compilation aborted at /home/fb/lib/ line 7.\nCompilation failed in require at (eval 3) line 1.\n


Scrapbook question

Is there any way to download whole photo galleries from LJ scrapbook onto your computer?

I uploaded a bunch of photos from my cousin's house using the XP publishing wizard, but now that I'm back home I would like to have copies of the originals on my own computer. I don't want to get each image using the old "right-click and save as" trick in internet explorer because that would take forever. I would like to find a faster way to download the whole gallery all at once, like something similiar to an FTP. Are there any tools out there that can help me do this?

I can use fotobuilder to upload photos in bulk, but is there any way I can use it (or something else) to download them?

Damn, wouldn't that be awesome if we could FTP into our livejournal accounts somehow to download our old journal entries and pictures? Sounds like a nifty little project for one of my amazingly talented programmer friends.
  • Current Mood
    curious curious

Broken X-FB-Auth support in Apache/FotoBilder/

I noted a broken X-FB-Auth support in the module. Here is a fix:
--- cvs/fb/lib/Apache/FotoBilder/ Mon Jan  2 11:19:23 2006
+++ lib/Apache/FotoBilder/        Mon Jun  5 23:52:15 2006
@@ -79,7 +79,7 @@

     # need to see if there's a reference to this picture in some gallery
     # that the remote user has access to view
-    return 403 unless $up->visible;
+    return 403 unless $up->visible_to($remote);

     my $palspec; # palette colors, set if $extra begins with '/p'
     my $g;       # pic to serve  (FB::Gpic object)
(Error existed because Upic::visible just calls FB::get_remote() to get $remote, without checking X-FB-Auth.)

But I'm not sure, can such fix cause some security problems?
  • ravrhi

issues on the gallery page

I have 7 galleries, but on the main gallery page, it only shows 5 of them, unless I chose to view them by 'alphabetically' or by 'recently updated'. Is there a way to fix this so that all my galleries show up when I send people to view them?

Improved resize techniques

I always hated doing by hand things that can be automated. One of such things is preparing photos for web - resizing, sharpening etc. Stock Fotobilder can resize photos, but they sometimes greatly loss in quality (especially details) due to standard ImageMagick (bilinear?) resize. On of the well-knowing techniques is a resizing photo step-by-step, sharpening it on every step. It produces result almost equivalent to simple resize + sharpen, but small details are more sharp.

So, I replaced simple resize to such advanced resize on my fotobilder setup.

Collapse )

  • halkeye

(no subject)

does fb function if mod_perl is compiled in as a dso instead of staticly?

I've just been messing with my apache, and recompiled everything, and now FB doesn't work.

Line 1023 of lib/FB/ is the first failure point...
at my $db = @FB::MEMCACHE_SERVERS ? FB::get_db_writer() : FB::get_db_reader();

Now i havn't changed any of my FB settings, and I only have a master setup, so any ideas?

  • loom

Problem processing images from a Nokia 6610i

I apologise in advance if this is the wrong place to post this.

I originally logged an LJ support request here.

There are other "similar" requests pending here and here. Although they may be different types of phones.

After further investigation, it appears to be a problem with the way fotobilder processes the images.

Using scrapbook to rotate an image generates the following message

"error instantiating image from scalarref: Exception 425: Corrupt JPEG data: 158 extraneous bytes before marker 0xd9"

I'm guessing that the same image processing objects are reused in vaious parts of the system - generating thumbnails, scaled views and the like, and that because of the unexpected data the code doesn't work.

A sample of one such image is
  • banana

(no subject)

I see that ScrapBook is having difficulties following the LJ data centre move, but because of that I noticed a small thing that someone may want to fix at some point. I got a 500 error trying to load a picture from and the 500 error page told me to contact which doesn't seem right.