For more information on Sweden see Aussies in Sweden
and on Australia Australians Abroad
Custom Search

onsdag, september 20, 2006

Hijacked by a webmistress 




No, this is not Marie, but the webmistress of Australians Abroad
Blogger is having problems, ever since Google took over. There's a real problem with uploading images.

I looked at the code that blogger produces, and at the image files that it uploads. I see two problems and I MAY have a solution. Only way to tell, is to test it.



Ok. But now I'll try another.
I'll also try puting in some new lines here ....










Well that seemed to work. For Melbourne people, you may recognise Wilson Hall, University of Melbourne. As you can see this is a very old photo, of me and my first boyfriend. It was taken 100 year's ago.

So what's going on. How come I have it working?

It's not simple, but it's not too hard either. I DO expect blogger will work properly again, but in the meantime, here's a solution.

I'll demonstrate with a new photo.

I do the upload - no image shows in the preview. Look at the code blogger produced.
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.gumnut.com/coolabah/ausblog/marie/uploaded_images/hoboken2-731958.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://www.gumnut.com/coolabah/ausblog/marie/uploaded_images/hoboken2-727619.jpg" border="0" alt="" /></a>

Note there are to references to the image - hoboken2-731958.jpg and hoboken2-727619.jpg. One must be the full sized image - the one with the A HREF tag.

The other must be the smaller image.

I look on the server. I download the two images, and hoboken2-731958.jpg - the one in the A HREF tag is a valid graphics (jpg) file. But what of hoboken2-727619.jpg? Painshop Pro will not open it. "Not a supported file type"! And it's only 1K.

Looks like blogger is not producing the smaller image. It's making the file but not making the contents correctly.

So I make both images in the html produced by blogger refer to the non-thumbnail image.


This works, BUT I have no thumbnail.

Of course I can make my own, and upload it. Not convenient, but I'll do it anyway.

It is one of me and my little brother with our mum in Caulfield.

I get the following code produced.
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.gumnut.com/coolabah/ausblog/marie/uploaded_images/children.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://www.gumnut.com/coolabah/ausblog/marie/uploaded_images/children-796715.png" border="0" alt="" />
I check the server to validate what I'm thinking.

Sure enough children-700184.png is a valid png file, but the supposed smaller image - children-796715.png is only a few bytes in size.

Luckily I have ftp'ed my small version alreadty so I change children-796715.png to 'childrens.png'.



That worked. Click on the photo and you'll see a larger version.

It's all a bit of a nuisance. But it is do-able.

Just use blogger as normal. Then ftp a small version of your image to the website hosting your blog. Your site admin should be able to write a small webpage program for you to do this.

Rename the first image in the google code to the name of your own small image, and Bob' your uncle.

And if you don't NEED a thumbnail, just change the second file name to be the same as the first as I am doing HERE!


And now it's back to Marie and something completely different!




Hijacked by a webmistress (onsdag, september 20, 2006)


Archives

november 2003   december 2003   januari 2004   februari 2004   mars 2004   april 2004   maj 2004   juni 2004   juli 2004   augusti 2004   september 2004   oktober 2004   november 2004   december 2004   januari 2005   februari 2005   mars 2005   april 2005   maj 2005   juni 2005   juli 2005   augusti 2005   september 2005   oktober 2005   november 2005   december 2005   januari 2006   februari 2006   mars 2006   april 2006   maj 2006   juni 2006   juli 2006   augusti 2006   september 2006   oktober 2006   november 2006   december 2006   januari 2007   mars 2007   maj 2007   juni 2007   juli 2007   augusti 2007   september 2007   oktober 2007   november 2007   december 2007   februari 2008   mars 2008   april 2008   maj 2008   juli 2008   september 2008   november 2008   december 2008   januari 2009  

The WeatherPixie Blogwise - blog directoryExpat Women—Helping Women Living Overseas expatriate

expat express

Euro Blogs

Powered by WebRing.
How I Learned to Stop Worrying and Love Herring
BLOGGER OVER 50 [-]
BLOGGING FRIENDS [-]
BLOGGING CHICKS [-]

This page is powered by Blogger. Isn't yours?