user198729
user198729

Reputation: 63656

Is there a jquery plugin to implement customized avatar?

Should pop up many images and let the user choose one as his avatar.

Upvotes: 1

Views: 450

Answers (2)

Ben
Ben

Reputation: 7597

jQuery plugins - layouts page features a whole load of image galleries, carousels, lightboxes, etc. Take a look.

Upvotes: 1

Sampson
Sampson

Reputation: 268364

Sounds like something you could make quickly:

<a href="#" class="show-thumbnails">Show Thumbnails</a>
<div id="thumbnails" style="display:none;">
  <img src="puppies.jpg" /> 
  <img src="unicorns.jpg" />
  <img src="bunnies.jpg" />
</div>
<input type="text" name="userThumbnail" />

--

$(".show-thumbnails").click(function(e){
  e.preventDefault();
  $("#thumbnails").fadeIn();
});

$("#thumbnails img").click(function(){
  var src = $(this).attr("src");
  $(":input[name='userThumbnail']").val(src);
});

Upvotes: 0

Related Questions