Upgraded to WordPress 2.7.1 and encountered a huge problem

I upgraded 2 sites a long time ago but it prevented me from upgrading the other websites. I had one huge problem, other than that everything went fine during the upgrade. But it was and is a major problem which I just cannot ignore.

I have a problem with the gallery feature at Weggis.net. When I upgraded from WordPress 2.7 to WordPress 2.7.1, the [gallery] code is not returning the right upload path. I am not using wp-content/uploads upload path. I have different folders for 2006, 2007 and 2008 pictures.

At present, the upload path should be wp-content/files/images/2009 but it is not the case. The pictures can be viewed in 2009 but the pictures in 2006, 2007 and 2008 cannot be viewed if I use the upload path wp-content/files/images/2009. The pictures are just there but they cannot be viewed using the [gallery] code. The [gallery] code is calling the upload path of the supposed to be present upload path wp-content/files/images/2009 for all the pictures including those in 2006, 2007 and 2008 folders instead of wp-content/files/images/2006 for 2006 pictures, wp-content/files/images/2007 for 2007, and wp-content/files/images/2008 for 2008 pictures.

As I have already upgraded to WordPress 2.7.1, and I don’t like to downgrade to WordPress 2.7, I decided to upload all the photos via FTP to wp-content/files/images without the year just to remedy the problem. I changed the upload path from wp-content/files/images/2009 to wp-content/files/images. Using the path wp-content/files/images, site visitors can view all the photos in 2006, 2007 and 2008.

The problem is, I would like to upload photos this 2009 at wp-content/files/images/2009 but doing that, site visitors will not be able to view the photos temporarily while I am uploading the photos at wp-content/files/images/2009 as the upload path is of course wp-content/files/images/2009. After uploading the pictures, I need to upload the photos again via FTP to wp-content/files/images to duplicate the photos in wp-content/files/images/2009. Then again, I have to change the upload path from wp-content/files/images/2009 to wp-content/files/images so all the photos can be viewed regardless of the year.

For the meantime, I am doing this process so that when the gallery will be fixed, it will return to normal just like when the site was still using WordPress 2.7. I had no problem with the gallery code with WordPress 2.7. The problem only occurred when I upgraded to WordPress 2.7.1, and I don’t think that it has something to do with the WordPress Plugins.

I have a suggestion though regarding the upload path. There is this option under Settings > Miscellaneous where we can organize uploads into month- and year-based folders. Why not include year-based folder only without the month folder? Then we do not have to change the upload path every time the year changes. I actually would like to use the option “Organize my uploads into month- and year-based folders” but for me, the month-based folder is not necessary.

Can WordPress add a year-based only folder option? Will this option require a lot of programming and changes to the core codes? I am not a programmer so I really wouldn’t know. I hope they will try to look at this option. I am crossing my fingers. 🙂

4 Comments to “Upgraded to WordPress 2.7.1 and encountered a huge problem”

  1. […] tried to find a solution to the WordPress 2.7.1 gallery code problem. I checked some templates first but I was not able to identify the right one. So I searched the web […]

  2. […] encountered a problem and that is with regard to the WordPress 2.7.1 gallery code problem which I already encountered when I upgraded the blogs and sites from WordPress 2.7 to WordPress […]

  3. […] still had a problem with the WordPress Image Gallery Code which I mentioned when I upgraded to WordPress 2.7.1, and again, when I upgraded to WordPress 2.8 Baker (Gallery Code Problem), WordPress 2.8.3 (Image […]

  4. […] read this blog entry, Solution to WordPress 2.7.1 Gallery Code Problem. I have been having this problem with WordPress Image Gallery since upgrading to WordPress 2.7.1 and until yesterday when I upgraded the sites to WordPress […]