PhotoSmash Galleries WordPress Plugin Released

UPDATE:  7/12/2009 -PhotoSmash 0.3 has been released.  Its new homepage is just getting started, so you might need to browse below if you don’t find what you looking for over at Smashly.net.  Thanks for your patience!

Release Candidate 2 version 0.2.996 (RC3 for 0.3.00) now available at WordPress.

Final Release Candidate before going public with 0.3.00!

I need to do some documentation.  Launch the new home for PhotoSmash.

Note!  This version has Sorting (only 2 choices right now – Date Uploaded – Ascending or Descending…more to come).

Going live very soon!!! I hope…

Beta Testers of 0.2.99?:

First: after uploading this version is to go to Plugin Info and run the Update Database.  If you still get a Database Warning in PhotoSmash Settings page, your database needs to be updated.

Second: note that the behavior of custom forms has changed.  Note that you no longer have to turn on Custom Form usage in PhotoSmash Settings.  You can get a custom form to work by setting it in the Gallery Settings (there is a mass update button in PhotoSmash Settings/Advanced tab/Default upload form setting – this button will update all existing galleries to use the selected custom form). Or you can use the shortcodes in your post:   [photosmash form=your_form_name]

Additional security enhancements around URL’s were made to this version.  It now utilizes WP 2.8 URL sanitizing, and remains backwards compatible with 2.7.

Beta Testers wanted! Go to the PhotoSmash Other Versions download page and download the Development version.  When you unzip, you should have version 0.2.992.  I didn’t make this 0.3.00 so you can use the automatic update feature of WP to upgrade to the Gold version.

There are tons of new features, so please beat it up and let me know what you find.  I’ve tried, kind of unsuccessfully to hide the complexity from the Plugin-n-go user of PhotoSmash, so if you have any suggestions for making the basic plugin more friendly…PLEASE let me know!

A new website, Smashly.net, is on its way also.  It’s just a shell right now, but it will ultimately house PhotoSmash, Supple Forms, and the Smashly WordPress community.  I want to have it ready for the PhotoSmash 0.3.00 official release…we shall see.

Thanks for your help!

Byron

Permanent Alert (posted 4/16/2009): Please note that using 0777 as a folder permission is highly discouraged (DESPITE MY RECOMMENDATIONS IN THE COMMENTS BELOW). Please note that I no longer recommend setting folder permissions to 0777, but rather the upload folders should have 0755. Version 0.2.55 includes the Plugin Info page in the admin section that helps you determine what your permissions are and will let you set them appropriately (unless SAFE MODE is on in your PHP config).

[Here begins the ORIGINAL Post]

screenshot-1

I am pleased to announce the release of my first “real” WordPress plugin, PhotoSmash Galleries.  While there are at least a dozen photo gallery plugins available for WordPress, PhotoSmash adds something to the WordPress world that wasn’t there before (at least, I think so).  What could that possibly be? you ask.  Well, PhotoSmash makes it possible for your users to upload photos to galleries right from your Posts or Pages.

For directions in using the plugin, see the Usage section below.

Download:

Download at the PhotoSmash page on WordPress

View readme.txt
There is a demo at:  PMOPress.com

Features:

  • Produces XHTML 1.0 Transitional markup for public facing pages
  • User contributable photo galleries
  • AJAX photo uploads
  • Control who can upload images: admin only, authors & contributors (and higher), or registered users and higher
  • Moderate images uploaded by registered users (Admins and authors are automatically approved)
  • Receive email alerts for new images that need to be moderated
  • Options page for setting general defaults or specific gallery settings
  • Auto-adding of photo galleries
  • Multiple galleries per post, added using a simple tag system
  • Integrates with popular image viewing systems like Lightbox and Shadowbox
  • Tweak appearance through the included css file
  • Allows loading images to galleries by URL
  • Option to set thumbnails to crop to size or maintain aspect raito
  • Various display options for captions, including displaying the contributor’s name and website link
  • Admins can set how many images per row in the galleries (can be set by gallery)
  • Admins can set how many images per page ( 0 turns off pagination )
  • Supports Role Manager plugin with “Upload to PhotoSmash” capability (when assigned to a subscriber, they can upload to any gallery and “Photosmash ?” capability (where ? is the gallery ID…when assigned to a subscriber, they can upload to that specific gallery, regardless of the minimum upload user)
  • Option for a URL field on the upload form. Submitted URLs can be used as links for captions

Requested Features

I’ll add requested features here as people ask, so I don’t lose track:

  1. Give an option to show uploader’s name and link to website
  2. Allow image upload by URL.
  3. RSS or subscribe for notifications by email
  4. Use the on page upload to add photos to NextGen Gallery (I have no illusions about besting NextGen…I’m just aiming for fast and simple, so I don’t mind this one bit ;-) )
  5. Import photos from existing library
  6. Upload a zip file of photos
  7. Multiple photo uploads – swf uploader
  8. Need to remove the “by-reference” indicator from certain function calls in admin….causing PHP call-by-reference warning.
  9. Need to reduce the final file size from 5M to a user configurable variable in the ajax-upload.php settings…it’s letting uploaded files stay huge – slow to download with little real quality gain on screen
  10. Need to show Memory capabilities for server in the admin page.
  11. Think about breaking up the Defaults page from the Gallery Edit page….just something to consider
  12. Upload photos from Flickr or Photobucket
  13. Allow admins to set how many photos per row…use table for that
  14. Add paging to galleries, allowing admins to set # of photos per page
  15. Add CoolIris support (that thing just blows me away)
  16. Add tabs to admin pages
  17. Send email to Subscribers who upload images: 1) upload successful (maybe – they’ll see it on the gallery anyway if they’re logged in – can’t send an email otherwise) 2) image was moderated (definitely), allow admin to type brief msg or use default msg.
  18. Create special role that can be assigned to individual subscribers without turning on uploading for all subscribers
  19. Auto-resize upload (allow admin to set maximum pixel size of final images)
  20. Create watermarks from custom image.
  21. Allow creating new thumbnails to replace the originals.
  22. Add option for URL field on the upload form, with options to use URLs in captions.
  23. Latest additions widget
  24. Mashup pages by tags, contributors, latest
  25. RSS
  26. Photo-level Comments
  27. Star ratings
  28. Option for contributors to delete images
  29. Sorting
  30. Shortcode for Showing individual images
  31. Dashboard image approval box
  32. Star rating system for photos
  33. Upload files other than images (mp3, videos, documents)
  34. is there no end to the freaking list???

Soooooo….if anyone makes any enhancements to the code that they think other users might like, please let me know.

Most sites don’t need to let users upload photos, and PhotoSmash handles that requirement as well by letting you set a minimum role for uploading by gallery. If you’re simply looking to do photo galleries that only you or your authors can upload to, you’ve got lots of options in the WordPress cosmos. Where PhotoSmash differentiates there is that it lets you add images directly within your posts and pages without going to the Admin section.

Personally, I needed PhotoSmash for my CityTracs website which I’m porting over to WordPress.  I want to let users upload their photos to the destination galleries there, hence the origins of PhotoSmash. Hopefully, PhotoSmash will find its niche on the Web.

Screenshots

Ahhh…the screenshots: screenshot-1

Here’s a shot from the PhotoSmash options page in the Admin…when you’re actually in there, scroll down to work with individual galleries: screenshot-2

And finally a shot of the AJAX image upload box: screenshot-3

– How to Use PhotoSmash

Using PhotoSmash is extremely simple:

  1. Download PhotoSmash and unzip…you should wind up with a folder named: bwb-photosmash
  2. Upload the bwb-photosmash plugin folder to your /wp-content/plugins/ folder
  3. In the Plugins page of your WordPress Admin, activate PhotoSmash
  4. There are 3 ways to add new galleries to your posts:
    1. 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
    2. 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] )for adding this specific gallery to any post or page will be in red 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.
    3. 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] The code should include everything in red, including the braces and the = sign.
  5. 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.
  6. 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
  7. 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.
  8. 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.
  9. 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.
  10. 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]

  11. 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:
    1. Install the Role Manager Plugin (see link above)
    2. In the Users menu box in Admin, click on Capabilities
    3. Add a capability called:  Upload to PhotoSmash
    4. To assign this capability to a user, click Authors & Users
    5. Edit the user you are targeting
    6. 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.
    7. 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.
    8. 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.
  12. Whew…that’s about it….I think.

This plugin is available through WordPress.org so you will be able to upgrade it with the wonderful automatic plugin upgrade feature in WP 2.7.

If you’ve got ideas, or better yet, code to make PhotoSmash better, please let us know.  Maybe somebody has ideas on how to integrate Flash gallery viewing like NextGen gallery has, or making the upload form more attractive.   Anyway, I’d love to hear from you.

Plugin Conflicts/Recommendations

  • Lightbox – there are 2 versions…one works, one doesn’t. This one does.
  • Some plugins that utilize the jquery-forms javascript code may conflict. One user found that a Chat box plugin was making continual ajax calls back to the server. This caused the PhotoSmash upload form to fire indiscriminately. You could still upload an image by selecting it and clicking submit, but you would get the 400k error for no reason. If someone has a suggestion as to how I might prevent his problem, I’m all ears…it appears to stem from common use of jquery.forms.js.
  • Flutter version .2.51 causes javascript errors in IE 6 when using Lightbox and possibly even other [?]box image viewers.  Haven’t tested with IE 7 or 8.  FF appears OK.  Check out Supple Forms for a Flutter alternative ;-)

The Belated Changelog

  • 0.2.62 (4/29/2009) – Fixed url validation on uploading images. Fixed css to make gallery table 100% width. Added options for using user submitted url’s as the thumbnail links (option must be set in Gallery Settings to become effective).  Add option to make thumbnail and caption links target new windows (option is only under PhotoSmash Settings).
  • 0.2.61 (4/27/2009) Fixed manual creation of new galleries to use PhotoSmash defaults. Now using Colin Verot’s upload class version 2.7 RC2.  Previous version had a Safe Mode “feature” that was causing 400k errors.
  • New Feature: (4/26/2009) 0.2.6 URL field added to upload form. 2 options added to allow the image caption to link to those urls. See the Usage section for instructions on use.
  • 0.2.55 (4/16/2009) Added Plugin Info page in admin to assist with trouble shooting. Checks folders and tables and server info. Server info code borrowed from the immanent NextGen Gallery plugin by Alex Rabe. Change in folder permission recommendations from 0777 to 0755. Plugin Info page helps with those permissions as well.
  • 0.2.54 (4/6/2009) Fixed “delete gallery” error in bwbps.admin.php. Nonce security wasn’t configured properly.
  • 0.2.52 & 0.2.53 (3/23/2009) Fixed implosion error in bwbps-photosmash.php on line 767.  Fixed a plugin conflict with redeclaring the JSON class when uploading.  This conflict was found with Twitter Tools.
  • New Feature: (3/13/2009)  0.2.5 Added support for Role Manager plugin.  Can now grant specific subscribers access to upload to any gallery or to specific galleries regardless of the minimum roles.   See Usage notes for details.  Also, changed bwbps.js to allow IE uploads to show properly.  Were showing in a single column due to rendering of “margin: auto”
  • 2 New Features + bug fixes: 0.2.4 (3/11/2009) Added Tabs to admin pages. Added pagination by gallery. Fixed use of admin defined captions for Add Photos link and Upload form upload message. Fixed CSS for IE for number of images per row.
  • New Feature: 0.2.3 (3/8/2009) admins can set how many images to display per row…setting is by gallery.  Can also set default for new galleries
  • 0.2.22 (3/6/2009) corrected XHTML validation error – replaced & with & in the ThickBox href on the Add Photos links.
  • 0.2.21 (3/5/2009) corrected XHTML validation errors.  Corrected duplication of moderation nonce on front page.
  • New Feature: 0.2.2 (3/4/2009) added options for displaying captions, including displaying contributor’s WordPress nicename and their URL
  • New Feature: 0.2.1 (3/3/2009) added ability to upload images from a URL
  • New Feature: 0.2.0  added the ability to choose to either maintain aspect ratio or crop when creating thumbnails.
  • 0.1.99 – in bwbps-photosmash.php fixed <?= WINC to <?php echo WIND; ?>…this was causing some uses problems.  Changed bwbps.js to use standard $j(‘#bwbps_uploadfile’).val() instead of $j(‘input[@name=bwbps_uploadfile]’).fileValue().
  • 0.1.97 – now using JSON.php class in admin Photo Manager page for ajax calls….affects ajax.php. Fixed the same json_encode problem for PHP4 in admin as for the upload
  • 0.1.96 – added the JSON.php class to ajax_upload.php to make json_encode compatible with PHP4.
  • 0.1.95 – changed the code that handles image files to utilize WP_CONTENT_DIR and WP_CONTENT_URL. This was needed to deal with implementations of WP that did not use the root directory, or used non-standard (but perfectly acceptable) locations for their Content or Upload directories.

Acknowledgements

  • Thanks to Colin Verot for making his upload class available through the GPL.  PhotoSmash uses Colin’s class.upload.php for manipulating images and making sure the correct folders exist.
  • Thanks to Cory and Michal for their work on the JSON encoding class.
  • Thanks to the WordPress community for sharing, inspiration, patience, and passion.
  • Thanks to my alpha/beta debuggers…I won’t name names, because I don’t want to leave anyone out. But you can see much of there contributions in the first 120 comments below.
  • Thanks to Alex Rabe for the immeasurable NextGEN Gallery, which has helped me figure out a few things and has provided inspiration and the occasional snippet of code…particularly in the area of the Tabs in admin pages and the styling on the pagination.

Finally, if you do end up liking PhotoSmash enough to use it, that will be a thrill for me.  If it makes your life easier in some way and you want to throw a little donation my way, that would be an even bigger thrill and much appreciated.  Either way, I hope you like P’Smash.


Cheers!
Byron

, ,

482 Responses to PhotoSmash Galleries WordPress Plugin Released

  1. Byron Bennett April 28, 2009 at 11:58 am #

    Hi Mich,

    In the past, that error has been due to the WordPress version being run. Are you running WP 2.7?

    Alice, above, had same problem, updated to WP 2.7 and it worked fine after that.

    Hope that helps,
    Byron

  2. Mich Joanisse April 28, 2009 at 1:06 pm #

    Hi Byron, I do have version 2.7 currently running. I will install 2.7.1 and see if this solves the problem. Thank you for the quick response, greatly appreciated! Will recommend plug-in to other developers if succesfully installed, much potential.

  3. Byron Bennett April 28, 2009 at 1:16 pm #

    Hi Mich,

    No problem. If you’re already on 2.7, and upgrading doesn’t help, you might try reloading (delete the old folders and re-FTP) the plugin. Another problem I’ve seen in the past was that FTP didn’t get all the files out there properly.

    There are some new features coming in 0.3.0 specifically for developers. Custom fields, custom forms, and custom layouts. Hopefully, it’ll make somebody’s life easier and not just mine harder ;-)

    Cheers,
    Byron

  4. Mich Joanisse April 28, 2009 at 2:38 pm #

    Byron, it appears the upgrade did solve my first problem. Sorry to bother you with all this. The help is definetely well appreciated. My thumbnail default properties do not seem to be working. The image seems to display in gallery as actual size.

    It also bleeds out of surrounding box/div.

    Any suggestions?

  5. Byron Bennett April 28, 2009 at 4:45 pm #

    Mich & Everyone,
    New version is released fixing 2 bugs.

    I have fixed the Defaults issue. In my tests, I always used Auto-Add galleries, and this used the defaults properly. When manually creating new galleries on the Gallery Settings page, the defaults weren’t being populated. That should be fixed now.

    The easiest way (if you haven’t loaded a lot of stuff) to get everything back to where you want it, is to delete existing galleries and recreate them. If you’re adding them to all posts, then the Auto-Add feature is nice.

    Sorry for problems, folks.

    Hope that fixes things.

    The new version, 0.2.61, also includes a new version of Colin Verot’s Upload class. It’s Release Candidate 2 of version 2.7, but he has confirmed that it’s ready for use. My testing also supports this. This update is important because it fixes a 400k issue for people who had SAFE MODE on.

    The new release should be on WordPress momentarily.

    Cheers,
    Byron

  6. David April 29, 2009 at 10:20 am #

    When we use this Gallary, will the images be mapped my Google images?

    Because plugin like Nextgen does not help SEO in anyway.

    Will this allow us to list the images for Google images robot to take.

    Please help

  7. Byron Bennett April 29, 2009 at 7:14 pm #

    New version out, 0.2.62, fixes the over zealous url validator and adds a couple of features related to caption & thumbnail links.

    Please let me know if you find any flubs.

    Cheers,
    Byron

  8. Kim @ What's That Smell? April 29, 2009 at 7:41 pm #

    Byron, you (and this plugin) are the greatest!

  9. Byron Bennett April 29, 2009 at 9:31 pm #

    Hi Kim, Thanks for the kind, if slightly exaggerated, words ;-)

    Cheers!
    Byron

  10. Eugene Duvenage April 30, 2009 at 8:03 am #

    Hi,

    I have WordPress 2.7.1 installed on a windows hosting account and installed PhotoSmash 2.6.2.

    When I use the admin page of photosmash [http://www.myurl.com/wp-admin/admin.php?page=bwb-photosmash.php] and change any of the defaults under Gallery Defaults and click the “Update Defaults” button I get a blank page and the settings are not changed if I click back. I am redirected to [http://www.myurl.com/wp-admin/admin.php] after clicking “Update Defaults”. All the tables and directories seem to have been created during the init process so I am at a loss.

    Any ideas would be appreciated.

  11. Mich Joanisse April 30, 2009 at 9:46 am #

    Hi Byron, i downloaded upgrade. Only problem/inquiry i am experiencing at this point are as following:

    1) the file limit size of 400kb does not seem to be taking action.
    2) Is there a way to specify a maximum file size dimension in future versions? :P
    (Would be a nice feature, keeps a consistency in images.)

    Other then that, everything is running as intneded, and has turned out to be a great experience, the website currently in development will be launching live within the next few days.

    When it is, i will forward you link to website to check out how i have implented your plug-in for multiple uses, one of those including a photo contest.

    Cheers!

  12. Byron Bennett April 30, 2009 at 6:08 pm #

    Eugene,

    I did a fresh install of the plugin on a blog that had not had it installed before on it was working ok. But that was a Linux blog. I was hoping that you were have some temporary connectivity issue or something…did you get it straightened out?

    Let me know if not, we’ll start thinking of things to try.

    Cheers,
    Byron

  13. Byron Bennett April 30, 2009 at 6:10 pm #

    Mich,

    I’ll look forward to seeing what you’re doing with…please send the link when it’s read ;-)

    On your inquiry, I do intend to provide dimension settings for the main image in the near future.

    Cheers,
    Byron

  14. zac April 30, 2009 at 11:28 pm #

    Hey there Byron,

    I just thought of a feature that would be really cool.. if there was a template tag or widget that could show the latest photos that were added to any of the galleries anywhere on the site, maybe from an RSS feed. I have seen a plug-in, called photo sidebar widget, that does this if supplied an RSS feed so maybe it could be mashed with that? I dont really have any lucid ideas on how to make that happen… just a thought, thanks again for all of the awesome work on this!

    Cheers

    Zac

  15. Byron Bennett April 30, 2009 at 11:42 pm #

    Hey Zac,

    Thanks for the suggestion! We’re thinking along the same lines. Once I get this rather massive upgrade out the door, I’m going to turn to adding display features…rss, integration with fancy viewers, etc.

    I do want to let people mashup their galleries by tags, latest added, contributor, etc. I also really want to add photo-level comments and ratings. But I also want to make it even more social than that by having a central site that will mash up all PhotoSmashers that Opt In. Sort of an automatic Flickr for WordPress PhotoSmashians. I’ve been noodling on how to make that work, but haven’t got the model worked out in my head yet. I do have a domain name, though…which I’ll withhold…just to be mean ;-)

    Clearly I have more ambition for this thing than I have time or possibly even ability…but, there’s nothing wrong with dreaming big and aiming high.

    Cheers!
    Byron

  16. Eric T May 1, 2009 at 9:06 am #

    Hi all, I’m having the same problem as some of you
    Cannot redeclare class bwb_photosmash in /var/www/vhosts/louloumagazine.com/subdomains/blogues/httpdocs/stylespy/wp-content/plugins/photosmash-galleries/bwb-photosmash.php on line 52
    and I use WordPress 2.7.1

    Can some one help me?

    thanks

  17. Byron Bennett May 1, 2009 at 9:35 am #

    Hi Eric,

    There have been a number of folks who’ve had that issue, and it has always been resolved by upgrading WordPress. Since you’re already on WP 2.7.1, that doesn’t really seem like an option…so…maybe you can try reloading PhotoSmash through FTP, and the reactivating it.

    Let me know how that goes. I don’t really have an idea beyond that right now…hopefully that will fix you up.

    Byron

  18. Eric T May 1, 2009 at 11:26 am #

    Hi Byron, thanks to answer so fast
    It’s still not working. I’m using 0.2.62 version. is that the last one?

    thanks

  19. Byron Bennett May 3, 2009 at 7:12 pm #

    Hi Eric,
    Yes, 0.2.62 is the latest version.

    Do you have any other plugins running? If so, you might try disabling them to see if one of them is causing a conflict.

    Please let me know if you come up with any ideas. This is a stumper.

    Byron

  20. rootherb May 4, 2009 at 5:57 pm #

    Any future plans to allow this to work with WPMU/Buddypress?

  21. Byron Bennett May 4, 2009 at 7:19 pm #

    Hi rootherb,

    I didn’t have MU plans, but having seen BuddyPress, I’m thinking it will have to be on the list. In my mind, PhotoSmash is sort of a natural for BuddyPress since they are both community oriented. I don’t know if BuddyPress intends to add PhotoSmash-like functionality, but that would be cool.

    I have no idea as to the differences between MU and regular WP, so I don’t know what kinds of things would need to be changed. Could be major. I don’t know.
    Cheers,
    Byron

  22. Paul May 4, 2009 at 9:51 pm #

    FWIW I am using your plugin with WPMU 2.7 and it works like a charm!

    Don’t know about Buddypress, but at least no change to your plugin is necessary if people want to use it with WPMU 2.7 alone.

  23. Byron Bennett May 4, 2009 at 9:54 pm #

    Paul,

    That’s great news! Thanks for letting us know.

    Byron

  24. Paul May 4, 2009 at 9:59 pm #

    My pleasure, but I just realized something…

    At the moment I do not allow people to have their own blog yet, so I am not sure if it will work on other people’s blogs, but I do know it works for the main one in WPMU 2.7.

  25. SKunder May 5, 2009 at 6:05 am #

    I am using this plugin on CornsnakeMorphGallery.com and am having issues where once a Gallery is created, its settings can not be changed even though I manually go in and change. For example, Amelanistic is missing the “by Contributor” and Lavender the thumbnail sizes are wrong. I am running this on 2.7.1. I have tried deleting the original Amelanistic gallery and creating a new one with the correct settings, but it still comes up wrong on the website.

  26. SKunder May 5, 2009 at 6:41 am #

    I have also been told by my users that the upload is confusing because their is nothing that directs on how to continue uploading to a Gallery. As a user, you just have to sort of guess or close the box and hit “Add Photo” again.

  27. Byron Bennett May 5, 2009 at 11:18 am #

    Hi SKunder,

    Hopefully we can get things working properly for you. Please forgive me if I cover things that you’re already doing, this asynchronous communication mode doesn’t allow me to figure out where you are in the process very quickly, so I’ll cover the basics as well…

    1) Gallery settings are not being changed, even when being changed manually:

    Note 1: Changing the thumbnail size in Gallery Settings does not affect previously created thumbnails. I’m planning on giving you some options for doing this down the road. Sorry it’s not there now.

    Note 2: Making a settings change in the PhotoSmash Settings page doesn’t (in most cases) affect the behavior of existing Galleries. Right now, Gallery settings must be set for each gallery in the Gallery Settings page. I also plan to give you some options for updating existing galleries en masse so you don’t have to go into each gallery and change their settings.

    The troubleshooting part:
    – When you’re changing the gallery settings, they have to be changed in the Gallery Settings page (not PhotoSmash Settings). Changing the PhotoSmash Settings page only changes the defaults for new galleries that will be created in the future.

    – So, you’ll need to select the galleries individually, click Edit, then make your changes and click the Save Gallery button.

    – Assuming you’ve done all that, when you make the changes, are they being saved (i.e. when the page comes back, are your changes set properly)? If not, then there is something weird going on with the database save.

    If the Gallery Settings are being saved properly, and the changes are not being reflected when the Gallery is displayed in your posts, then 2 things might be at issue: 1) the page might be cached; 2) the post might be referencing the wrong gallery.

    To check to make sure the post is referencing the right gallery, you can go to Photo Manager page and call up the gallery that you made changes for in Gallery Settings and make sure that the images are the same ones that you’re displaying on the post. If not, then the gallery being displayed isn’t the same one that you were updating the settings for.

    2) Users are confused by the upload form:
    – There is good news here. Version 0.3.0 of PhotoSmash will let you build the upload form any way you like, or you can just use the Standard Form.

    – If you have a suggestion on how I might improve the standard form, I’d love to hear it.

    Hope that helps,
    Byron

  28. SKunder May 5, 2009 at 12:04 pm #

    Thanks for the response!

    I am going into the individual galleries and changing the settings, not changing the default. I had thought that it might be a caching issue, but contributors are seeing it too which nixes that idea. I also confirmed the settings are correct in each of the galleries and the correct ones are in the post.

    My only suggestion to the standard form would be to clear the information in the input fields (and maybe have it also say “continue uploading” or some other such wording) when the upload is completed so that users know they can continue uploading if they wish. I think it’s perfectly fine as is other then that.

    On another note, the big requests from my contributors are the following:

    – Multiple Photo Uploader
    – Email to Contributors upon approval/denial of images
    – Auto-Resize Uploader
    – Contributor option to delete own images

    If these are not being released with 0.3 (expected release date?), would a financial contribution possibly get it moving along?

  29. SKunder May 5, 2009 at 12:29 pm #

    Something I just noticed…

    For some reason PhotoSmash is automatically creating galleries for pages that I put a specific gallery on. For example, I created a “Featured” gallery and put it on the the home page…PhotoSmash automatically created a new gallery titling it “Welcome to the Cornsnake Morph Gallery.”

    The other thing I noticed…Even if a gallery is set to only allow Authors/Contributors, Subscribers still have access to the “Add Photo” button.

  30. SKunder May 5, 2009 at 12:43 pm #

    Ok, I’ve pinpointed the automatic creation…Every time I click “Add Photo,” no matter what is specified on the page, its creating a new gallery and placing the images there? It’s happening on every page as both an Admin and a Subscriber.

  31. Byron Bennett May 5, 2009 at 1:59 pm #

    Hi Skunder,

    It sounds like you’re hot on the trail of what’s going on. And it sound like something might be awry in the code, but I haven’t seen that behavior before. With all the work that I’ve been doing on 0.3.0, it is quite possible that something got slipped into 0.2.6x that wasn’t meant to be.

    Could you send me an e mail at byron @ whypad.com? Hopefully we can get to the bottom of this.

    Cheers,
    Byron

  32. william May 7, 2009 at 2:00 pm #

    Once again, love the plugin. But I’m noticing a lot of odd behavior in it of late.

    First, the AJAX upload box gives random errors, even sometimes when the file size does not exceed 400K. Images uploaded when it says “Success” don’t fit in the AJAX box. Sometimes it randomly gives write permission errors. Other times, if the file exceeds the allowable size, it will upload a thumbnail but not the actual image. It shouldn’t allow either if the original file is too large.

    Also, when you click “Done” after uploading images, it should automatically refresh the current gallery page, otherwise it displays stuff all broken.

    Just my thoughts on ways to improve it / problems I’ve found. Mostly all of it centers around the AJAX upload box.

  33. Flocki May 7, 2009 at 3:25 pm #

    Great plugin.
    Can’t save the settings in the Backend. Any ideas?

  34. Eric T May 7, 2009 at 7:30 pm #

    Hi Byron, it ok now, it was a hosting provider security problem.

    I have an other question for you, is it possible , when someone click on the thumbnail to be redirect to an article instead of only the picture? Like have an unique post for each picture.

    thanks to let me know

  35. Byron Bennett May 7, 2009 at 7:38 pm #

    Hi William,

    As to files being too large, the plugin is currently using the upload class found on Verot.net. This class uses PHP’s GD image manipulation library. I am told that the ImageMagick may use less memory and would allow for larger images to be uploaded. So that might be an option in the future.

    As to uploaded files not fitting in the AJAX box, version 0.3.0 will give you some options around that. The one option that it doesn’t give, that I should add is to give you the ability to set the dimensions of that box.

    The creation of the Thumbnail, but not the actual image is puzzling. Is that consistently repeatable?

    Likewise, the random permissions is puzzling as well. If that is repeatable, I can take a look and see what is going on. Are you using the Role Manager plugin? Also, is this happening with certain galleries?

    As to refreshing after clicking Done…when it’s leaving stuff broken, are you referring to Lightbox not working on new images, new image captions only being set to caption only, all of the above, or other? It’s a good suggestion, because I’m not sure how to fix those two problems.

    Cheers,
    Byron

  36. Byron Bennett May 7, 2009 at 7:40 pm #

    Hi Flocki,
    Glad you like the plugin!

    Have you checked the plugin info page to make sure the tables exist? I’m not sure why they wouldn’t be saving otherwise.

    If you have a test blog or something that I could take a look at, I’d be happy to.

    Cheers,
    Byron

  37. Byron Bennett May 7, 2009 at 7:46 pm #

    Eric,

    Glad to hear that your problem went away! Those are the best.

    Yes, you can set your Caption style so that there is no caption (just a thumb), and it will link to the user submitted URL. You have to make the settings like the image below in the PhotoSmash Settings page. If you have any existing Galleries, you’ll need to update them to have the Caption Style set properly too. I’ll add a screenshot to this comment in a second.

    On the Gallery Defaults tab:

    Include URL

    And on the Viewing tab:

    Caption settings

  38. Eric T May 8, 2009 at 6:26 am #

    Thanks Byron, I’m really impress who fast you answer back to our question. Most of all compagnies don’t give this service. Bravo

    What I’m looking for is more that every picture upload by a user generated a post.

    This is why, I love this plugin and i think it’s exactly what i’m looking but I will have to add extra fields (i.e. name, city, …) and I want the result to be able to be view want people click on the thumbnail and redirect to a unique post for every photo.

    is that something possible?

    thanks

    eric

  39. Flocki May 8, 2009 at 6:51 am #

    Thanks for your quick answer. Sorry for the inconvenience, all my fault. I got a bit confused with photosmash settings and gallery settings.

  40. Byron Bennett May 8, 2009 at 7:13 am #

    Flocki,
    You’re welcome. Glad it’s working right now!

  41. Byron Bennett May 8, 2009 at 7:21 am #

    Eric,

    Many of the changes in version 0.3.0 of PhotoSmash were commissioned by developers trying to do something very similar to what you describe. They also wanted to create new WordPress Posts on the upload of new images.

    So, it has the ability to add custom fields, custom forms and layouts, and to specify an alternative include file for the Ajax_upload.

    In short, it is designed to be very developer friendly. If you choose to stick with PhotoSmash, I wouldn’t spend too much time working on these things with the current version since a lot of what you need is baked into the next.

    Cheers,
    Byron

  42. Eric T May 8, 2009 at 9:54 am #

    thanks Byron, I will look forward for 0.3.0 version

    merci

  43. SKunder May 8, 2009 at 6:39 pm #

    I’m not sure if this has already been suggested, but…
    As you know, I have over 100 individual galleries on the website I’m using this plug-in on. I have a problem determining if the photos are put into the correct gallery because the information in the PhotoSmash backend doesn’t list what gallery it was in. Some food for thought for future releases. :)

  44. Byron Bennett May 8, 2009 at 7:44 pm #

    Hi SKunder,
    Wow, that’s a lot of galleries. Very cool!

    I was having the same problem, so it’s already in there in version 0.3.0. So now in Photo Manager, it shows the gallery ID with a link to the gallery in Photo Manager…might be redundant if you’re viewing the gallery, but in All Images or Moderate, it’s helpful.

    Also added the ability to edit the URL.

    Cheers,
    Byron

  45. SKunder May 9, 2009 at 8:29 am #

    Awesome. Like I said, wasn’t sure if it was already mentioned. :)
    And yeah, I’ve got it running 108 galleries and counting!

  46. Mich Joanisse May 12, 2009 at 8:42 am #

    Hi Byron,
    I have one more inquiry before we get launched on this local newspaper website!

    Before i begin, thanks in advance for the time spent on helping/aiding the problems of plugin users, it is greatly appreciated!

    I noticed the file size restriction does not appear effective, is there something i have done wrong on my end? How can i get around this problem, how can i find a solution?

    Thank you in advance,
    Mich Joanisse

  47. Byron Bennett May 12, 2009 at 10:25 am #

    Mich,

    That’s great to hear! You’re very welcome.

    You are correct, the file restriction is not effective. At this time, it acts as a guide to steer people towards uploading smaller images, primarily because most people’s web hosts don’t allow very much memory to deal with the image manipulations, and 400-500k images is where most folks tend to run out of memory.

    In the next version of PhotoSmash, you will be able to set the dimensions that the main image will be resized (and/or cropped) to. It still does not place any restrictions on the file size of the uploads, but it will generate much smaller files from the image upload based on the settings you choose.

    Are you concerned with the actual file upload size or the size of the images after they are uploaded?

    Cheers,
    Byron

  48. SKunder May 13, 2009 at 9:42 am #

    These last few posts brought up a question for me…

    The auto resizer…Will it resize the photos to what you specify and if the photo still does not fit into those specifications, crop them too? For example, my size requirement is 600×450. An 800×600 photo would resize properly, but an 800×500 wouldn’t and would need both resized and cropped.

  49. Byron Bennett May 13, 2009 at 10:04 am #

    Hi SKunder,

    You can choose to resize only or resize and crop if needed. The thing it won’t do is Upsize images that aren’t big enough.

    Byron

  50. SKunder May 13, 2009 at 3:32 pm #

    Awesome! That’s what I was hoping for! :)

  51. Chris C May 15, 2009 at 11:02 am #

    Hi Byron,

    First of all I would like to say thank you for creating such a great plugin.

    I was wondering if you could give me some advice as to how to create a required checkbox on the upload form to certify that users have permission to use the images they are uploading? Any suggestions/help would be greatly appreciated.

    Cheers!

  52. Byron Bennett May 15, 2009 at 11:35 am #

    Hi Chris,

    You’re welcome!

    With version 0.3.0 of PhotoSmash, you will have the ability to add Custom fields to the upload form. With that functionality, you could create a checkbox for the user to check and put images into moderation where you could confirm whether they checked it or not.

    I don’t have Required fields built into this functionality, but using this with the custom forms, you could do that yourself with some fancy Javascripting.

    I don’t have a solid go-live date for 0.3.0 yet. I am working with a couple of developers who are using this for clients, and I want to make sure that nothing major would need to change before making it public.

    It is such a massive addition of functionality, I’ve considered forking PhotoSmash into Light and Developer versions. I’m afraid that people may venture into the Advanced functionality and become frustrated with it. But I don’t want to support two versions of the plugin either.

    Ah well…sorry for dangling something that is out in the future as an answer to your problem, but it really exists and really works. It’s just not ready to go public.

    Cheers,
    Byron

  53. Byron Bennett May 15, 2009 at 11:42 am #

    Chris,

    Another thought I’ve been having is to add an optional standard field (like the alternate URL field) that would be License. It would be a drop down with a number of standard selections, and I could include a couple that would say that the uploader is not the owner of the image or something similar.

    If you’re interested in something like that, let me know what options you think would make sense in addtion to all of the Creative Commons licenses (I’d add all of them as selections).

    Byron

  54. Chris C May 15, 2009 at 12:11 pm #

    Wow. That was a fast response! Thanks Byron.

    I understand your concern with supporting two versions of the plugin; might be more trouble than it is worth.

    I think allowing the admin to add a custom field is a great idea and would probably be the best option to provide the greatest flexibility.

    Another question for you… Is there any way to display the most recently uploaded image first?I’m not that great with PHP/javascript/AJAX yet so I am not really sure how to do this.

    Also, will the ratings feature be included in 0.3.0?
    I know you probably get 100s of suggestions, but I thought of two things that might be cool to include…

    – In terms of the ratings feature…. This (http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/) star rating script would be cool to include in there.

    – What are your thoughts on including a box on the dashboard with all the images in moderation? I think it would make it much easier for the user to admin their galleries. Just a thought!

    Thanks again Byron. I really think what you are doing is awesome and greatly appreciate it.

    Chris

  55. Chris C May 15, 2009 at 12:14 pm #

    …Another good looking star rating script..

    http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/

  56. ron May 20, 2009 at 11:54 am #

    I read through all of your notes but didn’t have time to read through all the user comments. Hopefully I’m not repeating… but this is exactly a type of plugin i’ve been looking for with the exception of letting users upload more than just images.

    Any thoughts of allowing users to upload MP3 files or other file types you could allow or disallow through the settings of the plugin?

  57. Byron Bennett May 20, 2009 at 12:23 pm #

    Chris
    Great suggestion about the dashboard approval box. I’ll put it on the list.

    Currently, Photosmash can’t do sorting. It’s on the list, though.

    And the star rating…also going on the list.

    Clearly, it’s a very long list…and you haven’t even seen the doors that version 0.3.0 will open up ;-)

  58. Byron Bennett May 20, 2009 at 12:26 pm #

    Ron
    Yes, there have been requests for the ability to upload videos, et al. I’m going to have to think about how to do that.

    BB

  59. ron May 20, 2009 at 12:38 pm #

    Awesome! Thanks for the quick reply Byron.

    Looks like you have quite the beast ahead of you. Can’t wait to see upgrades.

  60. SKunder May 25, 2009 at 6:56 am #

    Is 0.3 still on track to be released this week?

  61. George Serradinho May 25, 2009 at 7:25 am #

    Hi,

    I just wanted to say that the plugin looks great. I have not tried it yet, but might give it a go.

  62. Byron Bennett May 25, 2009 at 11:57 am #

    SKunder,

    I think I’m going to put 0.3 in the Development version on WordPress, so some folks will have the chance to try it and comment before we go live with it.

    I’ve been holding it back because it keeps expanding and getting much needed refinements. But, it’s pretty solid at this point.

    Interested in giving it a trial run?

    Byron

  63. Byron Bennett May 25, 2009 at 11:59 am #

    Hi George,

    Thanks! I hope you find it useful! If you give it a try, you’re getting in at a major sea change for the plugin. It’s only 5 months old, but it feels like 5 years to me ;-)

    Byron

  64. SKunder May 25, 2009 at 6:47 pm #

    I’d be interested in tossing it up on a non-active site (which will run this plug-in once 0.3 is released) and providing a review. 0.2 has performed wonderfully for my users and I believe most of their requests will be met with 0.3.

  65. Ross May 25, 2009 at 7:34 pm #

    Love this plugin – one small issue.

    The tabs style in the bwbps.css stylesheet is clashing with the Thesis stylesheet and lightly corrupting Thesis’ tab navigation. Small workaround is to set the photsmash style to the same as the Thesis style, although I’d prefer they didn’t clash.

  66. Byron Bennett May 25, 2009 at 7:42 pm #

    SKunder, excellent. I will try to get that dev version out there tomorrow night. I’m quite glad to hear that this thing is performing well in the wild. Documentation is…of course…yet to come for 0.3. It’s always the absolute last thing.

    Anyway, your feedback will be much appreciated!

    Cheers,
    Byron

  67. Byron Bennett May 25, 2009 at 7:48 pm #

    Hi Ross,
    You sure don’t get tired of hearing when somebody actually likes PhotoSmash! Thanks!

    As to the issue…thanks for the heads up. I will make some adjustments to that CSS to prevent the clashing.

    Cheers,
    Byron

  68. Byron Bennett May 26, 2009 at 11:16 pm #

    Hi, All!

    PhotoSmash 0.3.00 is in public beta. Seriously…this is a Beta of beta software ;-)

    To get it, download the Development version at the WordPress PhotoSmash Other Versions download page. It will be version 0.2.99 if you install it…so you can auto update when the official release happens.

    Beta Testers (on non-mission critical sites) are welcomed! Please post your feedback or email to me at byron @ whypad . com

    Cheers!
    Byron

  69. Flo May 27, 2009 at 2:40 am #

    hi, is there a way to get certain images displayed in the sidebar (like the newest from gallery x), or a page where only 1 (the newest) image of all galleries are displayed.

    I kinda need some features like nextGen gallery has. I.E. a random image displayed.

    is this already possible? I couldn’t find any info about it.

  70. eyal May 27, 2009 at 3:08 am #

    Great News, ill try it now !!!

  71. eyal May 27, 2009 at 3:59 am #

    hi, will this version support rating and comments on photos?

  72. Byron Bennett May 27, 2009 at 12:27 pm #

    Flo,

    Version 0.3.00 does support shortcodes to grab a single image. The other things you mentioned are not in there yet, but they are on the list.

    The ultimate goal would be to have a sidebar widget / sidebar shortcode or template tags that you could display single images, a gallery, or a smart gallery (think Smart Playlist a la iTunes) that could include random images, or images based on tags, etc…it will ultimately be very cool (if it works ;-) ) but there’s a lot of coding to do to get to that point.

    It’s hard to believe this plugin is only 4 months old (I might have said 5 months somewhere else). It went up Jan 19 of this year. It’s come a long ways, but has much further to go.

    Cheers,
    Byron

  73. Byron Bennett May 27, 2009 at 12:36 pm #

    eyal,

    Thanks for giving it a try. I look forward to your comments!

    Sorry, ratings and comments aren’t in there yet. On the list, though, and it’s better prepared for that (or maybe I’m better prepared). You’ll see that the leap from 0.2.6 to 0.3.00 is more of transforming PhotoSmash into a gallery framework/CMS-like beast.

    BB

  74. Flo May 27, 2009 at 12:43 pm #

    @Byron
    great to hear, thanks for all your work so far!

    I hope there is a smooth upgrade from the current version available ;)

  75. Byron Bennett May 27, 2009 at 12:51 pm #

    The sites I’ve upgraded so far have been completely transparent from both the Admin and Viewer perspectives. The Admin just has more options in the Admin panel. So it shouldn’t cause any different behavior in your site if you just upgrade and don’t do anything. That said, there are some pretty massive changes at the very core of the plugin, so I can’t be 100% sure for all cases. I’m really hoping our Beta test will flush out any major issues before the release.

    Cheers,
    Byron

  76. SKunder June 2, 2009 at 12:02 pm #

    Upload isn’t working on my site. Users can upload and it SAYS they’re uploaded but then they disappear when you go off the page. I’ve been wondering why I haven’t heard anything from my users…And that’s why!

    Is their a list of changes somewhere for what all was added to 0.3?

  77. Byron Bennett June 2, 2009 at 12:41 pm #

    SKunder,

    There was a problem with a plugin conflict in the old version of PS that could have caused that, but that should not affect 0.3.

    Oh…wait…Did you Deactivate and then Reactivate the plugin when you upgraded to 0.3?

    You could do that or go into Plugin Info and scroll down and click the Update DB button.

    Let me know if that’s not it. We’ll get to the bottom of it. It sounds like a DB problem, and my best guess would be that the database is missing some of the new fields. But I could be wrong.

    BB

  78. SKunder June 2, 2009 at 2:38 pm #

    If I deactivate and then reactivate will i lose the existing images?

  79. Byron Bennett June 2, 2009 at 2:43 pm #

    @SKunder,

    Nope…you should be safe. I’ve tried to make sure that you can update without losing things. The one exception is if you make changes to the bwbps.css file. 0.3.0 addresses this by allowing you to point to another file.

    BB

  80. SKunder June 2, 2009 at 3:33 pm #

    Well, to get it to work I had to do both deactivate/reactivate and Update the DB. Strange, but it’s working now.

  81. Byron Bennett June 2, 2009 at 3:36 pm #

    That’s weird. Deactivate/reactivate should have triggered the “Init” process, which is essentially the same thing the Update DB button does. I’ll have to take a look and see if anything is amiss.

  82. SKunder June 2, 2009 at 3:42 pm #

    A suggestion…
    Instead of the GALLERY ID section in the Photo Manager listing the #, how about the name of the gallery? The number doesn’t help me identify what the gallery is.

  83. SKunder June 2, 2009 at 3:45 pm #

    Also, how about a total count of photos in the entire plugin in addition to the per gallery.

  84. Byron Bennett June 2, 2009 at 3:49 pm #

    I used Gallery ID since that is what you would use to reference it in a shortcode. The ID is also shown in the Drop Downs, and it does link to the gallery. But I take your point. I

    Having the gallery name will particularly be helpful when I get the query feature up and running.

    I can also do a total count. Where would you suggest putting it? Someone (maybe you) had earlier suggested a dashboard widget (brilliant idea, btw). That would definitely be appropriate.

  85. SKunder June 4, 2009 at 5:54 am #

    A dashboard widget would be a superb location for the total count.

  86. Tony B June 4, 2009 at 1:32 pm #

    My upload form stopped popping up when I click the Add Photo link. Why would it do that? It worked the other day.

    When I click the Add Photo link, it does nothing.

  87. Byron Bennett June 4, 2009 at 1:39 pm #

    Hi Tony,

    My guess would be (if you didn’t do anything to PhotoSmash), that a new plugin got added and is causing a conflict. You might try going through your plugins to see if turning any of them off fixes the problem. If so, let me know which one and I’ll see if it’s something I can address in PS, or if it’s something beyond the pale in the other plugin.

    I could also be a theme issue if you’ve changed themes. I’ve seen some themes do some really bizarre things like stripping the javascript actions off of elements.

    BB

  88. Tony B June 4, 2009 at 1:46 pm #

    Thanks, Byron,
    It’s something with the Theme I’ve been tinkering with lately. I tested the gallery on WPs default theme and it worked.

    I’ll retrace my steps with the previous plugins and theme mods and get to the root of the problem.

  89. Byron Bennett June 4, 2009 at 1:53 pm #

    Tony,

    Cool. Let me know if it’s something I should be taking into account. One plugin to be aware of is the one that moves the javascript file includes from the header to the footer. PhotoSmash has got some scripts that need jQuery to be in the header.

    BB

  90. Tony B June 4, 2009 at 2:28 pm #

    The javascript files are not being called from the Theme I built from scratch. This is my first custom theme. Is there something I need to do to call those javascript files?

  91. Tony B June 4, 2009 at 2:32 pm #

    Got it. I added to my Header.

  92. Byron Bennett June 4, 2009 at 2:33 pm #

    Tony,

    You need to call get_header(); I believe. This triggers WordPress to queue up all sorts of files.

    BB

  93. Tony B June 4, 2009 at 2:33 pm #

    I meant the wp_head function.

  94. SKunder June 4, 2009 at 3:15 pm #

    Byron, did you be chance figure out why the resize isn’t working on my site? I redownloaded & reuploaded the latest release and activated/decativated & updated the database…Still got nothing.

  95. Joerg June 9, 2009 at 2:24 pm #

    Hello. Is there a way to upload images via ftp and integrate them manually, or take pictures from the media libary? I have a htaccess-logged webspace and so the upload don’t work correct for me…

  96. Linda June 11, 2009 at 5:31 am #

    Just a FYI if you are upgrading to WordPress 2.8

    I decided to upgrade one of my sites to WordPress 2.8 and noticed that the “Add Photo” link was no longer working.

    Turns out one of the new upgrades to WordPress was JS script loader Improvements. Long story short, my problem turned out to be that I did not have this piece of code in my footer.php file . I added the code and everything works fine again. Hope this helps others who might have a similar problem.

    Additional information can be found at http://codex.wordpress.org/Version_2.8

  97. Linda June 11, 2009 at 5:33 am #

    Drats, the code isn’t visible. Try this
    <?php wp_footer(); ?>

  98. Shack Dougall June 12, 2009 at 1:20 am #

    Hi, Byron!

    It’s been a while since I looked a PhotoSmash and I’m impressed with the progress! I usually make major changes to my website around the time that a new version of WordPress comes out. WP 2.8 is here, so I’m taking a serious look at incorporating PhotoSmash, now.

    One question and then a few comments. The question: What is the idea behind the allow_no_image tag in custom forms?

    Now, the comments:

    1) I’d really like to see some way to manage file sizes. It wouldn’t necessarily have to be a hard limit (although that would be nice), but I’d at least like to see the file size in the PhotoManager, so that I can take that into account when I decide to approve/delete.

    2) Would be nice if there was a way to convert the images to jpg with an admin-defined quality setting. This could be done automatically on upload and/or have the conversion triggered in the PhotoManager during the approval process. Again, I’m thinking about file size.

    3) We really need to get a handle on this problem where a new image behaves differently from other images. That is, an image that was just uploaded doesn’t open in shadowbox when you click on it. I know that this is a known issue and that it might not be easy to solve, but we need something here. At the least, maybe an option to have the page reload after the user presses the Done button.

    3) Not as important. Might be nice to have a way to limit the number of uploads per user per day. I can easily do this through policy. I’ll just tell people that I won’t approve more than X per day. The reason I’m thinking about this is that some people go overboard when posting pictures of their creations, e.g., by posting pictures of their creation when viewed from every possible angle.

    4) Also not as important. Would be nice to have a way to move and/or copy an image to another gallery. Here, I’m thinking about creating a gallery that is something like the Editor’s Choice. As admin, I’d like to be able to copy the best images from other galleries and put them in one or more special galleries to highlight the best ones.

    There are two things that I’m going to take as action items for myself:

    a) I’ll investigate adding CoolIris support via my wp-piclens-plus plugin and update the plugin if necessary. At this point, I don’t even know if wp-piclens-plus still works in WP 2.8, but I’ll take a look at it.

    b) I want to make it so that a PhotoSmash gallery can be embedded inside of a Simple:Press forum post. This almost works out of the box. The only complication that I’ve found so far is paging. Anyway, this might generate some sort of a patch that I’ll submit to PhotoSmash and/or Simple:Press. Too early to tell.

    But I’m loving PhotoSmash. Looking good!

  99. Byron Bennett June 12, 2009 at 8:36 pm #

    Hi Shack,

    Welcome back! I’ve got a lot of documentation to catch up on. Thanks for poking around in the development version. What you’ve probably noticed there is that it gives developers a whole lot of flexibility to use PhotoSmash for way more than just your average photo gallery.

    The [allow_no_image] tag includes a hidden field that tells the upload Ajax function not to check to see if an image was selected. Why on earth would you want to do that in a photo gallery, you ask? Well, you wouldn’t. But if you were creating an upload form for something like submitting a new business to Yelp, you could do that with PhotoSmash, using a custom upload script. Your Yelp page would normally include a logo for the business, so if the user had one, they could upload it, but if not, the script could be set to allow uploads with No Image. I plan to offer an enhancement pack for developers that would assist in doing that sort of thing.

    To your comments:

    1) Managing the file size: this is totally doable. Take a look at the docs for the upload class to see what all Colin has made available there.

    2) I think this is possible with the upload class as well.

    3) One thing that is available in the development version is the ability to call a custom javascript on the Ajax return. If we could figure out what the function is to add the Shadowbox listener to the onclick in the new href, this might not be to bad to add.

    3b) A nice feature that can be added at some point. Could have it just not show the form for those users.

    4) Planned. My idea for this is to give you an iTunes (or maybe iPhoto is more accurate) like experience where you can easily mix and match and do Smart Galleries and more.

    a) If you do get something going for CoolIris, I’d be very glad to plaster a big link to your plugin for that. I really want a full-blown RSS for PhotoSmash, but the list is so sickeningly long I can’t even see it on there. I still don’t have a great grasp of RSS and its implementation. It seems too much like magic to me. But I’d like to have a couple different feeds…a gallery specific feed and a latest photos feed…if those make sense as feeds.

    b) That’s a very cool idea. If there’s something I need to do on my end, I’ll be glad to do it.

    BB

  100. didymos June 13, 2009 at 4:42 am #

    Hi,

    Great plugin, but I have a problem with it:

    I’ve made three galleries on one page. Every gallery has 10 pictures. The problem is, when I click “next” below the gallery (paging enabled) it changes both galleries page, not one… That sucks ;)

Trackbacks/Pingbacks

Powered by WordPress. Designed by Woo Themes