Use CSS for styling.
Ok.
You should add new lines in the file WidgetZones.xml.
<WidgetZone>productdetails_before_one_picture</WidgetZone>
<WidgetZone>productdetails_after_one_picture</WidgetZone>
Open the file _ProductDetailsPictures.cshtml
and add the next lines:
@Html.Widget("productdetails_before_one_picture", Model.Id)
....
@Html.Widget("productdetails_after_one_picture", Model.Id)
<div class="picture">
@Html.Widget("productdetails_before_one_picture", Model.Id)
@if (Model.DefaultPictureZoomEnabled)
{
<a href="@Model.DefaultPictureModel.FullSizeImageUrl" title="@Model.DefaultPictureModel.Title" id="main-product-img-lightbox-anchor-@Model.Id">
<img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" itemprop="image" id="main-product-img-@Model.Id" />
</a>
<script type="text/javascript">
$(document).ready(function () {
$('#main-product-img-lightbox-anchor-@Model.Id').magnificPopup(
{
type: 'image',
removalDelay: 300,
gallery: {
enabled: true,
tPrev: '@T("Media.MagnificPopup.Previous")',
tNext: '@T("Media.MagnificPopup.Next")',
tCounter: '@T("Media.MagnificPopup.Counter")'
},
tClose: '@T("Media.MagnificPopup.Close")',
tLoading: '@T("Media.MagnificPopup.Loading")'
});
});
</script>
}
else
{
<img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" itemprop="image" id="main-product-img-@Model.Id" />
}
@Html.Widget("productdetails_after_one_picture", Model.Id)
</div>
What nopcommerce version do you use?
We plan to add new feature in this plugin and we want to know about the minimum release number...
I'll see and answer you after 10 minutes.
No, plugin doesn't have such feature.
Plugin will export piture2 if the product has it.
You can add only suffix for URL (example ?affiliate=1).
and your product URL will have such URL
http://www.foxnetsoft.com/productname?affiliate=1
How do you add suffix?
Open feed and select the second Tab, find the URL tag and press 'Edit'.
Check "Post-process action" value.
Try to set value 'none' (or 0 in XML template).
You use 'decode_html_entity' and plugin removes all html tags.