V,
I was able to create an image poll by modifying the Democracy Image poll.
Out of box, you can include images as voting options in the poll, but you may want to edit the layout to display the images horizonatally like we did on our wedding blog.
Hi Jesse,
The image poll on your site looks GREAT. I am not much of a programmer. Do you mind the modified codes so I can install it in my blog: http://www.louispang.com/blog? Thanks!
by inserting html codes for images as the answers of wp-polls, it will work. If you need help http://forums.lesterchan.net =)
LouisPang,
Thanks. My hacked version of democracy will not work for you cause I added some additional features to grab user information and store it in our newsletter manager.
However try following these instructions:
First thing you should do is include <img> tags as voting options through the wordpress options page for democracy. Example:
<img src="http://www.pinkcakebox.com/images/cake128-circle.jpg" width="100" height="99"/>
If that satisfies your requirements, you’re done. By default the images will be vertical. To change that you’ll have to add css to style them. I used the following CSS:
.thumbnail
{
float: left;
width: 150px;
margin-left: 0 15px 15px 0;
/*border: 1px solid #999;*/
text-align:center;
border: none;
}
So to take it a step further you could add the following as an example poll answer:
<div class="thumbnail><img src="http://www.pinkcakebox.com/images/cake128-circle.jpg" width="100" height="99"/>
</div>