Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Image Gallery Plugin (Square It)
#41
@Matthew - I think I see your need for this.. since wrapping only the image makes the whitespace of the LI element unclickable. I have a little script that vertical aligns the image in the container, since I tried for many hours to achieve this with CSS and was unable to do so (If anyone wants the challenge.. feel free to try).

But I did find a work around so that it feels like the entire box is clickable.. Don't want to push a new version right now, since it's not a major thing... and I'm working on other things! But I do promise that in the next release this will be included.

For now, if you want you can make some quick changes to the script (squareit-gallery.php)

Line 297 change it to this:
Code:
$(this).css('padding-top', mh);
and add this after that line:
Code:
$(this).css('padding-bottom', mh);

@Fred - I'm glad you were able to accommodate the changes. Like I mentioned in my last post, it is a great feature! I already started to incorporate. Will let you know when it's released.
- Julian

My GetSimple Plugins: Simple Image Gallery | TweetMeme reTweet Button
Reply


Messages In This Thread
Simple Image Gallery Plugin (Square It) - by juliancc - 2010-03-15, 01:00:06



Users browsing this thread: 4 Guest(s)