Updates: PhotoQ 1.6.2, iQ2 1.0.3
January 25th, 2009
There are two small updates available, one update for PhotoQ and another update for iQ2. The updates remove a bug in their interaction. You only need to update if you are using both of them and have errors saying something like “cannot redeclare class..”.

Ken writes:
How do I remove photoQCache folder from my site? It has user & group as apache! what do I have to do contact my hosting provider and ask them to go into my blog and remove a folder for me?
Andrew thinks:
Hi, PhotoQ is working well for me, I am working on writing a theme to make the most of the features. Baring in mind this will be the first theme I write, I could do with understanding:
If I make PhotoQ post to a category, can I make that category page use different post templates to the home page – or any other blog view… can I have category specific formating?
Can photoQ exerts include the exif data? where can I play with the code that looks after these kind of formatting issues?
Can I add some code to change the date of posts to use the date (and time?) which is on the exif data, so my photos appear in the order I took them, rather than the alphabetical order they upload in?
Any help much appreciated, I like photoQ, and depite having lots of questions, might be able to contribute in the future (with ideas if nothing else), so please feel free to email me.
Best wishes
Andrew
whoismanu says:
ken,
this is because on your webserver php is executed under a different user than the user you use for accessing the server via FTP . the result is that your FTP user doesn’t have permission to delete files created by php. until i add an option that lets photoq create files with write permissions for all users you can use a tool like quixplorer (a php file manager) to remove files created by php that you cannot remove with FTP .
whoismanu says:
andrew,
i would suggest that you have a look at the iq2 theme as a possible example for photoq theme interaction. this might already answer some of your questions.
yes you can have different templates per category. but this is completely independent of photoq. as a themer photoq posts should be no different to you than regular wordpress posts. so you can have different category templates like you would for regular wordpress posts as well. please see the wordpress codex for how to do this.
no photoq excerpts cannot contain exif data. only the content can. but even there i would recommend that you do not inline the exif if you are already designing a theme from scratch. the same goes for description. inline is intended for existing themes. if you build your own i would suggest that you use one of the two exif related custom fields “photoQExifFull” or “photoQExif” instead. like this you can show there output where you want. you can see an example of how to do this in the iq2 theme.
concerning post dates from exif. i guess this is a bit more difficult. you certainly have the info in the “photoQExifFull” array but you would have to write code to extract it from there for every post and then sorting posts accordingly on your own.
contributing is a great plan and a theme would definitely be a great contribution :-)
hope this gives you already some more hints. if you need more help, just aks.
Andrew thinks:
Thanks for that help!
I will get some chance to look at it later this week. I wasn’t hoping to write an entire theme (though in the long term that would be ideal) – I was working on altering one I found which I like.
I am looking at having a catagory for all PhotoQ photo posts (I think you have provided a setting for that in the plugin, so thanks), and I would like the excert view to be a thumbnail, and for the posts to stack in a grid, to fill the available window -o- I don’t think thumbnails should be listed!. I have implemented lightbox, so the thumbnails open a ‘slideshow’. Idealy, I would have a large grid of thumbnails, which linked to the lightbix, and a few web2 style buttons to provide other functionality… View exif, download, view post etc…
But really i would like to format the posts taht PhotoQ outputs – as I will for example, want the exif and photo to appear next to one and other, instead of ontop of each other…so is that a photoQ thing or a theme thing?
I have downloaded iQ2 (nice name :) ); and will be having a look through it later.
Thanks for your reply – and your working on photobloging so far! Andrew (email me if you wish)
Andrew writes:
- also, In my installation, if I add many tags to many photos, the site only processes the first photo on the list, when i press add info! so i have to go back and do it all once at a time.
whoismanu says:
andrew,
your post number 5: according to me it is a theme thing. if you don’t inline exif and description but only rely on the_content and the_excerpt for displaying the photo, you can place the output of the_content, the_excerpt, the exif custom field, the description custom field, where ever you want in your theme.
post number 4: thanks, bug confirmed on wordpress 2.7.1 they must have changed something in category handling from 2.7 to 2.7.1 that i was not aware of. i am working on a fix.
John writes:
Thanks for writing this plugin. It’s great. I think I have discovered some bugs. I would like to report them.
1)Adding photos loose there information. I upload more than 1 photo, I skip adding any common info. I enter all my info on the “Manage PhotoQ – EnterInfo” then I click save batch info, and only the first image in the list has the information from the previous form.
2)editing posts does not save newly entered information when I hit Update Post. This only happens with posts that use the photoQ plugin
I am running WordPress 2.7.1 with only this plugin.
petter writes:
I’m having problem with 1.6.2 on WP 2.7.1. Running php 5.2.9, mysql 5.1.31 on Apache 2.2.11 on MacOS X server 10.4.
Can upload photo but not batch save info.
Any idea what might cause these db errors?
When enabling plugin:
WordPress databasfel f\xc3\xb6r Table ‘MYBLOG.wp_photoq’ doesn’t exist f\xc3\xb6rfr\xc3\xa5gan \n\t\tSELECT\n\t\t*\n\t\tFROM\n\t\twp_photoq\n\t\tWHERE\n\t\t1\n\t\tORDER BY q_position\n\t\t skapat av activate_plugin, include, PhotoQ->__construct, PhotoQSingleton->getInstance, PhotoQQueue->__construct, PhotoQQueue->load, PhotoQDB->getQueueByPosition, referer: https://MYWEBSITE/MYBLOG/wp-admin/plugins.php?deactivate=true
When saving batch info:
WordPress databasfel f\xc3\xb6r You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 f\xc3\xb6rfr\xc3\xa5gan UPDATE wp_photoq SET q_position = ’0′, q_title = ”, q_descr = ”, q_tags = ”, q_slug = ”, q_edited = 1 WHERE q_img_id = skapat av require_once, do_action, call_user_func_array, PhotoQ->manage_page, PhotoQ->update_queue, referer: https://MYWEBSITE/MYBLOG/wp-admin/edit.php?page=whoismanu-photoq.php
WordPress databasfel f\xc3\xb6r You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 f\xc3\xb6rfr\xc3\xa5gan SELECT category_id FROM wp_photoq2cat WHERE q_fk_img_id = skapat av require_once, do_action, call_user_func_array, PhotoQ->manage_page, PhotoQ->update_queue, referer: https://MYWEBSITE/MYBLOG/wp-admin/edit.php?page=whoismanu-photoq.php
/petter
whoismanu says:
john,
this is a bug and now corrected in the latest version (PhotoQ v1.6.3)
Matt says:
Hey I used version 1.1 for the Longest time, just upgraded, and now whenever I try and post an image that’s in portrait instead of landscape it FLIPS out and refuses to make a thumbnail or actually process the image. Any advice?
whoismanu says:
matt,
your post was transferred to the forum at http://www.whoismanu.com/forum/topic/problem-upgrading-from-v11 and it will also be answered there.
please also post future support questions on the forum. thanks.