Saturday 15 August 2009

FTP publishing issues with Blogger

My website: Wedding Photographers in Kent

For further photography-related information check out my tips for photographers.

For those of you who publish your blog to your own domain using FTP, rather than being hosted by Blogger, you've probably encountered problems uploading images from time to time. Apparently this is due to communication issues between the webhost servers and Blogger. The images do end up on your server but the information required by Blogger to generate the html code is not returned.

One solution is to publish to a custom domain using Blogger but this has to be to a home directory rather than a subdirectory, which is probably what most of us use, eg

It's been so bad this week that I've been publishing my photos manually. Here's the procedure I came up with:

1. Uploaded images are stored on your server at blog - uploaded_images. Select a unique image name for your new images.

2. Export photos from Lightroom with your Custom Name - Sequence specified and resized to fit 400 x 400 pixels.

3. Paste the following HTML code into your post for each image. You need to specify the domain name, image name and pixel dimensions for each image (shown in bold). Blogger normally generates two jpeg files for each image - one for displaying in the post (resized to within 400 x 400) and one with the original pixel dimensions for displaying if you click on the image within the post. Since our image has already been sized correctly we can use a single jpeg file.

<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href=" imagename.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 278px;" src=" uploaded_images/imagename.jpg" border="0" alt="" /></a>

It doesn't take too long to do this, though it's obviously not ideal, but it does avoid the irritation of seeing the 'Your file upload is taking longer than expected' error message!


J Drew said...

Useful to know it isn't just me having problems loading images with Blogger.

emptyspaces said...

Thanks...but what a pain in the ass! I've had problems loading to Blogger for nearly a month now. Your workaround is appreciated, but my wife and I post almost daily and wouldn't want it to become such a chore. Wordpress?

David said...

I agree - it is a pain. I've no direct experience of Wordpress but I think it's a more flexible blogging tool.