Picture Upload Not Supported By Blog Error – Windows Live Writer & WordPress : Solved

If you are trying to publish a post containing pictures to a WordPress blog using windows live writer you may encounter the following error.

“The following pictures cannot be published because the blog does not support picture publishing.”


The error could be caused due to several reasons. In my case the error was caused due to two reasons. One, I had not created the uploads folder in wp-content and two after creating I did not CHMOD it to 777.

To solve this problem try the following.

1. Go to your WordPress site admin, look for the Settings panel (bottom – left corner) and click on Miscellaneous option.


2. Make a note of the upload folder.


3. Now open an FTP connection to your site and browse to your WordPress folder. 
Check for wp-content/uploads folder and create if it does not exist

4. Folder Permissions – Check if the folder has read , write & execute permissions for owner, group and everyone. ie. make sure the permission level is 777. If not CHMOD the folder to 777.

Thats it! You should now be able to create posts with images.

HL7 File Rename Application – Based on Open Source HL7 API by UCH

As promised in my previous blog here is a preview of the application I am developing to rename hl7 messages to reflect patient demographic information in the filename.

The HL7 file rename application is a utility software which scans specified folders for HL7 files. The application then parses these files to pickup patient demographic information like firstname, lastname, date of birth etc. from the PDI segment and renames the files to include this information in filename. The benefit is that users can now locate HL7 files for a particular patient using normal file search utilities like windows search, google desktop search etc.

I created this application using Visual C# 2008 express edition & NHapi HL7 parser by UCH. The application is designed to be able to process large volumes and all time consuming operations are performed on independent threads so that the UI remains responsive. The user can also view detailed statistics including current progress, files successfully processed, number of errors, time elapsed, time remaining etc.


The flow of the application is as follows.

1. User sets up a new job by clicking on the job setup button. User can select the folder where the HL7 files are located. In this version the user can also select a folder which contains pdf files associated with the HL7 files. User can select the rename mode and auto repair options for messages with parse errors.


2. User starts the scanning and parsing process by clicking on the parse button. This operation is performed on a background thread. Detailed statistics of the processing operation are shown while the operation is being performed.


3. The renaming operation can be performed if at least one file was found. The renaming operation is also performed on a background thread and statistics are visible while the operation is being performed.



4. The message log shows useful information, error messages etc.


These screenshots are from the latest stable version of the application. I will post the source code here soon. Many thanks to the NHapi team for their excellent API. To know more about NHapi please visit http://nhapi.sourceforge.net