Title: b2photos hack beta
Last modified: August 18, 2016

---

# b2photos hack beta

 *  alexkingorg
 * [22 years, 9 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/)
 * I’ve got a beta ready of my b2photos hack. If you’d like to try it out, let me
   know ([http://www.alexking.org/contact/](http://www.alexking.org/contact/)). 
   It will run on either b2 or wordpress.
    The hack does not do thumbnail creation
   or image resizing or anything like that. What it does do is automate laying out
   the photos thumbnails, adding the captions (It can import IPTC data), displaying
   the full size image and showing the preview photo. Here is a sample where I used
   it: [http://alexking.org/blog/index.php?s=santa+cruz&submit=search](http://alexking.org/blog/index.php?s=santa+cruz&submit=search)(
   shows preview thumbnail) [http://alexking.org/blog/index.php?p=361](http://alexking.org/blog/index.php?p=361)(
   full post) To use it, you have to create both a full size image and a thumbnail
   image and you must follow the expected folder structure. Is this inflexible? 
   Yes. Does it work the way I want to use it? Yes. I also plan for this to support
   a single photo post (photo-blog style) in the future. There are more robust plans
   in the works for how to handle images and other multi-media for WordPress – I
   see this as a quick-fix until those are ready. When they are ready, I’ll provide
   an upgrade script.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/b2photos-hack-beta/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/b2photos-hack-beta/page/2/?output_format=md)

 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 9 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-22948)
 * Excellent, Alex! I have been looking for something like this for a while! 🙂 
   Thanks!
 *  Thread Starter Anonymous
 * [22 years, 9 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-22993)
 * No bug reports have come in so I’ve made this available on my [b2/WordPress Hacks](http://www.alexking.org/software/b2/)
   page.
 *  Thread Starter Anonymous
 * [22 years, 8 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23050)
 * I’ve updated the hack with a couple of minor fixes.
 *  [dreamerzzz](https://wordpress.org/support/users/dreamerzzz/)
 * (@dreamerzzz)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23086)
 * This really looks great … but, I got cold feet doing the step 4 surgery … adding
   the code at line 248 for WordPress. Could you show the proper insertion point?
   To a novice, that doesn’t appear to be an area you’d want to poke around … but
   then it might be the line numbering on my editor. Between what and what?
    (And
   I’m tweaking wp-edit.showposts.php rather than b2-edit …etc. …. OK?) Anyway …
   stick that line where???? Thanks!
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23087)
 * With the latest code, the insertion point looks like line 260 (before the “]”).
 *  [jackiefg](https://wordpress.org/support/users/jackiefg/)
 * (@jackiefg)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23109)
 * I started uploading all the files to my /blog/ directory. I changed the b2photos.
   config file to reflect my name and added the style to my wp-layout.css.
    I then
   tried to create the b2 photos with the set up file and I got the “whoops, some
   error occured” message when I accessed the set up file. Am I supposed to change
   permissions or something? Is there more editing for me to do before I try to 
   do this stuff?
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23110)
 * All the set up file does is try to create the table. Make sure the table doesn’t
   already exist and that your database user has permissions to create tables. Also,
   the table name must be set in the config file – but it sounds like you’ve done
   that already.
 *  Thread Starter Anonymous
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23111)
 * I don’t know what I’m doing wrong but do I have to put my name in it the way 
   they have it on my database? When I create a database through mysql on my server
   it automatically adds “jackief_” to the front of the database. Would I have to
   put that as the photographer?
    I kept $tablephotos as “b2photos” and chose “wordpress”.
   Other than that I haven’t done anything except upload the files and try the set.
   up – but it just gives me that error message.
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23112)
 * Ahh, I think I see the problem. The file is looking for b2config.php which is
   no longer in WordPress. I’ll need to release a WordPress specific version of 
   the hack now.
 *  [jackiefg](https://wordpress.org/support/users/jackiefg/)
 * (@jackiefg)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23113)
 * Sorry I posted as anonymous above – don’t know how I got logged out and into 
   that. Will you let us know when you’ve fixed that up? I would really like to 
   use this feature – I thought it was great.
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23114)
 * Yes, I’ll post here when I release a new version.
 *  [trulso](https://wordpress.org/support/users/trulso/)
 * (@trulso)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23124)
 * Hi there! Been playing around with both WordPress and the photos-hack. I really
   can’t get it to work, as it should (according to the screenshots at Alex’s site).
   I get the directory and photo selection-tools, but it does’nt update in the blog-
   edit tool. Keep in mind that I’m not a hacker by far, and it could only be that
   I should wait untill theres an update of the script. Any advice?
 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23127)
 * Any ideas on if/when we’ll see an update for WP 1.0? Does it work with WP 1.0
   now (or with a little change?)
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23128)
 * I’m hoping to release 1.0 compatible versions of my hacks soon – Ive got them
   working on my site, they just need a little polish.
 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/#post-23129)
 * im gonna use it for my portfolio.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/b2photos-hack-beta/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/b2photos-hack-beta/page/2/?output_format=md)

The topic ‘b2photos hack beta’ is closed to new replies.

 * 16 replies
 * 6 participants
 * Last reply from: [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/b2photos-hack-beta/page/2/#post-23133)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
