First of all, thanks for this great module. I've managed to work around CCK theming and integrating Imagecache and have finally achieved exactly what I want.

I'm using CCK, Imagefield, Imagecahe and views, to produce a number of pages and blocks.

I've setup a block view displaying a CCK content type, using the title and an imagefield. The imagefield is using the option of "focuson" (the imagecache namespace"

The markup that the block produces not longer validates as XHTML as the image tag needs closing and the image followed by a trailing anchor tag that isn't open.

<div class="block block-views" id="block-views-focus_on">
	<h2> Focus On </h2> 
	<div class="content">
		<div class='view view-focus_on'>
			<div class="item-list">
				<ul>
					<li>
						<div class='view-item view-item-focus_on'>
							<div class='view-field view-data-node_title'>
								<a href="/gail-emms-visits-northwood-badminton-club"> Gail Emms Visits Northwood Badminton Club </a> 
							</div>
							<div class='view-field view-data-node_data_field_focus_on_thumb_field_focus_on_thumb_fid'>
								<img src="http://clubmark.dev/files/imagecache/focuson/files/Fish-O-Coaching-1.jpg"> </a> 
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>


Comments

dopry’s picture

Status: Active » Fixed

I removed the trailing from theme_imagecache and commited to 4.7.

Anonymous’s picture

Status: Fixed » Closed (fixed)