I have a field which is multiple images, which is output something as follows.

<div class="field-item field-item-0"><img src="http://url.com" alt="" title=""  class="imagecache imagecache-portpage imagecache-default imagecache-portpage_default" width="240" height="310" /></div>
<div class="field-item field-item-1"><img src="http://url.com" alt="" title=""  class="imagecache imagecache-portpage imagecache-default imagecache-portpage_default" width="240" height="310" /></div>
<div class="field-item field-item-2"><img src="http://url.com" alt="" title=""  class="imagecache imagecache-portpage imagecache-default imagecache-portpage_default" width="240" height="310" /></div>

I would like to be able to replace the div's with td's.

Ive used jQuery to wrap the elements in tags.

<script type="text/javascript"> 
	jQuery(document).ready(function($){
		$('.field-item').wrap('<td class="modpage"></td>'); });
</script> 

This works, after the page is loaded, however a script I am using to scroll through the images with a scroller breaks on ie7/6. Not sure why, somehow doesnt allow horizontal scrolling to occur. So I need the fields output with HTML from the backend, not from the front end with my cheap jQuery hack.

Would it be difficult to set it so that I can option to output the field in td's rather than divs? Or even wrap the divs in tds?

I was able to achieve this with Semantic CCK.

eg. Views Page.. with Semantic Views: tag currently only wraps all the images, not each individual image.

http://dev.emgmodels.com/womens/4/adhiel

Node Page with Semantic CCK; note that each image is wrapped in a td.

http://dev.emgmodels.com/node/4

I would be looking to sponsor this feature, within the 7 days. Possibly $200US? Payment made asap. Is this a possibility? Or even a hack around to achieve this without this module, willing to fund this too :}

Regards,
Chris.

Comments

Scyther’s picture

Status: Active » Closed (won't fix)

Sorry, no new features for D6 version