• Laughinglizard

    (@laughinglizard)


    I have been working on a Photolog which uses WordPress and would really like to know what people think of it. The features of this Photolog include:
    – XHTML compliant code
    – Simple once click addition of photos, auto thumbnail and resizing
    – Extraction of EXIF information from original photo and saved as meta
    – Easy installation, as easy as installing WordPress
    – Simple, clean design and look
    – Simple navigation
    I still have some more work to get the archives and the paged navigation work correctly, but here is Pictorialis – My new Photolog.
    This code and template will be shared once it is ready.

Viewing 15 replies - 46 through 60 (of 100 total)
  • Chuckie

    (@chuckie)

    I know this is petty but on line 8 of narchive.php the character-set was empty. It turns out for some reason in the Alpha of WordPress 1.2 the Char-set was not set? Anyways once I put a char-set in it worked fine.
    There are a couple semantic errors in your narchives.php. The h3 tag should not have
    or strong tags in it. There are no reasons. If the
    tags are needed they should be applied before or after, the same effect is achieved.
    It appears to me that the strong tag is used in the <h3> tags to give them the bold effect. This should be done with stylesheets:
    h3
    {
    font-weight:bold;
    }
    I’m having a problem with each month returning below the next month on the narchives.php page. I believe the problem can be solved by putting a container around each photo group and then setting the witdh to 100%. However I have to be some where soon and can’t look at it.
    You can checkout what I have done so far at: http://photos.cconway.com/narchives.php
    Thanks for posting this great hack and letting us test it. I have been looking for something like this for a long time.
    Chuck

    ara

    (@ara)

    I was wondering if there is a way to list the thumbnails when a user clicks on a category?
    Kind of like narchives.php, how all of the thumbnails for that monthy will show, but have all of the images in the selected category show.

    Thread Starter Laughinglizard

    (@laughinglizard)

    @chuckie: Thank you for the great input. I will incorporate most of your suggestions in the next release of Pictorialis (or narchives.php whicever comes first).
    @ara: Yes it is possible, you could use my vanilla narchives.php from http://weblogtoolscollection.com However, you do have to remember that with multiple categories support, thumbnails will show up and multiple categories and might be overtly bandwidth intensive. To get around that, just use one category per picture. If you have trouble with it, please let me know and I will modify the narchives.php to suit your needs. šŸ™‚

    ara

    (@ara)

    LaughingLizard: hmm… I don’t think you got what I was asking. I mean if you click index.php?cat=1 instead of showing the most recent photograph but instead all of the thumbnails in the category.

    Chuckie

    (@chuckie)

    LL: I might be missing something, but I could not find the “Vanilla narchives.php.” I did find something from February — I’m not sure if thats what you were talking about. I was hopeing you had something like the regular narchives.php except that it would list categories instead of months.
    In the current narchives.php file I had a problem where the photos of different months would “stack” on each other. I fixed the problem and addressed some issues I spoke of in an earlier post.
    To see my Gallery: http://photos.cconway.com/narchives.php
    To download the fixes: http://photos.cconway.com/narchives.zip
    Directions: Unzip all the files into the root directory of the photo blog.

    Thread Starter Laughinglizard

    (@laughinglizard)

    @chuckie:
    Very nicely done. I do miss having the sematic markup with the definitions lists, but your CSS looks a little better. I will have to see if I can get the dl tags to look right using the CSS.
    However, I did get a chance to modify the narchives.php to show the thumbnails according to the categories. It even supports multiple categories with the thumbnails showing up under both categories.
    Here is what it looks like:
    http://mindfulmusings.net/pictorialis/narchivescat.php
    and you can download the file here, upload it to the root of your blog, and link to it from anywhere:
    http://weblogtoolscollection.com/b2-img/narchivescat.phps

    Thread Starter Laughinglizard

    (@laughinglizard)

    I still believe that a dl tag is more appropriate, thought more difficult to fashion in the way I would like to.
    I am also looking into providing a couple of different methods of building the thumbnails including selection of a random pixel area instead of just a smaller version of the picture.
    The other feature of interest to me is the ability to provide thumbnails for posts which contain pictures and ignore ones with just text so this could be used as a text blogging tool as well.
    Any more thoughts?

    Anonymous

    I’m getting:
    Warning: Cannot modify header information – headers already sent by (output started at /home/myusername/www/www/wp-includes/class-xmlrpc.php:2299) in /home/myusername/www/www/wp-admin/auth.php on line 71
    and same for 73, 75, 77, and 87
    What am I doing wrong here? I did a regular install of WP and had no problem.

    Thread Starter Laughinglizard

    (@laughinglizard)

    @anon: Are you still getting that error? I am sorry I missed your message. If you cannot get it resolved, please feel free to email me.
    Peace

    Anonymous

    Thanks for the wonderful hack, but I have a question – I have noticed that my pictures, once resized, look very very grainy. Is there a way to fix this? I am sending up the original versions, as they come out of the camera, and once they publish, they look pretty grainy. I am wondering if maybe I can do something to minimize the grain?

    Thread Starter Laughinglizard

    (@laughinglizard)

    The graininess of the picture could come from 2 different items.
    1) GD is not as good as the other packages for image manipulation but it is more widely available, thus the usage.
    2) The original image itself was small enough that a small thumbnail adds a lot of noise to the picture.
    If you compare your thumbnails with the ones in my example blog, would you say yours are more grainy?
    Finally, you could try to change the
    $compression = 100;
    at the top of wp-admin/post.php to different values to see if that makes a difference (range of 1-100).

    Anonymous

    Well I don’t t hink the images are too small, because I am uploading fullsized images from a 4megapixel camera. right out of the camera, these pics are about 2-2.5 megs in size each.
    I am confused about the compression, though. What would changing the value do exactly? I don’t know anything about php, which is why I was so thrilled when I found this hack – it does exactly what I’ve been wanting to do and it was super easy to install. Very user-friendly, so I am a little nervous about tinkering under the hood.
    I am running Gallery on my site as well, and I was wondering if there was a way to change the image proccessor from GD to whichever is the one Gallery uses? I am very pleased with how my images come out looking in Gallery, and if it wouldn’t be too much trouble, could you explain how one could go about changing the image processor?

    Thread Starter Laughinglizard

    (@laughinglizard)

    @ Chuckie: Good suggestions as usual. I have been thinking of similar functionality as well. However, I think a new table (with all the extra functions you talk about) is not such a good idea because a lot of extra code and overhead is added for very little gain. However, the code to check a post for images and then display thumbnails of the images is a great idea. I hope to get some work done on this soon.
    @anon: I am glad that you like this program and it has served you so well. The GD functions are built into the PHP and a little bit of PHP tinkering would be required to modify the image processor. I am going to be working on a newer version of this and I will try to incorporate ImageMagik as one of the photo manipulation options. The only problem with NetPBM or ImageMagik is that those require a little more configuration from the user and I wanted to keep this as simple as possible
    As an overall comment, I have had quite a few people complain about the graininess and the jaggedness of the thumbnails (and the main pictures in some cases). I have not been very thrilled with the performance of GD and might tinker with the code to see what else I can come up with. Please check back for updates.

    zach

    (@zach)

    Hi everybody, Im zach and Im new to WP from MT. A couple questions about this wp photoblog:

    1. I already have a weblog at domain.com/weblog/ . Am I correct in understanding that this is a completely separate weblog? So, its address will be something like domain.com/photolog/ ?
    2. Does new weblog, use a completely separate installation of the entire WP system?
    3. Should it use the same database/database user as my other /weblog/; same database, different database user?; different database, same database user; etc.?
    carthik

    (@carthik)

    1. Yes, different directory.
    2. Yes, pictorialis is a version of WP hacked to act like a photolog
    3. Same database, different tables, different prefix, different users.
    šŸ™‚

Viewing 15 replies - 46 through 60 (of 100 total)
  • The topic ‘WordPress PhotoLog’ is closed to new replies.