Skip to content


WordPress Gallery Plugin

cat/jess1Geoff Hutchinson has produced a WP plugin for gallery images. Useful.

I’ve made a change to the plugin.

I think there was a small typo in the function wpgallery_link. The original function was:

function wpgallery_link($album, $photo, $link_class=’gallery-link’, $image_class=’gallery-image’, $img_alt=’’, $link_title=’’) {

and I amended this to

function wpgallery_link($album, $photo, $link_class=’gallery-link’, $img_class=’gallery-image’, $img_alt=’’, $link_title=’’) {

and then changed:

<img src=”‘.ALBUM_BASE.’/’.$album.’/’.$photo.’.thumb.jpg”‘.$image_class.$img_alt.’ /></a>

to

<img src=”‘.ALBUM_BASE.’/’.$album.’/’.$photo.’.thumb.jpg”‘.$img_class.$img_alt.’ /></a>

and now everything’s working fine. I’d like to change the code a bit to better manage alt and title tags.

sea/bigsur3Geoff illustrates the use of his plugin with one of his photos of Big Sur on the Calfornian coast south of Monterray. Here’s mine, taken from what look like almost the same spot.

Posted in Uncategorized.

Tagged with , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.