Paintings from Sunset Series by Spence Munsinger, Color Field + Blank White Canvas + Realism + Contemporary Abstract Art, original paintings for sale

"Things are beautiful if you love them."
― Jean Anouilh

new lightbox plugin and Opera and IE work

I replace the light box plugin with this version that works without throwing secure and non-secure item errors in Internet Explorer.

This version sets an absolute position in the lightbox.css file – therefore it also resolved the Opera web browser positioning error. This one change fixes both issues.


— spence

artist@spencemunsinger.com
spencemunsinger.com

 

NOTE 20081001 Wednesday:

It’s back. This seems to be lightbox plugin – if you load the page in firefox 3, and go to tools -> page info -> media, you can find the images loading incorrectly by looking for “http”. The errant images are loaded by lightbox. I have NOT fixed this as yet, at some point it will come back up and I’ll work through it.

— munsinger

lightbox…

thumbnail of hand

This effect seems to be becoming a standard. I’ve seen this set of scripts on several sites, allowing a look similar to what can be achieved with straight css, but better for image presentation. It is very effective. The first step in using it was this integration with wordpress…

Lightbox 2 WordPress Plugin is the plugin I found that actually does work out of the box without alteration.

There is a lighter and possibly better version of this effect called slimbox – but the wordpress plug-in fails to just work, unfortunately. ALL of the plugin versions seem to fail. Sigh. Lightbox it is, at least for now.

MORE – I set up a bare-bones test website, with a raw, unhacked version of wordpress, without the css hacking that integrated wordpress, and found that the slimbox plug-in DOES work in that framework. This is good – this gives me a starting point for re-working this. When I developed this site it started with “desire for something better than the previous” to “learning css” to “enamored of css and using css almost exclusively” to “frustrated with hacking css and setting up multiple css files for each kind of page” to “add some kind of weblog software” to “adding wordpress” to “learning php” to “hmmm… what’s this lightbox effect?” to here and now.

The next re-work of the site has several targets/goals:

  • 1 to 3 css stylesheets in total – preferably one
  • which allows color themes and theme changes with some ease
  • lightbox OR slimbox effect in both wordpress and website outside of wordpress
  • tighter integration between wordpress and site
  • pages rewritten to encompass slimbox/lightbox effect
  • form page for contact and/or comment email, including mailing list addition box

— spence

email: artist@spencemunsinger.com

website: spencemunsinger.com

sed and awk (I love UNIX…) (technical)

Long term website design… I found I want to be able to add more painting pages and more photograph pages, and to continue to add the new stuff first…

The original design had pages numbered 1, 2, 3, 4, 5, 1 being the newest stuff, 5 being the oldest. Adding a new page meant renumbering all of that, and all of the pages throughout the site that link to it – also changing searched pages names over time, which screws up linking into the site.

I reversed it. The oldest page is “001”. Newest is the highest number. Adding a page means adding say an “008” page, linking the main page to that, and leaving the rest alone.

Changing the pages, about 70 of the individual pages – ahhh. That’s where UNIX tools come in very very handy. Here’s the command that changed one set of links from the old page to the new:

for i in ` grep photographs_5.html * | awk -F : ‘{ print $1 }’`
do
echo $i
sed ‘s/photographs_5.html/photographs_001.html/g’ < $i > $i.1
mv ${i}.1 ${i}
done

This loops through and finds any files with the string “photographs_5.html”
echos out each file
changes (using the sed command, standard UNIX tool…) from photographs_5.html to photographs_001.html, creating a new file named [file].1,
then replacing the original file by moving (mv) the [file].1 file over on top of the [file].

I love UNIX.

— spence

artist@spencemunsinger.com
spencemunsinger.com