Featured images in wordpress

My current theme for the blog is not so good when the included text is not as deep as the featured picture. While not having a featured picture is OK for a screen based reader, it’s not so good for those using the wptouch interface. Maybe it’s not so good for deep pictures either.

A google search brings up the codex and these two, similarly named links, together with the codex pages,

With zbench the image and entry text are contained in a single <DIV> with a class name of “entry”. The text is contained in a <P> tag. The image class is “attachment-extra-featured-image wp-post-image”.

  1. Would it look better within a table? This would need to be developed in index & archive pages
  2. Should I use the thumbnail feature?
  3. Can I use the CSS? NB The <P> does not have a class name.

The deep pictures would be solved by by the thumbnail features.

Maybe I should consider the HTML recognition within the excerpt functions.

ooOOOoo

Also the facebook feed does not use the featured picture, but finds the first picture within the post, maybe even the post page since it often uses the up arrow on the vote this up widget.

Pop Up Meerkats

For various reasons I wanted to make a pop-up on hover using a picture. I found the following URL,

Here’s the CSS code

<STYLE>
  a.imPop       { position:relative; z-index:20; }
  a.imPop:hover { display:inline; z-index:30;}
  a.imPop span  {display:none;}

  a.imPop:hover span { display:block; position:absolute; 
                       top:1em; left:1em;
                       width:64px; height:64px;}
</STYLE>

Here’s the picture, we plan to use,

Here’s the HTML,

<a title="sample" href="http://davelevy.info/images/wiki/ao.png">Meerkat
<span><img alt="ao" src="http://davelevy.info/images/wiki/ao-w200.png" border="0" /></span></a>

The span tags are crucial and one needs to be careful about how wordpress deals with tags. The HTML can be implemented using the HTML add in, Code Embed or writing it natively using wordpress’s text editor.

ooOOOoo

To see the pop up picture effect, hover over the word, Meerkatao, the picture should pop up

Circular Icons for Objectdock

I use objectdock free on one of my XP systems and have just decided to install NWN2 complete. This meant I needed an icon for program launcher bar; actually it didn’t because the icon the GOG version ships with is fine. In order to prove this to myself I used google to look for some circular icons.

I found a bunch with white backgrounds and in .jpg format. Including this one.

nwn2-1t

The simplest way to make an icon for my purposes is to use Paint.net and this article at their forums details how to do it. Use the magic wand and edit >> cut, then save it as .png which is good enough for object dock.

Best copy the new .png to the object dock image library.

ooOOOoo

When checking out the image in order to post it in this article, I discovered that the host site has this as a .png with transparant background anyway, but the research is useful for the future.

EXIF and MacOS X

I have listened to Stop 43, and the British Journal of Photography I have read what Tim Bray has to say and decided I may need to ensure that my picture’s EXIF data is accurate.

You can’t give away what you don’t own, and it seems you need to assert ownership of pictures. The way to do that is via image meta data, known as EXIF.

I plan to use reveal.app on MacOS X 10.5, which has its home here.

Digitising Dad’s Photos

So I have had to move my Dad’s photo collection around the house and this took me back to working out how to digitise the collection.

Method

I did a quick bit of google research and came up with the following links.

Scanners

Using “boomy” icons with tcl/tk

I spent some time over the last few days trying to populate the TK images folder with a usable image library. The activestate version and the standard only permits the use of .gif images in the image manipulation commands. (Not true now, see the comments!) I might need to look at the tkImg package to use an alternative format. Continue reading “Using “boomy” icons with tcl/tk”

Snipsnap Problems

This was copied across from the snipsnap bliki on 26th July. It’s all a bit redundant now, but it might be useful for others. This was a pagfe that documented my work in building the configuration and in some places represented a work in progress. In some cases, the resolution is not documented and in others I failed to resolve it. I eventually gave up on snipsnap. Hope this page helps someone! Continue reading “Snipsnap Problems”