Both my MacTips website and this one have a rather chequered history. Both sites have been moved several times from one server to another, been part of other websites and then split out, and generally moved around.
What’s more images in the posts have been added and handled in various ways, including being uploaded to various images folder and added manually, added by earlier versions of WordPress, and held in separate photo album software.
In short, things are a bit of a mess, with broken links, missing images and a mish-mash of coding across Posts.
A clean up
Recently I’ve had some time to tackle this enormous problem, and I’m slowly working my way through thousands of posts over two websites to bring things into line.
Many of my Posts include images, but for a while I used the Gallery software to store and display them, and to include them in my Posts. When I moved MacTips to a new server recently I decided to bring the images back into WordPress directly.
WordPress has captions and galleries
Recent versions of WordPress have brought us captions and Galleries. You can see the captions on this Post. For a Gallery you first upload several images and ‘attach’ them to one Post, then use the Gallery shortcode to add all the images to a Post in one go.
The Gallery quirk
I had problems initially with using a Gallery, because after inserting it into my Post through the web interface in either Safari or OmniWeb I would then be unable to get the browser to respond to clicks. If I tried to save the Post, for example, no amount of clicking on the Save or Publish buttons would do anything.
Finally I turned to Firefox, where it usually seems to work OK.
Watch the video
I made a 4.5 minute video to show how creating and inserting a Gallery works in WordPress.
Please visit the video on YouTube too and leave comments and rate it. Let me know what you think.