PhotoQ WordPress Photoblog Plugin 1.5 Brings Tons of new Features to Your Photoblog

Update: PhotoQ v1.6 is a newer version of the same plugin but offering more features. Please check out and download the new version instead of this one, you won’t regret it.

PhotoQ is a WordPress plugin that turns your blog into a photoblog. If you have a lot of pictures to post, PhotoQ is your ideal companion. With PhotoQ you can mass upload several photos at the same time thanks to its batch image upload functionality. PhotoQ places uploaded photos in a queue which gives you a convenient way to manage photos to be posted. The plugin then gives you the possibility to have the top of the queue automatically posted at a given interval. PhotoQ was designed to automate and simplify your photo posting process as much as possible. It takes away the hassle of browsing uploaded image files and embedding them into posts: You simply upload your photo to the queue and enter desired information about the photo. PhotoQ then automatically generates the post based on this information.

To make a long story short, “WordPress + PhotoQ = Photoblog”. With the latest PhotoQ version this formula is more valid than ever: PhotoQ v1.5 brings tons of new features to your photoblog. It now includes EXIF support, watermarking, batch editing and multiple image sizes in addition to all the features you have come to love from earlier versions.

An example of a photoblog running on WordPress and PhotoQ can be found at

Feature List

  • Convenient queue-based photo management
  • Bulk uploading of photos to your photoblog
  • Hassle-free, fully automated posting of photo posts
  • Support for EXIF metadata (new)
  • Photo Watermarking to protect your photos (new)
  • Possibility to add custom metadata to photo posts
  • Automatic generation of thumbnails and alternative image sizes (new)
  • Updating of all your posted photos with only a few clicks (new)
  • Automatic posting through cronjobs
  • Integration with Lightbox, Shutter Reloaded and similar libraries/plugins


PhotoQ WordPress Photoblog Plugin - Screenshot “Batch Upload”


PhotoQ is somewhat experimental and I consider it nowhere near of being perfect. Still, I think that PhotoQ can be useful to someone who tries to set up a photoblog with WordPress and that’s why I decided to make it public. However, I take no responsibility of what might happen if you choose to use it: You use PhotoQ at your own risk. On the other hand, do not hesitate to ask questions concerning PhotoQ if you get stuck – I would be glad to help.


PhotoQ 1.5 requires at least WordPress 2.6. PhotoQ has been tested successfully under WordPress 2.6 up to 2.6.3.

If you insist in using an older WordPress version, please look for older PhotoQ versions (of the v1.2 branch) that are compatible. Note however that I stopped developing the 1.2 branch, so there will be no updates in this case.

PhotoQ 1.5 requires a web browser with at least Flash Player 9 (note that currently the swfupload script used by WordPress is not compatible with the new Flash Player 10, so if you plan to use bulk image uploads in PhotoQ you should wait with updating your Flash Player until this is fixed) installed and has been successfully tested under Firefox 3 and Safari under MacOSX; Firefox 3 under Windows XP. There is, however, no reason to believe it won’t also work with other common combinations. It would be nice if the first people who test it with other browser/platform combinations could drop me a line or post a short comment. This would allow me to extend this compatibility list.

PhotoQ has been tested with both, PHP4 and PHP5. At the moment PhotoQ only runs on web servers with PHP safe_mode turned off. If your web hosting provider has safe_mode turned on you can try to ask them to turn it of. Most web hosting providers will disable safe_mode for your web page on request. In addition, PhotoQ needs either GD or ImageMagick to be present on the server for image manipulation.


  1. Get the latest version of the PhotoQ WordPress Photoblog Plugin.
  2. Unzip the downloaded file, you should end up with a folder called “photoq-photoblog-plugin”.
  3. Upload the “photoq-photoblog-plugin” folder to your “plugin” directory (wp-content/plugins).
  4. If you plan to use the automatic posting capability, move the file “photoq-photoblog-plugin/wimpq-cronpost.php” to the same directory as your wp-config.php file.
  5. You now have to setup a directory on your web server where your image files will be stored (called “imgdir” directory from here on). By default this is the directory “wp-content”. If you do not stick to the default one you have to create your directory now.
  6. Make sure that the file permissions of the “imgdir” directory are such that the plugin is allowed to write to it (otherwise, uploaded photos cannot be stored).
  7. PhotoQ also needs a “cache” directory to store temporary files. This is the directory
    ‘wp-content/photoQCache’. If PhotoQ has the permissions to write to ‘wp-content’ the “cache directory will be created automatically. Otherwise you have to create the ‘photoQCache’ directory now and make sure that the file permissions are such that the plugin is allowed to write to it.
  8. If your web hosting provider enabled the mod_security Apache module on your web server, you need to add the following directives to your .htaccess file in order for batch image uploads to work: <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> See the Troubleshooting section for more information.
  9. You are almost done. Just go to the “Plugins” WordPress admin panel and activate the Photoq plugin.

Upgrading from PhotoQ 1.2.6

PhotoQ 1.5 is the most important upgrade PhotoQ has seen so far. A lot has changed behind the scenes, especially also the way in which PhotoQ stores and manages your photos. If you used earlier versions of the PhotoQ WordPress Photoblog Plugin and want to upgrade to version 1.5 it is therefore for once not enough to just copy the new version over the old one. Some additional upgrading steps are required:

  1. (Optional but recommended) Clear your queue.
  2. Write down your PhotoQ Settings, some of them might be changed by the upgrade process.
  3. Save your WordPress database. This is the most important step when upgrading. Really. It ensures that you can rollback if something went wrong. You will find instructions on how to do this on the WordPress Codex.
  4. Install PhotoQ 1.5 as explained above (thus replace your old PhotoQ plugin folder). Don’t use the WordPress auto update feature.
  5. Clear the cache of your browser. This makes sure that cached files from your old PhotoQ don’t interfere with the new one.
  6. Go to “Settings->PhotoQ” and make sure that no errors and warnings are displayed. If you have errors, try to correct them.
  7. Adjust the “Image Sizes” and “View” settings to your liking. See “Using PhotoQ – The Basics” below for details. Also readjust other settings that were changed in the upgrade process.
  8. Hit “Upgrade from PhotoQ < 1.5″ under “Settings->PhotoQ->Further Options”. Quickly check whether the information about photos that will be imported makes sense. If it does, hit “Upgrade” and go for coffee. Do not interrupt the upgrading process, it may take a while depending on the number and size of your photos, the power of your server and your PhotoQ settings (for the 150 photos of size about 700×500 pixels on my own blog it took roughly 10 minutes).
  9. If for some reason the process is interrupted (e.g. because the script times out) and only part of the photos are imported, you can repeat step 8. Only the remaining photos should be shown as photos that will be imported.
  10. Scan through your blog and check whether everything looks like it should. You can also check under “Manage->Posts” if all your photos got imported. Those that didn’t  will show “No Photo” in the “Photo” column.  If a photo post did not get imported correctly, you can hit on “Rebuild” in the “PhotoQActions” column to manually rebuild the post.
  11. PhotoQ 1.5 stores photos in a structure different from earlier versions. Instead of “imgdir/year_month_folders” the photos are now storead according to “imgdir/image_size/year_month_folder”. While upgrading, PhotoQ creates the new folder structure and keeps the old one to give you the possibility to go back if something goes wrong. Once there are no more photos to import you get the option to remove the old folder structure under “Settings->PhotoQ->Further Options->Upgrade from PhotoQ < 1.5″. Note that this will delete the folders listed as well as their content from the server and cannot be undone. Also note that search engines might have indexed your photos and stored their location in the old folder structure. It might thus be wise to keep the old structure for some time at least.

Using PhotoQ – The Basics

Now that you successfully installed PhotoQ, you are ready to go. First you need to setup some of PhotoQ’s settings:

  1. In the “Settings” panel of the WordPress Administration you should now have a subpanel labeled “PhotoQ”. Go there.
  2. If you did not stick to the default “imgdir” during installation, you need to specify your choice under “Further Options->Image Directory”.
  3. If you missed anything during installation or if your web server is missing some requirements you will see a warning at the top. The warning is there for a reason, so if you see it please try to fix it before going on ;-)
  4. For every photo you post, PhotoQ can automatically generate alternative image sizes. Per default it generates two image sizes called “thumbnail” and “main” in addition to the “original” photo.  With the “Image Sizes” option you specify their respective dimensions as well as the desired image quality. Unless you decide to crop the photo PhotoQ always keeps the proportions of the generated image sizes the same as in the original photo. Also note that PhotoQ will not generate images bigger than the original. To fit in with a wide range of photoblog templates, PhotoQ gives you three possibilities to define dimensions:
    • “Maximum Dimensions”: you define a rectangle of maximum width and maximum height. Whatever constraint is met first determines the value of the other dimension. If you check the “crop” checkbox, the proportions of the original image are not kept but the photo is cropped to the exact width and height given.
    • “Smallest Side”: you fix the smallest side of the thumbnail to some value and have PhotoQ adapt the other side accordingly.
    • “Fixed Width”: you fix a maximal width. If your thumbnails orientation is “landscape”, it will have this width. If your thumbnails orientation is “portrait”, its height will be adjusted such that it matches the height of a photo with “landscape” orientation.
    • “Original Size”: the photo is not resized.
  5. If you think that the three provided image sizes “original”, “thumbnail” and “main” are not enough for you, you can add further image sizes by entering a name under “Name of new image size” and clicking on “Add Image Size”.
  6. If you are all confused now, I suggest that you leave the default options for now and play with the other options later. Also forget about the “Watermark” and “Hide original folder” options for now, they will be explained later.
  7. PhotoQ uses the two built-in WordPress template tags the_content and the_excerpt, that are also present in any regular WordPress post. Under “Views” you tell PhotoQ what to place in the content part of a post and what to place in the excerpt. For now we stick to the “Single Photo” option. The dropdown menus show the image sizes that are available and that we defined in the steps before. I suggest that for now you choose “main” for the_content and “thumbnail” for the_excerpt to place your main image in the content part and a smaller thumbnail version in the_excerpt.
  8. In the section for the_content you have an option to “Include photo description in post content”. If you check this option, the description of the photo is included in the content part of the post, just after the photo. The description is then placed in a <p> tag with class name “photoQDescr” to allow for easy styling via CSS. If you do not check this option, the description is only placed in a custom field with name “photoQDescr”. In short: if you do not know how to or do not want to tweak themes, check this option. If you know how to access a custom field from a theme and want greater flexibility, don’t check this option.
  9. “Further Options->Enable Batch Uploads”: Allows you to toggle the batch upload capability on and off.
  10. Skip the other options for now and click on “Save Changes” to, well, save the changes you made so far.
  11. Note that whenever you change a setting that affects the way a photo post looks (e.g. changing an image size, changing a view, changing the watermark), PhotoQ will update all previously posted photos to maintain a consistent look throughout your blog. Depending on the settings you changed, the number and size of your photos (“do I really need to upload a twelve megapixel original photo to my blog? wouldn’t a downsized version do the job as well?”), this update process may take a while. So once you click on “Save Changes”, do not interrupt the process, rebuilding all your photos might take a while. If a photo post does not get rebuilt properly, you can rebuild it manually by clicking “Rebuild” in the “PhotoQActions” column under “Manage->Posts”.

Now comes the fun part, you are ready to manage your photo queue:

  1. In the “Manage” panel of the WordPress Administration you should now have a subpanel labeled “PhotoQ”. Go there.
  2. As you have not yet uploaded any photos the queue is empty. To upload a photo click the button “Add photo to queue”.
  3. I think that the upload process is pretty self-explanatory. If you have batch uploads enabled, click on “Select photos…”. You can then choose several photos (via the standard cmd-click on MacOSX and ctrl-click on Windows) in the “Select Files” dialog box that pops up. The selected photos are queued for mass upload. Once the dialog box is closed, uploading starts automatically. Once the upload is completed you are presented with a panel where you can enter information that is common to all the photos you just uploaded. This batch editing is especially useful for entering tags and categories. Once you entered the common information (if any) click on the “Enter Info” button. You now get the chance to add information that is specific to a single photo. Choose the categories for the photo, add a title, a short description and some tags if you want. If the title is too long you might want to enter a shorter slug. Sometimes it is nice to see a photo in detail when entering information about it. PhotoQ easily allows this: if you click on a thumbnail, the corresponding photo will open in all its beauty in a new window. Once you entered the desired information, hit “Save Batch Info”. Don’t worry all the information can still be changed at a later stage. If you have batch uploads disabled, the process is similar only that you choose the file to upload via the “Browse” button.
  4. If everything went smoothly, you should now see the photos you just uploaded in the queue. You can add other photo to the queue if you like.
  5. Each entry in the queue can be edited by clicking on “Edit”. This gives you the possibility to alter all the fields.
  6. Entries in the queue can be easily reordered via drag-and-drop.
  7. You can remove photos from the queue by clicking on “Delete”.
  8. To publish the photo at the top of your queue to your photoblog, hit “Post top of queue”. PhotoQ then automatically generates a post according to your settings and the information you entered.
  9. The entry at the top of your queue should now be removed from the queue and appear as a new post on your photoblog.
  10. Check the result directly on your photoblog or in the “Manage->Posts” section of the WordPress Administration panel.

More on Views and Themes

The laziest option when it comes to WordPress themes for PhotoQ is to use the ready-made iQ2 photoblog theme. iQ2 comes with full PhotoQ integration out-of-the-box and instructions on how to configure PhotoQ. iQ2 might also serve you as a convenient starting point if you decide to build your own theme.

The rest of this section explains how to use PhotoQ with existing themes and what you need to know should you decide to build your own. PhotoQ only relies on custom fields and standard WordPress template tags like the_content and the_excerpt. It should therefore not be too difficult to use virtually any WordPress theme with PhotoQ. Often you might not even have to adapt the theme at all, just choosing the correct PhotoQ settings might be enough.

With the Views Setting, you define which image size and what information PhotoQ places in the content and what it places in the excerpt of a post (we’ll call content and excerpt views from here on). In your theme you can then use the the_content and the_excerpt template tags to show the respective view. We are now going to have a look at the different view options:

  • “Single Photo”: A single photo is placed in the view. You choose the image size to be used from the drop-down menu. The corresponding <img> tag has the CSS class attribute “PhotoQImg”.
  • “Image Link”: Instead of a single photo, an image link is displayed. With the drop-down menus you choose the image size that is displayed on the link as well as the target image it links to. This allows for integration with libraries like Lightbox that show JavaScript pop-up images. Just install, e.g., the Shutter Reloaded plugin, check this option and see what happens. You can specify what special attributes that are needed by the JavaScript library should be added to the link. The default option works for Lightbox and Shutter Reloaded. The <img> tag inside the link has CSS class “photoQLinkImg”.
  • “Photo Description”: For the content view you can inline the photo description. If you choose to do so, the description is not only stored in the “photoQDescr” custom field but a <p> tag containing the description and having a CSS class name “photoQDescr” is added after the single photo (image link, respectively).
  • “Exif Meta Data”: For the content view you can also inline EXIF information. If you choose to do so an unordered list with selected EXIF tags is displayed at the end of the post. See the EXIF section for more information.

With every post, PhotoQ also stores a number of custom fields that you can use in your templates. We have already seen some of them like “photoQDescr”. To display a custom fields in your theme you can for example use the WordPress function get_post_meta. Example: <?php echo get_post_meta($post->ID, 'photoQDescr', true); ?> Here is a list of custom fields provided by PhotoQ for every photo post:

  • “photoQDescr”: Contains the description of the photo.
  • “photoQPath”: Contains the path of the original image. Never remove this, it is crucial for the functioning of PhotoQ.
  • “photoQImageSizes”: Contains an associative array (key = name of image size) with info on the image sizes. This allows easy access to the different image sizes from a template. For every image size there are the following fields:  ’imgTag’, ‘imgUrl’, ‘imgPath’, ‘imgWidth’, ‘imgHeight’. I guess the names are pretty self explanatory. To output the <img> tag of the “main” image size you could do something like: $sizes = get_post_meta($post->ID, 'photoQImageSizes', true); echo $sizes['main']['imgTag'];
  • “photoQExif” and “photoQExifFull”: See below under “EXIF Support”.
  • One custom field per “Meta Field”, see below under “Meta Fields”.

EXIF Support

PhotoQ now has built-in support for displaying EXIF metadata added to your photos by your digital camera. Whenever you upload a photo, PhotoQ learns about EXIF tags present in the photo. For every photo posted, PhotoQ stores two custom fields along with the post.

  1. “photoQExif”: This custom field contains an unordered list with EXIF information. You can select which EXIF tags to include in the list by checking the corresponding checkboxes under “Settings->PhotoQ->Exif”. When selecting tags to include you can see a value in parentheses next to each tag. These values are example values found in one of the photos you uploaded and are simply there to give you a better idea of what the corresponding EXIF tag is about. The resulting unordered list is ordered alphabetically by tag name and has the following structure allowing for easy CSS styling: <ul class="photoQExifInfo"> <li class="photoQExifInfoItem"> <span class="photoQExifTag">tag name</span> <span class="photoQExifValue">tag value</span> </li> </ul>
  2. “photoQExifFull”: This custom field contains an associative PHP array (with keys corresponding to EXIF tags) containing all the EXIF data present in the photo. You can use this in your theme if you wish to have more flexibility than with the unordered list in “photoQExif”.


To protect your photos, PhotoQ gives you the possibility to add a watermark. Watermarking settings are found under “Settings->PhotoQ->Watermarking”. I think that the options are quite self-explanatory:

  1. Upload an image file to be used as watermark.
  2. Select position, opacity and margin from edges.
  3. For each image size defined under “Settings->PhotoQ->Image Sizes”, decide whether it should show the watermark or not via the “Add watermark to all images of this size” checkbox.
  4. Note that watermarks are not applied to the original images you uploaded. If you want to show a watermarked version of your photos in original size, you have to create another image size where you check both the “Original Size” radio button and the watermarking checkbox.
  5. If you don’t want people to have access to your non-watermarked original photo, you can check the “Hide original folder” option under “Settings->PhotoQ->Image Sizes”. PhotoQ then places original photos in folder with a name that is hard to guess instead of the standard ‘original’ folder, hiding your original photos from unwanted access.

Meta Fields

If you want to add more information to your photo posts than just the title and description provided by default, you have the possibility to do so via “Meta Fields”. Assume you want to associate each photo with the place where the photo was taken:

  1. Go to “Settings->PhotoQ->Meta Fields” in the WordPress Administration Panel.
  2. Click “Add Meta Field”.
  3. Give it a name, e.g. “place” and hit “Add Field”.
  4. For every photo you upload you will now have an additional field called “place” where you can enter the desired information. Once posted, the field is saved as a custom field with the same name.
  5. The list of Meta Fields can be edited by clicking on “Rename” or “Delete”.
  6. The three options “Upon Add/Delete/Rename” define whether changes you make to a Meta Field are also applied to the corresponding Custom Field of already posted photos. Example: Assume you already posted 20 photos and only then decide to add a new Meta Field called “place”. If you check “Upon Add, Add to already posted as well”, a Custom Field named “place” (with an empty value) will be added to all of the already posted photos as well.

Automatic Posting Via Cronjobs

PhotoQ allows you to have the top of your queue posted at regular intervals. This is especially useful if you go on a vacation and still want your photoblog to go on. Just fill up the queue before you leave and have PhotoQ do the rest. To set up automatic posting, you need to do the following:

  1. Set the frequency at which the posts should occur. This can be set in “Settings->PhotoQ->Further Options”.
  2. Remember where on your web server you saved the file “wimpq-cronpost.php”.
  3. Setup a cronjob to execute “wimpq-cronpost.php” at your desired interval. Don’t worry, most often your webhost will set this up for you if you tell him/her the URL of your “wimpq-cronpost.php” file and when and how often you want the cronjob to be executed.
  4. Upon each execution of “wimpq-cronpost.php”, PhotoQ checks whether the last post occurred more than X hours ago (where X is the value you set in the PhotoQ Options panel). If so, the top of your queue is posted automatically.
  5. It might thus be a good idea to set the “PhotoQ Cronjob Frequency” slightly lower than the interval of the actual cronjob. E.g., assume you want a post once a day. Setup your cronjob to execute the “wimpq-cronpost.php” file once a day at the desired time and set the “Cronjob Frequency” in the “PhotoQ Options” to “23h”.
  6. Note: If your webhost does not allow you to setup your own cronjob you might be able to do something similar with a WordPress plugin such as WP-Cron (I have not tested this, so should you be able to make PhotoQ work together with such a plugin, please drop me a line).
  7. A neat alternative solution to the above has been brought to my attention by Phil from If your webhost does not allow cronjobs you can alter the WordPress index.php file in the following way: <?php /* Short and sweet */ define('WP_USE_THEMES', true); require('./wp-blog-header.php'); ob_start(); require('./wimpq-cronpost.php'); ob_end_clean(); ?>This then emulates a pseudo-cron executed every time a user visits your website. Thanks Phil, for pointing this out.

More Options

The following options are not explained elsewhere in this post. They can all be found under “Settings->PhotoQ->Further Options”.

  • “ImageMagick Path”: Here you can set the path to the ImageMagick convert binary on your webserver. If you set this path, PhotoQ will use ImageMagick instead of the GD library. A note shows you whether the path you entered is correct. Depending on the amount of memory assigned to PHP and the size of your photos, you may have to configure ImageMagick for PhotoQ to work properly.
  • Import photos uploaded via FTP. The option “FTP Upload” lets you enable importing photos from a specified directory on your server. Once enabled, you get a new button “Import from ftp directory…” when adding photos to your queue. A click on the buttons leads to the FTP import screen where you can choose which photos from the ftp directory PhotoQ should import and where you can also enter common info for the photos to be imported. Note that depending on whether PhotoQ has write permissions to the ftp directory it will copy (if it doesn’t have write permission) or move (if it does) the selected files from the ftp directory to the queue.
  • Publish several photos from the queue at once. In the PhotoQ management panel (“Manage->PhotoQ”) you will now find a second post button to the left of the “Post Top of Queue…” button. With the “Second Post Button” option you can specify how many photos are published at once if you hit this button.
  • Lists of categories can be folded away throughout the plugin which is convenient if you deal with a lot of categories. The “Fold Categories” option lets you decide whether you want category lists to be open or closed by default.
  • “PhotoQ Post Author”: Posts generated by PhotoQ will be published under this author.
  • “PhotoQ Default Category”: Here you can choose the default category for PhotoQ posts.
  • “Deleting Posts: Delete image files from server when deleting post”: If not checked, image files associated with a post are left on the server if you delete the post.
  • “Show thumbs in post management admin panel”: Allows you to see a preview of the photo in the list of already posted posts. You can also define the size of the thumbnail you would like to see there.

Troubleshooting – Help it doesn’t work!

Here is a short checklist in case something doesn’t work as expected. Please go through this before asking me for help.

  1. Did you check the requirements?
  2. Clearing your browser’s cache can work wonders.
  3. Did you check the PhotoQ options? Especially, are the paths to your “imgdir” correct?
  4. Are you sure “cache” and “imgdir” file permissions are set correctly?
  5. Do you have other plugins installed? If so, disable all other plugins and check whether it works now. Should you find any incompatibilities with other plugins please let me know. So far I know about the following plugins that are not compatible with PhotoQ: “Lighter Admin Drop Menus v2.3″.
  6. Does it work with batch uploads disabled? If not, try to make it work with batch uploads disabled first.
  7. “Everything seems to work but even if I enable batch uploads, I only get the option to upload one file at a time!” Is JavaScript enabled in your web browser?
  8. “I get a HTTP 403 error message when trying to do a batch upload?” Most probably, your web hosting provider enabled mod_security on your web server. Batch upload makes use of Flash and Flash is known to send malformed http headers which are rejected by mod_security. The only solution seems to be to turn off mod_security by adding the directives given above to your .htaccess file. Anyone having a better solutions is most welcome to let me know about it.
  9. “I am getting a ‘Warning: set_time_limit() has been disabled for security reasons…’ or similar”. Some web hosting providers limit the execution time of PHP scripts and do not allow you to change it. PhotoQ tries to remove the limit because if you have a large batch upload, it might take some time. If you get warnings like the one above, you can comment the line set_time_limit(0); in the beginning of the whoismanu-photoq.php file by replacing it with //set_time_limit(0);Huge batch upload jobs might then however sometimes be aborted if they take longer than the maximum execution time allowed by your web hosting provider.
  10. “In the admin section I get light blue images with a red warning like ‘… All attempts to create GD image source failed …’ instead of the thumbnails”. You hit the memory limit with the GD library. This leaves you with three options in order of preference:
    1. configure ImageMagick (see under “More Options”)
    2. increase memory allocated to PHP by adding something like php_value memory_limit 16M (and where you replace 16M with the amount of memory you want to allocate) to your .htaccess file.
    3. upload smaller, down-sized images.
  11. “When I click on ‘Select Photos’, nothing happens!” Probably you are using Flash Player 10. Batch uploads in WordPress 2.6 are not compatible with Flash Player 10. See the requirements for more information.

If nothing helps, don’t hesitate to ask – I would be glad to help. In order to be able to help you, I need to at least know the versions of WordPress and PhotoQ you are using, your browser/platform combination, whether it works with batch uploads disabled and of course the potential error message you are getting. If you get an error message of any kind, it might also be helpful to know what you were trying to do just before you got the error message. But please check the points above before writing about a problem. At least double-check the requirements. It will save me (and you!) a lot of time that is better spent improving PhotoQ than looking for imaginary problems. Thanks.

Support PhotoQ – Help to Make PhotoQ Better

You like PhotoQ? Here’s what you can do to support PhotoQ and help making it better:

  • Any comments, suggestions, bug reports, feature requests, contributions to future versions, compatible themes, etc., etc. are highly appreciated. Any help to improve PhotoQ is more than welcome. I cannot fix/improve anything if I don’t know what is wrong.
  • You use PhotoQ? Why not give PhotoQ credit through a backlink on your website?
  • You think PhotoQ is the greatest plugin out there? There are many ways to promote PhotoQ: Tell your friends, or even tell the world by writing a blog post, …
  • You made a photoblog using PhotoQ? Let me know. I will soon include a list of the best PhotoQ based blogs.
  • You made/saved money thanks to PhotoQ? Due to repeated request I set up a donate link to give you the chance to give some of it back ;-)

Version History

  • 13.11.2008 – 1.5.3: Fixed problem with identical post dates when batch posting.
  • 04.11.2008 – 1.5.2: Introduces FTP uploading, batch publishing, category folding and nicer default titles. Cache folder is no longer inside plugin folder to prevent problems with auto upgrade. Database changes include new id for the main table and WordPress charsets and collations for all PhotoQ tables. inline description moved from <p> tags to <div> to prevent problems with the WYSIWYG editor.
  • 24.09.2008 – 1.5.1: Repacked PhotoQ with new folder structure on WordPress plugin directory to overcome auto upgrade problems. Root plugin directory is now “photoq-photoblog-plugin” instead of “whoismanu-photoq”.
  • 22.09.2008 – 1.5: Major Update, most code rewritten. New libaries used: phpThumb and Exifixer. New features include: multiple image sizes, exif, watermarking, easy update of posted photos.
  • 15.07.2008 – 1.2.6: Compatible with WordPress 2.6.
  • 06.05.2008 – 1.2.5: Category handling adapted to WordPress 2.5.1. Two new settings to choose default category and author of PhotoQ posts.
  • 22.04.2008 – 1.2.4: Bugs fixed: Problems with filenames containing special characters; Disappearing Media Library update links in Write panel caused by PhotoQ.
  • 16.04.2008 – 1.2.3: Bugs fixed: PHP4 compatibility restored, no more lost settings; Now compatible with localized WP versions, no more “swfu not defined”. Now also compatible with IE7; SWFUpload updated to 2.1.0b2.
  • 04.04.2008 – 1.2.2: Bugs fixed: Ajax queue ordering did not work if dashes present in filenames; Header of queue no long sortable; Correct authentication of Ajax queue manipulations; Cookies no longer sent during Ajax calls.
  • 15.03.2008 – 1.2.1: Fixes a bug that could under some conditions provoke empty width and height attributes
  • 09.03.2008 – 1.2: Compatible with WP 2.5. Migrated batch uploads to SWFUpload 2 for greater stability. Ajax Queue Management. Lightbox Integration. Runs on Reusable Options.
  • 25.11.2007 – 1.1.5b: PhotoQ is now able to truly resize photos. It now also integrates with existing themes more easily because of the new option to directly include the description in the post content. Category display bug when updating queue has been corrected.
  • 07.11.2007 – 1.1.4b: PhotoQ is now again retro-compatible with WordPress versions that do not have built-in tagging support. Only update if you use a WordPress version prior to 2.3.
  • 04.11.2007 – 1.1.3b: PhotoQ now supports WordPress’ native tag handling introduced in WordPress 2.3. Please read this post to see how to import tags from meta fields to the new structure.
  • 20.10.2007 – 1.1.2b: changed require_once statements so that the plugin also runs on web servers that don’t like relative paths in these statements. Update only if you encountered problems with version 1.1.1b.
  • 17.10.2007 – 1.1.1b: “Largest Side” image/thumb-size option is now a “Smallest Side” option. “Largest Side” can still be mimicked by setting both values in the “Maximum Dimensions” option equal to the desired value.
  • 14.10.2007 – 1.1b: first major update. Features mass uploads via SWFUpload. New options for image/thumbnail sizes. Better photo preview in admin section. Enhanced security due to use of wp_nonces. Under the hood, big parts of the code have been restructured.
  • 07.10.2007 – 1.0.2b: patch to make it compatible with WordPress 2.3.
  • 22.01.2007 – 1.0.1b: fixed a bug that caused PhotoQ to handle some paths and urls improperly. Anyone wanting to use PhotoQ should update to this new version.
  • 11.01.2007 – 1.0b: first public release.


Thanks to all the PhotoQ users who help to keep up my motivation to continue this project. Thanks for all the kind comments and helpful bug reports. Special thanks to all the people who volunteered to beta test this update. Many thanks to the guys at Without their great SWFUpload script, there would be no batch uploads in PhotoQ. Sames goes for James Heinrich who wrote the phpThumb Library and Jake Olefsky who wrote the Exifixer library. Without their great work PhotoQ would not be where it is today.

Comments (103)

  • 1

    PhotoQ Wordpress Photoblog Plugin v1.2 - Ready for Wordpress 2.5 writes:

    [...] PhotoQ v1.5 is a newer version of the same plugin but offering more features. Please check out and download the new version [...]

  • 2

    Klaus writes:

    Just auto updated – and the update blew my site

    H E L P ! ! !


  • 3

    Klaus thinks:

    P.S.: it’s WordPress 2.6.2, I use.

  • 4

    whoismanu says:


    so you were using photoq before? did you upgrade according to the instructions given on this page? what do you mean by it blew your site? especially, when did something go wrong? when you hit “upgrade from photoq < 1.5″ or before? if all you did is copy the new files to your server i suggest you delete the whoismanu-photoq folder from your wp-content/plugins directory and restart the installation process.

  • 5

    Klaus thinks:

    Sorry, had no choice but to delete everything PhotoQ, from the database as well as the entire installation of it.
    I was using PhotoQ with all the latest updates in both PhotoQ and WordPress. During the automated install, MySql started popping up – pointing to an error in classses/PhotoQ.php and the imageresizer.
    De-activation etc didn’t help – hence the more drastic measures.

  • 6

    whoismanu says:


    what about forgetting about the auto install? can you try to install it from the .zip package?

  • 7

    whoismanu says:


    i guess the auto update is actually what causes the problem: like it is packed right now, the photoq root plugin file is not at the root of the plugin folder. i guess this is what makes the auto update fail. if you install it from the .zip it should work.

  • 8

    Georg says:

    Awesome! Thx for making this even better!

  • 9

    Mike writes:

    I installed the latest version on WP2.6.2. in the Plugin map, but it does not show up in the Admin panel, plugins?


  • 10

    whoismanu says:


    just a wild guess, you used the wordpress auto upgrade? if so that is most probably the reason. there currently seems to be an issue with that. i am working on it. if you used the auto upgrade you most probably have the following structure now “plugins/photoq-photoblog-plugin/whoismanu-photoq”. If you move everything inside whoismanu-photoq up one level (directly into photoq-photoblog-plugin) your problem should go away. sorry for that. i try to come up with a solution soon.

    Update: I repacked everything and it is now available as PhotoQ 1.5.1. Please delete the plugins/photoq-photoblog-plugin folder and download and install 1.5.1. If you just copy as I told you above some things will not work.

  • 11

    Tim thinks:

    This should be an easy one. Before the upgrade, I had each post show up on the main page as a thumbnail, and when you click on it, it opened using lightbox. Now, all of the pics on the main page are really big, and they aren’t links, so you can’t click them. New posts seem to be working fine, just as before, but all of the posts made before the upgrade have been changed. Is there any way to get them back the way they were?

  • 12

    whoismanu says:


    yes, just set the views settings of the the_content template tag accordingly under settings->photoq->views->the_content.

  • 13

    Tim writes:

    I couldn’t get it to work, so I had to manually go and update all of the previous posts. All better now.

    On a different note, I see in Settings/Further Options an entry about ImageMagick, but I don’t see it referenced on your site anywhere. Should I install this, and if so, do you have any instructions?

  • 14
  • 15

    whoismanu says:


    did you actually run the upgrade and import your old photos into PhotoQ 1.5 as described above under “Upgrading from PhotoQ 1.2.6″? with photoq you should never have to update any entries by hand…

    to answer your second question: no, you do not necessarily need ImageMagick unless you are running into memory issues with PHP. And yes it is referenced, under “More Options” in the post above and in the troubleshooting section under point 9. (guess my manual is getting to extensive… ;-) )

  • 16

    Свежие модули для Вордпресс за 24/09/2008 | Всё для WordPress (ВордПресс). Модули, шаблоны (скины) для Wordpress. says:

    [...] Обзор новых фишек и установка плагина описаны на сайте автора плагина. [...]

  • 17

    Tim says:

    I did the upgrade, but forgot to go back to the upgrade directions after being directed back up to the regular instructions in step 4. I backed up my DB and files, and finished the upgrade process and it worked with no issues. Sorry for the post!

    I do have another question. I have been using relatively small thumbnails up to this point, with the max dimension set at 150. I would like to go with bigger thumbnails now, but when I change that setting in PhotoQ, the resulting thumbnails look crappy. I assume this is because it is enlarging the existing thumbnail, rather than the original photo. Is there an easy way to fix this? If not, it’s no biggie, but I had to at least ask the question.

  • 18

    whoismanu says:


    no problem, glad it works now. concerning your other question: nope, photoq always resizes starting from the original image to prevent exactly this (only restriction, it won’t create thumbs bigger than the original). i suspect that your browser caches the old thumbnail. can you try to clear your browser’s cache after you update to a bigger thumb and also try to reload the page (ctrl-r)?

  • 19

    Paul writes:

    Installed it on a windows test box with WP 2.6.2 that’s been working fine. However when trying to batch upload images (even 1), it processes the image asks me to put in common info, I click ‘enter info’ and then it comes to page with ‘save batch info’ button (but no thumbnails or anything), I click that, and go right to the add photo to queue button.
    Couple of thoughts – maybe it’s not finding/using Image Magick? When I put in the path for that is that the full path to the convert.exe program including that name or just the dir?
    At first I made an imgdir under content called photoqimages but that way does show a qdir directory made but that’s all, (or uninstalling/re-installing shows a qdir directory in wordpress top level, not under wp-content as docs show)…

    Anyway, I’m rambling… any help appreciated.

  • 20

    Tim writes:

    Damn, you’re smart. Clearing the cache and reloading the page worked like a charm!

    I love this plugin!

  • 21

    Paul writes:

    Following up – I’ve uninstalled, re-installed, verified the imagemagick path (I use convert for other things anyway), enabled ONLY your plug in and same thing.

    Maybe I’m totally missing something but your plug in on my system doesn’t create any posts, there’s no thumbnails display anywhere, but the original images DO get uploaded to wp-content/qdir directory

  • 22

    whoismanu says:


    i sent you an email asking for a test account…

  • 23

    Paul says:

    Oh and I found your earlier comments to Daniel et al who had the same problem where you said GD probably not installed, but it is, on my server. My phpinfo output:

    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.1.9
    T1Lib Support enabled
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled

    Your other comments:

  • 24

    Georg writes:

    Me and a friend (thanks!) wrote some PHP to display the EXIFdata in another way then photoq normally does: in one row with pipes (|) in between.
    To adopt this, paste the code into your index.php-template of your theme and uncheck all exifs inside photoq-options so it doesnt display them.

    If you want more Exif infos, just add the corresponding Keys into the $keyswanted-array in the desired order.

    <div class=”EXIF”>
    $keyswanted = array(‘ISOSpeedRatings’, ‘FNumber’, ‘FocalLength’, ‘ExposureTime’);
    $exifsource = get_post_meta($post->ID, ‘photoQExifFull’, true); //liefert exif-daten
    $outputstring = ”;

    $exifsource['ISOSpeedRatings'] = ‘ISO ‘.$exifsource['ISOSpeedRatings'];

    foreach ($keyswanted as $key){
    $outputstring .= $exifsource[$key].’ | ‘;
    echo substr($outputstring, 0, -3);

  • 25

    whoismanu says:


    thanks for sharing this with us, i am sure this can be helpful to other photoq users. btw., that’s exactly the kind of use i had in mind when i decided to provide the photoQExifFull custom field.

  • 26
  • 27

    testone writes:

    Hello is there possible to make a overview of all the thumbnails with linked to the comment page with the main image?

  • 28

    whoismanu says:


    if what you want to do is something like i did on my page (see then yes. you need to edit your category or archive template and put something like

    <a href=”<?php the_permalink() ?>” title=”Permanent Link to <?php the_title(); ?>”><?php echo get_the_excerpt(); ?></a>

    instead of a standard call to the_content().

  • 29

    bimo thinks:

    Hi, we would love to use your plugin on our site but whenever I click on ‘Add Phot to Queue’, it takes me to ‘’ and shows a blank page. Any idea what would cause that? I cleared the cache and disbled as many plugins as I dared but we are working on a production server. I really can’t disable every other plugin until we get a test database but I was wondering if anyone knew why it might display this blank page.


  • 30

    bimo thinks:

    sorry, I thought we were on 2.6 but, alas, I see we’re on 2.5. Hopefully, we’ll upgrade soon.

  • 31

    whoismanu says:


    for wp 2.5 you can try photoq 1.2.4, for wp 2.5.1 you can try photoq 1.2.5. however, note that i can’t provide support for these old versions anymore. you can get old versions at

    blank screens like you describe are also often caused by missing gd php library.

  • 32

    Keith says:

    I installed the latest release of PhotoQ with WP 2.6.2. When I try to edit an entry in the queue, I get an error message “/var/www/k2l2/wp-content/qdir” is not a file. However, if I don’t edit the queue, I can post just fine. How can this error be fixed?


  • 33

    whoismanu says:


    hmm, never seen this before. if you have other plugins activated, can you try to deactivate them and check whether the problem persists?

    otherwise, would it be possible to give me a test account and send me login information via email, so i can have a look?

  • 34

    Keith writes:

    No other plugins are activated. I disabled batch upload and tried editing, but the entry in the queue disappeared. The queue was still empty after I renabled batch upload.

    I’ll check with my friend who is hosting my site to see if it’s ok to set up a test account for you.

  • 35

    Art says:

    Hey whoismanu – Thanks for your help. I installed the photoq plugin just yesterday for Keith who posted the problem above, I am the admin for the webserver the wp site is hosted on. It is wp 2.6.2 the latest rev. I got the photoq using the download button off your site, so it is current as well, photoq 1.5.1 per the whoismanu-photoq.php comments at the top of the file.

    There is no problem uploading images. The image directory is the default wp-content and the permissions are fine. The problem is when you go to “Manage” in the wp admin interface then “PhotoQ” then try to edit an image in the queue you get an error “/var/www/k2l2/wp-content/qdir as if photoq is trying to reference qdir as the filename of an image.

    What kind of account do you need for your testing on the blog?

  • 36

    Fungus | - Blogograaf uit Almere writes:

    [...] weekend, een mooie gelegenheid om aan de achterkant van dit weblog te werken dus. Ik heb vandaag de PhotoQ plugin voor WordPress geinstalleerd. Deze maakt verkleint de foto’s automatisch naar de gewenste [...]

  • 37

    PhotoQ 1.5.2 - Adds FTP Uploading And Batch Posting thinks:

    [...] update for PhotoQ 1.5 includes a number of bugfixes and also some new features. Performing the update is recommended to [...]

  • 38
  • 39

    Creare un photoblog in Wordpress | fabio marasco Web says:

    [...] Il modo più facile per iniziare a fotobloggare su piattaforma wordpress è di installare dei plugin che trasformano un blog in un fotoblog, tra questi i più accreditati sono YAPB (yet another photo blog) plugin e  PhotoQ Photoblog plugin. [...]

  • 40

    PhotoQ WordPress Photoblog Plugin Update 1.5.3 thinks:

    [...] update for PhotoQ 1.5 fixes an issue with batch posting several photos at once. If you do not use the batch posting [...]

  • 41

    Robin thinks:

    I’m confused, do I change wp-content to “imgdir” or do I make a new directory IN wp-content with “imgdir”?

  • 42

    whoismanu says:


    sorry for my explanations not being clear. you never change “wp-content”. “imgdir” is just a placeholder for whatever directory you want to use to hold your photos. it can be equal to “wp-content” which is the default. other example: if you choose to place your photos in a folder “photos” inside “wp-content”, “imgdir” would equal “wp-content/photos”.

  • 43

    iQ2 - A WordPress Photoblog Theme for PhotoQ thinks:

    [...] PhotoQ is cram-full but you are still looking for a photoblog theme to present all of these wonderful [...]

  • 44

    Thomas says:


    I just installed the plugin. It works so far, but I have a problem. The folder created on the server have the 744 permission. For me, they must have the 755 permission. How can I change this default value ?

    Thanks for this great plugin!!

  • 45

    whoismanu says:


    sorry, could you specify what folders you are talking about? the imgdir you created? the folders (e.g. qdir or the year-month folders) created by photoq?

  • 46

    Social mediering d. 2008-11-20 | René Clausen Nielsen writes:

    [...] Bookmarked a link on Delicious. PhotoQ WordPress Photoblog Plugin 1.5 Brings Tons of new Features to Your Photoblog [...]

  • 47

    wave says:

    hi it’s nice plugin but i can’t see all process within this plugin
    i use this plugin inside WP on my localhost server,
    but when i try to upload photo, it’s stuck, nothing happen(only progress bar show)

    FYI : nothing mod_security inside my apache
    i’m using PHP 5, and apache 2.2.8
    WP ver 2.6.2

    so what’s the problem ?????

    thanks for this nice plugin even i couldnot see it now :D

  • 48

    whoismanu says:


    does it work if you disable batch uploads under “settings->photoq->further options” ?

  • 49

    WordPress Theme Releases for 11/19 » All About Technologies writes:

    [...] iQ2 is a fixed width, widget ready, photoblog theme that fully integrates with the PhotoQ Photoblog Plugin. [...]

  • 50

    iQ2 Photoblog WordPress Theme writes:

    [...] fixed width and a Fully widget compatible WordPress photoblog theme which integrates with PhotoQ Photoblog Plugin. It has to be taken into consideration that the images can only be displayed on this theme if they [...]

  • 51

    matty writes:

    I get this error when I activate the plugin not sure what i am doing wrong?

    Warning: __construct(/home/b2bb2cc/public_html/mathieu/wp-content/plugins/photoq-photoblog-plugin/lib/ReusableOptions/OptionController.php) [function.--construct]: failed to open stream: No such file or directory in /home/b2bb2cc/public_html/mathieu/wp-content/plugins/photoq-photoblog-plugin/classes/PhotoQ.php on line 108

    Fatal error: __construct() [function.require]: Failed opening required ‘/home/b2bb2cc/public_html/mathieu/wp-content/plugins/photoq-photoblog-plugin/lib/ReusableOptions/OptionController.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/b2bb2cc/public_html/mathieu/wp-content/plugins/photoq-photoblog-plugin/classes/PhotoQ.php on line 108

  • 52

    whoismanu says:


    it means that it cannot find the file /home/b2bb2cc/public_html/mathieu/wp-content/plugins/photoq-photoblog-plugin/lib/ReusableOptions/OptionController.php on your server. probably something went wrong when you unpacked photoq or when you uploaded to your server. i would delete and reupload the whole wp-content/plugins/photoq-photoblog-plugin folder.

  • 53

    Stevie B thinks:

    Interesting plugin.

    Here’s my question: Can the photos be posted to a page dedicated to photos instead of the blog’s main page?

    It seems to me others have done this but I don’t see any instructions on how it might be done.

    Thanks in advance.

  • 54

    whoismanu says:

    stevie b,

    yes but not out-of-the-box. stuff like this would be up to the theme. i guess the easiest way would be to discriminate based on categories. i don’t have complete step by step instructions on how to do this, but i can give you a rough outline of what would need to be done (guess you will find how to do the individual steps by googling):
    1. all your photoq posts need to have a common category (say “photos”). easiest is to set this one as photoq default category in the photoq settings.
    2. you need to change your theme such that it excludes the “photos” category from the frontpage/main page so photos posted via photoq are not shown there.
    3. create a separate theme/template page for the “photos” category that shows the posts with category “photos”. there is for example a special category-id.php template file that could be used.
    4. create a wordpress page and make it use the newly created category template.

    just found this, looks helpful:

    if anyone has more detailed instructions or knows a better way, please tell. thanks.

  • 55

    Stevie B says:

    Cool. That is very helpful, thank you.

  • 56

    OddThinking » Online Photo DB: WordPress mini-evaluation thinks:

    [...] PhotoQ Photoblog [...]

  • 57

    OddThinking » Online Photo DB: Stage 4q - Evaluation of WordPress + PhotoQ says:

    [...] requirements do WordPress plus PhotoQ [...]

  • 58

    dsided says:

    Hey, I’ve installed this and when I visit Manage->PhotoQ->Add photos to queue

    then click “Select photos” the button doesn’t work, nothing happens. Any ideas? Thanks!

  • 59

    whoismanu says:


    yes, probably flash player 10 issue. see requirements for photoq.

  • 60 » Blog Archive » WordPress and Its Nearly Infinate Uses writes:

    [...] the camera setting and location the photo was taken. Several plugins, like the YAPB plugin and PhotoQ plugin allow you to easily manage and create your own photoblogs to share with the world. The YAPB plugin [...]

  • 61

    Stevie B writes:

    Can you give more info on hoe you produced the appearance of this page?

    I’ve been experimenting with the old_archives template and your earlier advice of adding something like “<a href=”<?php the_permalink() ?>” title=”Permanent Link to <?php the_title(); ?>”><?php echo get_the_excerpt(); ?></a>

    instead of a standard call to the_content().”

    but so far with no positive results.

    Great plugin by the way.

  • 62

    whoismanu says:

    stevie b,

    you could look at the archive.php template of the iq2 theme ( ) to see how i did it. if you do you will want to delete the <?php if($iQ2Theme->isPhotoPost()) :?> call and the corresponding endif as they are iq2 specific.

    i am not sure what the old_archives template you are referring to is but i would use the archive.php or a category template.

  • 63

    Stevie B says:

    Thank you. I’ll compost on that a little.

    Happy Holidays.

  • 64

    Scott Marlow thinks:

    I’ve successfully installed PhotoQ, IQ2, and WordPress 2.7 on a shared Windows server with MySQL 5. Is PhotoQ 2.7-tested? Trying to post my photo queue (whether batch uploading is off OR on), I get a long php error, and thumbnails are not being generated…


    phpThumb() v1.7.8-200709161750
    “” does not exist
    phpThumb() v1.7.8-200709161750 in file “phpthumb.class.php” on line 216

  • 65

    whoismanu says:


    photoq version 1.6 and higher run under wordpress 2.7. from what you tell me my first guess is that something went wrong when you uploaded photoq to your server. it seems like if some parts were missing. can you try to re-upload photoq?

  • 66

    Photoblogs and Galleries | Dustin Ward writes:

    [...] The easiest way to get started with photoblogging on WordPress is to either install Johannes Jarolim’s YAPB (yet another photo blog) plugin or the PhotoQ Photoblog plugin. [...]

  • 67

    Scott Marlow thinks:

    I double-checked and the file structure is identical on my local machine and the server, plus there are no files registering 0kb. What should I try next?

  • 68

    whoismanu says:


    one thing you could check is whether the gd php library is installed on your server. otherwise, would it be possible that you create an account for me on the site in question and send me the credentials via email so that i can have a look?

  • 69

    10 of the Best WordPress 2.7 Compatible Themes thinks:

    [...] – A photoblog theme built around the PhotoQ Photoblog Plugin which gives you choice of colors for the theme, the ability to batch upload photos and a whole lot [...]

  • 70

    10 de los mejores temas compatibles con Wordpress 2.7 | Mashable says:

    [...] Un tema de fotoblog creado en el Plugin de Fotoblog PhotoQ que te da a elegir colores para el tema, la capacidad para agrupar fotos subidas a la red y mucho [...]

  • 71

    Neil writes:

    I seem to be having the same issue as Scott. I am running on a IIS 6 server with MySQL 4.1 (tried with 5.1 but would not let me upload at all).


    phpThumb() v1.7.8-200709161750

    “” does not exist

    phpThumb() v1.7.8-200709161750 in file “phpthumb.class.php” on line 216

  • 72

    Myspace Proxies 360 » 10 of the Best WordPress 2.7 Compatible Themes writes:

    [...] – A photoblog theme built around the PhotoQ Photoblog Plugin which gives you choice of colors for the theme, the ability to batch upload photos and a whole lot [...]

  • 73

    whoismanu says:


    i didn’t hear back from scott so far so i don’t know whether he was able to solve the problem or not.
    it would be great if it would be possible that you create an account for me on your site and send me the credentials by email so that i could have a look at it. often this is the fastest way to find out why a certain problem occurs and to come up with a fix.

  • 74

    Neil says:


    I can’t believe how responsive your are to user’s problems. This looks to be a great plugin and would love to be able to use it. I have sent you an email with the login credentials to my site.

  • 75

    Nathan says:

    I’m getting this error when trying to activate the plugin…

    Fatal error: Cannot redeclare class OptionController in C:\xampp\htdocs\img\wp-content\plugins\photoq-photoblog-plugin\lib\ReusableOptions\OptionController.php on line 55

  • 76

    whoismanu says:


    there currently is a bug in the interaction of photoq and iq2. what you describe happens if you have iq2 activated before photoq. the workaround is to deactivate iq2, use the default wordpress theme and activate the photoq plugin. once the plugin is activated you can switch to the iq2 theme again.

    i should really post the update to photoq that resolves this issue but just didn’t find the time yet. sorry for your trouble.

  • 77

    gary little says:

    when trying to activate i get this:
    Warning: require_once(/home/gwlco/ [function.require-once]: failed to open stream: No such file or directory in /home/gwlco/ on line 39

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/gwlco/’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php’) in /home/gwlco/ on line 39

  • 78

    gary little says:

    I am sorry i forgot to tell you i am using wordpress 2.7 and the latest download of your photoq plugin.

  • 79

    whoismanu says:


    i am just guessing here but most probably something went wrong while unpacking or uploading photoq.
    after unpacking you should normally end up with a directory called “photoq-photoblog-plugin” in your case this seems to be “photoq-photoblog-plugin.1.6.1″. Can you try to unpack and upload again? also make sure that inside the above mentioned directory you have several subfolders, one of them called “classes”. “classes” should including a file called “PhotoQ.php” which currently seems missing on your install.

  • 80

    Jay Versluis writes:

    This plugin is great – works a treat!

    However, I’m trying to get automatic posting to work. How to I enable it? Do I need to have the WP-CRON plugin to run cron jobs? I didn’t find an option that says “Enable automatic posting”.

    Could anybody point me in the right direction please?



  • 81

    whoismanu says:


    you could start by trying to read the “Automatic Posting Via Cronjobs” section in the post above.

    Essentially you need a mechanism to execute the wimpq-cronpost.php file at regular intervals. usually this is done via a cronjob on the server. put a plugin that does something like this might also work.

  • 82

    Jay Versluis thinks:


    thanks for getting back so quickly. I can’t seem to find that section, have you got a direct link?

    The only mechnism I can think of is WP-Cron, but that plugin has been discontinued. Any reccomendations on a specific mechanism?

  • 83
  • 84

    Jay Versluis thinks:


    I’m still having trouble getting the automatic posting option to work. Here’s what I’ve done so far:

    - copy the wimpq-cronpost.php file into my root directory (that’s where my wp-config file is)
    - I’ve loaded up my PhotoQ with plenty of pictures
    - I’ve set the automatic posting option to post 1 picture per hour (as a test)
    - I’ve setup a Cron Job in Plesk that runs once an hour to call the wimpq-cronpost.php file.

    Now… I think I’ve got the time parameters correct (* for minute, */1 for hour, * for all the others), and I’ve tried several variations for the command. I’ve tried:

    - /httpdocs/wimpq-cronpost.php (that’s where the file lives, direct path)
    - %homedrive%%homepath%/httpdocs/wimpq-cronpost.php (server path with variables)
    - /var/www/vhosts/ (full server path)

    None of these work. I have to admit this is my first attempt at runnind a cron job so I wouldn’t know what the command line actually expects. Which option should work?

    Thanks for your help–


  • 85
  • 86

    whoismanu says:


    they don’t work because you don’t specify a program to execute the file with. you could e.g. try the following (using lynx a text-based browser to execute the file):

    lynx -source > /dev/null 2>&1

    or /usr/bin/lynx or whatever the path to lynx is on your server instead of “lynx” in the above. if this doesn’t work because e.g. lynx is not installed, wget might also be an option. just google “cron wget” for examples. hope this helps.

  • 87

    Jay Versluis writes:

    Thanks Manu,

    I’ve been in touch with my hosting company, and they said something very similar. They were kind enough to set the cron job for me, and they specified the path to PHP on my server, so the entire command line now looks like this:

    /usr/bin/php -q /var/www/vhosts/

    I’m sorry to say that this also doesn’t work. Sigh! I’ve even done a fresh install of PhotoQ, double-checked the location of the wimpq-cronpost.php file, but it just refuses to work. Are you saying I also need to install lynx or wget on my server now? I’ve never heard about either of these…

    There is good news however:

    One of my packages is shared hosting, which doesn’t allow for cron jobs. So I changed the index.php file as you’ve outlined for the pseudo-cron jobbie. That works perfectly fine – phew! Guess I’ll have to stick with that option.

    Would love to get this cron job working on my server though, it’s turning into a sport now ;-)

    Thanks for all your help, this plugin is AMAZING and definitely worth the tinkering! Keep up the good work!

  • 88

    Jay Versluis thinks:

    I forgot to mention…

    The BAD news is that my main website (on which I’d like to use automatic posting) is on my rented server, on which the modified index.php file doesn’t appear to work.

  • 89

    RhondaLee Quaresma says:

    I just installed the photoq plug in….seems ok except haw to i create photo galleries? I can only get it to publish 1 photo in a blog entry….i want a seperate photo section on the same blog! Help and thanks!

  • 90

    whoismanu says:


    with my shared hosting executing via /usr/bin/php never worked either. i don’t know why but it just didn’t. wget/lynx however work. i guess most of the time you have one of them installed anyway.

    concerning the index.php file. first of all note that this is a hack and not the preferred way of doing things. second please note that for photoq 1.5 and 1.6 the commands are not exactly the same. this post here refers to photoq 1.5 and is thus a bit outdated. be sure to follow the instructions here for the latest photoq version:

  • 91

    whoismanu says:

    RhondaLee Quaresma,

    photoq always posts one photo in one blog entry. this is what it is intended to do; it is actually all it does. it is not a gallery plugin but a photoblog plugin.

    now, you can still use it to build galleries but in order to do this you need to know about php and writing themes for wordpress. if you don’t i would suggest that you use one of the many available gallery plugins. if you do one solution would be to configure photoq to have photoq posts all belong to the same category, e.g. “photos”. you could then discriminate posts based on their category and not show photoq posts on the front page but only on a specific category page.

  • 92

    Joe says:

    Are you kidding me my post yesterday was deleted? Guess no one knew what to do.

  • 93

    coletree writes:


    i have a question,
    i installed wordpress 2.7.1 yesterday,

    and the photoq plugin warning:
    “This plugin has been tested with WordPress versions up to 2.7. You are running WordPress 2.7.1.”

    Are there any problem if i keep use photoQ
    in WP2.7.1 ?

  • 94

    whoismanu says:


    no, not anymore. but you have to update to the latest version of photoq 1.6.3. The warning will then also go away.

  • 95

    whoismanu says:


    nope, it is still there ( comment #44). just to be clear: i never delete user comments (unless they are obviously spam). however, it can happen that comments go into the moderation queue if wordpress thinks they are spam. they will then show up once i approved them. guess that’s what happened to yours.

  • 96

    Creare un photoblog in Wordpress - marbio blog | Web 2.0, Internet e Informatica thinks:

    [...] Il modo più facile per iniziare a fotobloggare su piattaforma wordpress è di installare dei plugin che trasformano un blog in un fotoblog, tra questi i più accreditati sono YAPB (yet another photo blog) plugin e  PhotoQ Photoblog plugin. [...]

  • 97

    Free Wordpress photoblog theme download says:

    [...] is a WordPress photoblog theme that fully integrates with the PhotoQ Photoblog Plugin. The main features of the theme at a [...]

  • 98

    Kaip susikurti fotobloga | 2day blog writes:

    [...] įpročių, tuomet tiesiausias kelias wordpress paversti fotoblog sistema yra pasinaudoti YAPB arba PhotoQ pluginais. Čia rasi patarimą ką reikia daryti, kad tavo fotoblogas atrodytu [...]

  • 99

    Top 10 Themes Tương Thích Nhất Với WordPress 2.7 | Blogs says:

    [...] – Đây là theme dạng phôt có đính sẵn công cụ PhotoQ Photoblog Plugin cho phép bạn làm xiếc với màu săvs và khả năng đăng tải hình ảnh…v..v… [...]

  • 100

    tmtbox media | Top 20 Gorgeous WordPress Gallery Themes thinks:

    [...] for anyone wanting to show off their works or designs. It does require you download and install the PhotoQ Photoblog Plugin as this is what powers the theme. No charge is associated with this theme, but donations are [...]

  • 101

    31+ Great Free/Premium Wordpress Photo Gallery Themes Let Us Discard Gallery2 etc - writes:

    [...] is a WordPress photoblog theme that fully integrates with the PhotoQ Photoblog Plugin. The main features of the theme at a [...]

  • 102

    Top 10 Themes Tương Thích Nhất Với WordPress 2.7 | Blog Kiếm Tiền says:

    [...] – Đây là theme dạng phôt có đính sẵn công cụ PhotoQ Photoblog Plugin cho phép bạn làm xiếc với màu săvs và khả năng đăng tải hình [...]

  • 103

    20 Gorgeous WordPress Gallery Themes » SitePoint says:

    [...] for anyone wanting to show off their works or designs. It does require you download and install the PhotoQ Photoblog Plugin as this is what powers the theme. No charge is associated with this theme, but donations are [...]


serving fresh homemade photographs