Unfortunately, I’ve lost the code to this during my move from one provider to another. The gallery tutorial here was meant for WordPress 2.5 and is no longer relevant anyways. Thanks for all the comments n it though!

This entry was posted in Coding, Unix, Work and tagged , . Bookmark the permalink.

15 Responses to WordPress Gallery tutorial

  1. Hello my friend!
    Now I am finally done with my own galleries, or actually they have been done locally for a while, but after having some problems with my webhost, I haven’t been able to upload the new stuff until now.

    The guide worked out perfectly for me, accept for one little thing. I had a problem with this line:

    preg_match("/.*(/wp-content/uploads/S+.S+)/", $img_url, $matches);

    which I had to replace with:
    preg_match("#.*(/wp-content/uploads/S+.S+)#", $img_url, $matches);

    Since it otherwise interpreted the next / wrong. Don’t ask me why, I found the solution by googling, but I guess maybe you know the answer anyway… :)

    I also have a request:
    The images on the “show full (medium) image-page” links to the next image when you click it. So far perfect! The problem is, when you come to the last image, it would be great if it could start from the beginning again, instead of just jumping to the previous image. This maybe isn’t such a big problem, but if you manually change the order the photos should be displayed, so that the last attached image (highest attachment id) maybe ends up somewhere in the middle, it doesn’t work anymore, since you won’t come to the next photo from there. I hope you understand what I mean!

    Anyway, if you want to check out the result, go to jensfilipsson.com/category/photo-album/

    Thanks for your help, a great guide this, a great guide indeed!

    // Jens.

  2. Pingback: Jens Filipsson » Blog Archive » Wordpress Photo Galleries, Matt Mullenweg style

  3. Vii says:

    Thank you – this was an amazing and very useful guide!

  4. hd-J says:

    I have been trying to do that for days! Thank you so much for your help! Now I can give it a try on my next project!

  5. Hey guys, thanks for the comments. Sorry it took me so long to approve your comments, I’ve been lacking on the site administration! :)

  6. Drew Johnston says:

    Hello, I am trying to implement this photo gallery style into my blog, however it’s not going to work without a fight… None of the Exif data works, and the image is showing the very large original… I was wondering if you could help me. I’ll send you my website link upon your reply, thanks.

  7. steve says:

    Drew,

    I’m sorry to hear you’re having trouble – please feel free to send me your website address and I’ll take a look.

  8. Hello, Just notice your site was back online and decided to tackle this gallery again, I have like hundreds of images from years past of events, bikes, crowds and things for a client. The actual website the gallery needs to work on is http://www.wharfratrally.ca, however my test site is http://www.crazy-drew.com/wordpress/, This is where I need to get the gallery working before I move it to the other site. I have created the files needed, but something just isn’t working right. I can create an account for you on both website which would have access to modify things. I hope your willing, trustworthy..lol and able to help me! Many thanks in advanced!

  9. Thank you for your post!

    Unfortunately the galleries as well as the pictures are not integrated into the search and the tagging function Matt uses is not implemented …

    • steve says:

      Hey Phil,

      Yeah, this tutorial was created almost a year ago when the gallery feature came out – back then Matt didn’t have the tagging stuff up on his site. It’d be a fun project to add that though! I’m not sure what you mean when you say the galleries aren’t implemented into the search – I can search for certain words and if the gallery post has that information – it comes up. Unless I actually had tagging information like Matt’s site, I’m not sure what information there is to search on.

  10. THX for your feedback! The search seems to work for the gallery description. The descriptions of single images are not searchable.

    Regards, Phil

  11. BTW: I put the link to your solutions Matt’s blog: http://ma.tt/2009/03/new-spring-design-2/

  12. Pingback: How to make a gallery in Wordpress « Onigoetz.ch

  13. Pingback: wp-popular.com » Blog Archive » Wordpress Gallery tutorial | the second phase

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Browse by Topic