Archive for January, 2008

Picasa, Gallery Exif and ITPC comments and data

January 31, 2008 6:00 pm

If you want to export photographs from Picasa to Gallery or Flickr, you might want to populate the comment, copyright and caption data in the photo. This might get a bit technical, but here goes…

1. Download exiv2-0.13-win.zip
2. Unzip and place the exiv2 in the directory where your .jpg pics are located
3. Open notepad and type the following

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /R %%f IN (*.jpg) do (
set FILE=!FILE!%%f
set SHFILE=!SHFILE!%%~nf
echo "SHFILE IS " !SHFILE!
echo Processing "File" !FILE!
exiv2 -k -M"set Iptc.Application2.Caption !SHFILE!" -m copyright.txt "!FILE!"
set FILE=
set SHFILE=
)

4. Save this file as nmtocap.bat and place it in the same directory as the jpgs and the exiv2.exe

5. Double click the nmtocap.bat file. That is it. Now, open Picasa and you will observe that the captions are modified.

NOTE:

1) Omiting -k will change the timestamp on your files
2) If you want to see the result of the modification, instead of Step 5, open a cmd prompt and navigate to the directory where the pics are stored. Type in “nmtocap.bat” at the command prompt and in copyright.txt, you put

set Iptc.Application2.Copyright "My CopyRight Notice"

THEN once all that is done, if you want to populate the JPEG comment section with a longer copyright, you browse thumbnails in Irfanview (with the irfanview plugins installed), select all, go to JPEG lossless operations, insert comment, and off you go!

Strange square in top left corner of monitor in Windows with ATI card

12:34 pm

This strange little square in the corner of my monitor was causing me a little worry, until I searched on newsgroups and found that it is a bug in the ATI graphics card drivers version 8.1

So nothing to worry about - just posting this in case anyone else is wondering what it is!

Gmail opens blank page with attachment download on Firefox Tab Mix Plus

8:58 am

If you get a blank page when downloading attachments from gmail, here are some possible solutions..

From:  http://tmp.garyr.net/forum/viewtopic.php?t=7938
workaround 1:
open TMP options > Links > Prevent blank tabs when downloading files >
EDIT
and remove from the list the line /disp=attd&view=att/
workaround 2:
lock the tab
workaround 3:
Ctrl-click or middle-Click on the Download link
Workaround #1 worked for me…

Romanian Gypsy lying thieving child crimewave

January 26, 2008 10:05 am

So, it’s official - as anyone who ever stepped outside their front door already new…

http://news.bbc.co.uk/1/hi/england/berkshire/7206476.stm

and

http://news.bbc.co.uk/1/hi/england/berkshire/7209549.stm

Police target child crime gangs

A baby less than a year old was among 10 children taken into care after a police operation targeted gangs who used youngsters to pick pockets. Officers from several forces, including the Metropolitan Police, raided 17 addresses across Slough, Berkshire.

At least 25 adults were held, accused of immigration breaches, deception, fraud, theft and pick-pocketing.

The inquiry surrounds child trafficking from Romania and the welfare of the children involved.

Once again, the immigration policies of this wretched government have lead to more wretched lives through child trafficking and organised crime. Well done, NuLabor!

BTW, I see that despite above-inflation council tax rises, many councils are having to cut services to pay for mass immigration. That’ll be the benefits we are brainwashed into believing we’re getting, right?

Updated Wordpress and vSlider theme - some problems solved.

January 24, 2008 5:58 pm

A bit of nerd stuff here, hope it can help others!

I’ve updated the things which drive this site - Wordpress, Gallery, WPG2 and the theme, vSlider.

There are a couple of problems which crept in, mainly that where a gallery item was added via WPG2 in a Wordpress post, I was seeing:

Error (ERROR_BAD_PARAMETER) : Smarty error: The template ‘modules/imageframe/templates/containers/ImageFrame.tpl’ does not exist.

As usual, the good people on the gallery forum came to help in this post, the solution being:

cd wordpress_directory/wp-content/plugins/wpg2/
ln -s ../../../../gallery2/modules/ modules

(note the space between modules and modules above - also, change the symlink depending on your installation).

Another problem I had was either

Configuration Error: Missing Theme
Missing Theme

This album is configured to use the vSlider3 theme, but it is either inactive, not installed, or incompatible. To fix this problem you can either choose a new theme for this album or install or activate this theme.

Or

This theme can only be viewed when embedded in WordPress and using vSlider 3

Again, the answer lay in this thread

Try changing line 158 of gallery/themes/vSlider3/theme.inc to

if(include('../../../wp-config.php')) {

or if you have wp-config.php in wordpress/ then make it

if(include('../../../wordpress/wp-config.php')) {


Ecodisc cover DVD stuck in Mac slot drive

1:27 pm

 

The problem of unwanted freebie coverdiscs has been growing for a while now. So, someone invented EcoDiscs, which are half the thickness of a normal DVD. Except they’ll bugger your Mac up and leave you with a bill for £65+VAT.

The Independent and The Daily Mail amongst others gave away some ecodisc cover DVDs this weekend, and on Monday, a distressed relative called to say the mac was making strange noises. After a couple of hours, I began searching on the internet, and found the answer:

http://www.reghardware.co.uk/2008/01/17/slot_load_pc_pro_drive_mayhem/comments/#c_135025
http://www.pcpro.co.uk/news/155010/mail-on-sunday-angers-mac-users-with-dvd-giveaway.html
http://qompute.wordpress.com/2008/01/18/ecodisc-becoming-ecodisaster-for-mac-owners/
http://www.reghardware.co.uk/2008/01/17/slot_load_pc_pro_drive_mayhem/
http://digg.com/apple/Environmental_DVD_Wrecks_Apple_Drives
http://www.kizo.com/2008/environmental-dvd-wrecks-apple-drives/
http://apple.slashdot.org/article.pl?sid=08/01/17/1747254

Ecodisc

I phoned The Independent who took no responsibility at all, but said they’d send out a standard form reply by email (which never came) disclaiming all responsibility. So, there’s a warning on the disc (click for full size)

Yes, it’s 4mm high, in fuzzy print. As if anyone is going to see that! It needs to be the LARGEST thing on the disc. And the words “No Apple slot in drive” is more Chinglish than English (hence the title of this post).

I then called the manufacturer, ODS, who sent me the document below - yes, the solution is to turn the Mac upside down while ejecting the disc. In fact, as this didn’t work at first, I followed further guidelines on the net suggesting I bang it while ejecting and upside down! This finally freed the disc, but does anyone have any idea how bad that can be for a hard drive?! It could cause a head-crash and data loss at the least.

Another surprising thing is that according to one of the articles above, Ecodisc have had “less than 12 calls about it”. Makes you wonder why they need a standard document like this, doesn’t it….

Everything below is quoted:

 

EcoDisc – argument guideline to get EcoDisc out of Apple computer

If customers face the unlikely incident that the EcoDisc is not ejected out of a computer slot-in drive (even after several trials) our recommendation is:

  • To try with 1. turn laptop/PC upside down, 2. press manual “eject” button

  • To restart the computer once again and try with the eject button

  • If accessible: to take the disc-drive out of the computer, open the disc-drive with a screw driver and then take the disc out. A technically versed person can accomplish this within ten minutes

  • To take the computer to the next Apple shop for fixing; cost approx. 25-50€.

  • Not to insert a second EcoDisc afterwards, because we cannot guarantee that this measure works with all slot-in drive constructions existing world wide

  • Not to use tools like tweezers or other, because these tools might really damage the drive, but the EcoDisc itself does not damage the drive or destroy it, just might block the ejection mechanism

Three Little Pigs story offensive to Muslims, apparently.

11:02 am

Of course, it’s not offensive to anyone. The thing that IS offensive is this:

A story based on the Three Little Pigs fairy tale has been turned by a government agency’s awards panel as the subject matter could offend Muslims.

The digital book, re-telling the classic story, was rejected by judges who warned that “the use of pigs raises cultural issues”.

It’s almost as if the ruling of Becta was designed to set people against each other. I wrote and asked them about this phrase, and they pointed me to a wishy-washy press release, which didn’t answer the question at all.

Anyway, follow the comments on the PM blog - from which I found the following gem (credit to mittfh, not me)

Other candidates for censorship:
Cinderella - because her aesthetically challenged sisters are portrayed in a negative light.

Snow White - because her vertically challenged housemates do all the work.

Rumpelstiltskin - portrays vertically challenged people in a negative light.

Jack and the Beanstalk - where do we start? A cow, a thief, GM beans, a GM goose, and a cannibalistic tall person!

Sleeping Beauty - a narcoleptic, an “evil” elderley person, and a heterosexual “Love at first sight” match is soooo last century!

Hansel and Gretel - work it out for yourself…

Sentence to death for reading.

January 23, 2008 6:29 pm

I wonder how long it will be like this in the UK?

An Afghan journalist has been sentenced to death by a provincial court for distributing “blasphemous” material.

Sayed Perwiz Kambakhsh, 23, was arrested in 2007 after downloading material from the internet relating to the role of women in Islamic societies

That’ll be the peace and mercy, then….