{layout="_layouts/index"}

{layout:set name="content"}

<div id="featuredProjects">

	{exp:channel:entries
		channel="projects"
		sort="desc"
		disable="categories|member_data|pagination|trackbacks"
		dynamic="no"
	}
		{if project_display_link == "Yes, link it."}
		<div class="featuredProject {entry_id}">
			{if "{project_featured_images:total_rows}" >= 1}
			{project_featured_images}
				<div class="projectThumbs">
					<a href="{title_permalink='projects/index'}" title="{title}">{exp:ce_img:single src="{image}" height="400" width="185" crop="yes" alt="{title}"}</a>
				</div>
			{/project_featured_images}
			{/if}
		</div>
		{/if}

	{/exp:channel:entries}
</div>

{/layout:set}