A bit over a month ago, Apple’s MobileMe users were sent this message
that said in effect “despite what we told you, and what you’re paying $99 a year for, we’re going to stop fully supporting your old .Mac HomePage web sites on 8 November” – in particular images, movies and files that were shared on the site would no longer be displayed.
The folder set up on .Mac was as shown here – and the folders of interest are Movies, Pictures and Sites. The folders Movies and Pictures that hold the media items displayed on the pages in the Sites folder are outside of the Sites folder.
On a page in the Sites folder that was created with .Mac HomePage or iPhoto, a reference to an image might look like
<img src="/rogerkiwi/.cv/rogerkiwi/Sites/.Pictures/Photo%20Album%20Pictures/2002-10-09%2019.58.01%20-0700/ImageDCP_3428.jpg-thumb_140_105.jpg" border="0" alt="" width="125" height="105" />
Note the strange path to the image, with rogerkiwi appearing twice and two other folders’ names starting with a .. Who knows what the rationale for this was, but it worked until Apple’s announcement was implemented. Fortunately the fix is very simple**:
Copy your Pictures and Movies folders into the Sites folder.
- Or if you have lots of empty space on your MobileMe site, Copy the Pictures and Movies folders into the Sites folder leaving the originals in place in case of an “oopsie”
- Make a copy of the Sites folder so that you can easily restore things in case the next step results in an “oopsie”.
- Using TextWrangler, open its “Multi File Search” dialog (press ⌘- shift – f)
- Click the “Other…” button and navigate to the Sites folder on your iDisk volume and choose it so that it
- appears listed at the bottom of the dialogue box
- In the Find box enter /.Pictures/
- In the Replace box enter /Pictures/ (we are just removing the leading . from Pictures)
- Click Replace All button and the Confirm dialogue comes up
- Click Proceed and wait for the Results window to come up. It will list all of the files that were changed, and how many changes made in each file.
- That should be it- you can confirm that it worked by visiting one of your pages. Without the fix in place it might look like this – my images are missing, but all of Apple’s page backgrounds and image borders are in place, but with the fix in place it looks and works as expected. Note that it could take a few minutes or more for these changes made locally on your Macintosh to synch themselves back to Apple’s MobileMe servers.
This worked for me to implement a couple of days after Apple made the changes on 8 November to allow my various pages made over the years using iPhoto and .Mac HomePage to continue to be displayed. I kind of like the progression of styles over the years that are displayed by these pages, and didn’t really want to have to recreate them all from scratch again.
** So simple in fact, that one wonders why Apple couldn’t have implemented some type of RewriteRule so that things could stay as they were, or run a script on everyone’s sites to make the needed changes, or at least made available a script that users could run to do this.
I forgot to add that if you have any pages with Movies embedded in them that were made with iPhoto or .Mac HomePage, you need to repeat the above Find and Replace in TextWrangler to replace /.Movies/ with /Movies/
Note that you can not delete the Pictures and Movies folders when you are finished – you can not delete any folders at the Root level that you didn’t create yourself. But you can delete the contents of the Pictures and Movies folders if you need to.