I created a news template and I use cgsi_convert to size the image
Code: Select all
{cgsi_convert filter_croptofit="260,146"}<img src="....>{/cgsi_convert}
Now I want to use a jQuery script on the same image.
(js file is attached)
Code: Select all
<__script__>
$(function() {
$('.zooming').hoverZoom(); // Default
});
</__script>
Code: Select all
{cgsi_convert filter_croptofit="260,146"}<a class="zooming" href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}"><img src="{$entry->file_location}/{$field->displayvalue}" alt="thumbnail"/></a>{/cgsi_convert}
Because I do not know what the size is of the images I user uploads to use in the news article I need to crop2fit the image to 260,146 but I also want to use the jQuery script.
Please help.