Of course. It can all be done within the content template. Here's a post I created using a form which accepted 4 images:
http://gravity.chrishajer.com/2011/08/17/rufus/
Here's the form that created it:
http://gravity.chrishajer.com/submit-dog-photos/
Here's the content template that I used for this form:
[html]
{Best photo:3:medium:left}{Give us a little background on your dog:2}<br style="clear:both;" /><div class='dogthumbs'>{Photo 2:4:thumbnail}{Photo 3:5:thumbnail}{Photo 4:6:thumbnail}<br class="clear:both;" /></div>
I wrapped the thumbnails in a div so I could style it and override the default styles for my theme. You could wrap the whole thing in a div if you wanted to control everything. I just wanted control over the layout of the thumbnails.
It's all completely doable. You just need to do a little layout work in your content template. I had to add a little bit to my style.css as well:
[css]
div.dogthumbs {
height: 180px;
}
.dogthumbs img {
display:inline;
margin-right: 30px;
float:left;
}
(I exported and uploaded the form here so you can import it if you want to see how it was all put together. Direct download link)
Posted 13 years ago on Thursday August 18, 2011 |
Permalink