Getting Started
Using PhotoSmash is extremely simple:
- Download PhotoSmash and unzip…you should wind up with a folder named: bwb-photosmash
- Upload the bwb-photosmash plugin folder to your /wp-content/plugins/ folder
- In the Plugins page of your WordPress Admin, activate PhotoSmash
- There are 3 ways to add new galleries to your posts:
- Under settings, go to the PhotoSmash options page and turn on Auto-adding of galleries. You can auto-add galleries to the top of each post or the bottom of each post by changing the drop down to the correct selection. Click Update Defaults button to save changes
- Also in the PhotoSmash options page, scroll down below the PhotoSmash defaults section and select New in the gallery drop down. Fill in the details you want to use for the new gallery, and click the Save Gallery button to create the new gallery. After the save is complete, select your new gallery from the Gallery drop down and click the Edit button to retrieve it. The code (like [\photosmash id=1\] (without the slashes))for adding this specific gallery to any post or page will be beneath the Gallery drop down. Cut and past the code anywhere you like in your posts or pages. You can also specify multiple specific galleries within a single post or page by putting the tags with their ids in as needed.
- PhotoSmash can also create galleries on the fly for specific posts. Simply enter the following code anywhere you like in posts or pages and a gallery will be automatically created: [\photosmash\] (withouth the slashes) The code should include everything in red, including the braces and the = sign.
- To add photos to your galleries, go to the post or page and click Add Photos link. I’m not sure what the size limit is right now. It may vary based on your php.ini settings.
- If you choose to let Registered users upload photos, their photos will be visible to Admins and the themselves only. Admins will be presented with buttons for Approve or Bury. Approve is self explanatory. Bury simply deletes the record from the database and deletes (unlinks in PHP terms) the files from the bwbps and bwbps/thumbs/ folders in the wp-content/uploads/ folder
- You will receive an email alert for photos requiring moderation. These alerts use a pseudo-cron like scheduling scheme that is triggered whenever someone views one of your blog’s pages. You can set the alert program to check every 10 minutes, 1 hour, or 1 day, or not at all.
- To edit a photo’s caption, go to the PhotoSmash options page in wp-admin. Select the desired gallery from the drop down and click Edit. When the page comes back, the images for that gallery will show up at the bottom of the page. There will be text boxes beneath image allowing you to edit captions. Click save to save caption edits. Approve buttons will be present for images needing moderation. Delete will be available for all images.
- To integrate with Lightbox or Shadowbox, simply include the correct “rel” information in the Gallery specific options on the PhotoSmash options page. You can set your general PhotoSmash default rel in PhotoSmash Defaults section so that any newly created galleries will automatically get the rel. For Lightbox, set the rel to lightbox. Shadowbox can use lightbox or shadowbox. To group a galleries images together as an album for Shadowbox, use something like: shadowbox[album] as the gallery’s rel.
- To prevent a post from receiving a gallery when Auto-add is activated, simply enter the following tag anywhere in the post’s content: [\ps-skip\] (without the slashes)
- To use with Role Manager plugin: the Role Manager plugin lets you give specific subscribers additional capabilities. PhotoSmash supports these capabilities by allowing you to give users additional access to galleries that their roles do not allow (e.g. a Subscriber could upload to a gallery that is set to Admins only). Here are the steps:
- Install the Role Manager Plugin (see link above)
- In the Users menu box in Admin, click on Capabilities
- Add a capability called: Upload to PhotoSmash
- To assign this capability to a user, click Authors & Users
- Edit the user you are targeting
- At bottom of user profile screen, check the Upload to PhotoSmash checkbox in the Assign extra capabilities section and Save (Update) user…this user can now upload to any gallery regardless of the minimum role you have specified for those galleries.
- To target a specific gallery, in #3, create the capability: Photosmash ? (where ? is the gallery ID #, e.g. Photosmash 10 ). You can find the gallery ID # in the Gallery Settings screen in PhotoSmash admin section. It is the same number that is used in the shortcode that can be used to specify a gallery. Choose this capability in #6 instead of the Upload to Photosmash capability. Assigning both would be redundant since Upload to Photosmash gives access to all galleries. You can assign as many specific galleries to a user as you like.
- To add the URL field to the upload form and use the user submitted URLs as the link for your captions, there are 2 settings needed to use feature: 1) you must turn on the field to show up in the Upload Form. Do this in PhotoSmash Settings / Gallery Defaults tab, the checkbox at the bottom of form. 2) There are 2 options in Gallery Settings and PhotoSmash Settings pages under the Viewing tab and in the Image caption style that will use the User submitted URL as the caption link…look at option #3 and the last one.
- Whew…that’s about it….I think.


















Wednesday, 10 February, 2010 at 7:32
just cant seem to add images to my gallery…
where exactly is the
‘go to the post or page and click Add Photos link.’
help
ta
Rich
Friday, 12 February, 2010 at 13:22
Hi Rich,
You have to view the post like an end user would…there should be an Add Photo link above the gallery.
BB
Thursday, 22 October, 2009 at 18:20
trying to set up a photo-contest site.
I have all plug-ins off other than photosmash.
Have followed instructions, I think, to a ‘t’.
Gallery is showing up, but for the life of me I can’t get the most important item to show:
Add Photo
I’ve set the level to Anybody.
Don’t know what else to do?
Hopefully there is still moderation on this particular thread.
Thursday, 22 October, 2009 at 20:36
Hi Michael,
Make sure you have set to “Anybody” in:
Gallery Settings / select the gallery you want to set and click Edit.
The PhotoSmash Settings is the default for any new galleries, so if you set that after the gallery in question was created, that gallery would probably be set to Admin.
Hope that helps. Email me at byron at whypad . com if not.
Cheers,
Byron
Friday, 9 October, 2009 at 21:58
i got my gallery integrated, but when i click on them it goes to source image. it will not open into a flash thingy animated gallery.
please help!
http://mindoverheart.com/gallery/
im only using this one:
[photosmash id=1]
Friday, 9 October, 2009 at 22:38
JC,
You’ll need to install either the Lightbox or Shadowbox plugins. It should work after that.
BB
Friday, 9 October, 2009 at 21:52
im a newbie on this one
what is the code for integrating lighbox in my gallery?
is this one?
lightbox[album=1]
Friday, 2 October, 2009 at 17:04
One more thing to add – when I VIEW the page, the link is there. I just have this funny rectangle – it may not have anything to do with photosmash at all, but I cannot get rid of it.
Saturday, 3 October, 2009 at 21:58
SF,
The rectangle is a blank gallery. I need a better placeholder, I know, but hopefully galleries don’t stay blank too long.
BB
Friday, 2 October, 2009 at 16:39
Hello, I have read all the instructions but I must be doing something stupid ‘cuz I cannot get this to work. I downloaded,installed & activated the plugin. Turned on auto-add. Put [photosmash] on my page and… I just get a shaded box. There is nothing to click on. The gallery did get created and I checked its settings – said to put [photosmash id=1] to use it. So I did, but still just this box. We used it on our test site with no difficulties but now I’m in production, of course I can’t get it to work. Any suggestions welcome. Thank you
Friday, 2 October, 2009 at 16:59
Hi SF311,
Couple of questions…are you trying to upload while logged in as an Admin? If so, the link should be there for sure.
If you can, please either post a link here or send to me by email so I can see what’s going on: byron at whypad . com.
Also, please use the Forum if you don’t mind
I find it easier (maybe) to keep track of everything.
Thanks,
BB
Tuesday, 29 September, 2009 at 9:45
Hi! I create a gallery,(http://www.supermaskota.com.ar/tu-maskota/) then paste the code in a page. The page view shows the “Add Photo” link and a designated black space for the gallery to appear. I click the link and browse for the picture. But then, it won’t upload any photos and dont show it… what happens?
Im trying since long time to make this plugin work without success.. can you help me please? Thanks.
Tuesday, 29 September, 2009 at 9:59
I look into my wp gallery, and the uploaded images doesnt appear… any…
Tuesday, 29 September, 2009 at 18:27
Lisandro,
It looks like there may be a conflict with another plugin. Also, I noticed that there was a JavaScript error with a twitter plugin.
Try disabling cForms. This has been a problem for other people.
Byron
Monday, 7 September, 2009 at 11:20
We are having trouble. The plugin seems to upload everything correctly but there is a huge empty space at the top of the gallery before we see any of the photos. How do I get rid of that?
http://funbeach.com/blog/photo-contest/
Thanks.
Karl
Sunday, 30 August, 2009 at 20:54
Using WP 2.8.4 I create a gallery, then paste the code in a page. The page view shows the “Add Photo” link and a designated space for the gallery to appear. I click the link and browse for the picture. But then, it won’t upload any photos, no matter what size. How can I fix this?
Saturday, 29 August, 2009 at 13:11
Hallo!
After ulpload file into gallery, on upload file form, I see message “File was not a valid image.” and file not added to gallery/ Why?
Saturday, 29 August, 2009 at 14:07
pidorchuk,
There is likely something going on with directory permissions. Take a look at the Plugin Info page in the PhotoSmash Admin section. There may be some clues in the folder messages.
Also, I’m currently adding the ability for PhotoSmash to use the default WordPress image upload functionality, so this will probably (hopefully) fix these sorts of issues.
Byron
Friday, 28 August, 2009 at 11:03
Hi. Great plugin!
One thing, on my 2.8.4 it is not showing up in RED text. Just fyi.
Thanks.
Friday, 28 August, 2009 at 11:50
Yes…thanks. I’ll fix wording. Had to remove the red because it didn’t copy/paste right.
BB