thx for you're reply, you helped me :)
I created a new row in NOP_Setting and gave it this values:
442 | Media.Product.ThumbnailImageSizL | 100 | test
In productsinline1 it says:
<asp:ListView ID="lvCatalog" runat="server">
<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
</LayoutTemplate>
<ItemTemplate>
<div class="item-box">
<nopcommerce:productbox2 id="ctrlProductBox" product='<%# Container.DataItem %>'
runat="server" />
</div>
</ItemTemplate>
</asp:ListView>
so I opend productbox2.aspx
<div class="picture">
<asp:HyperLink ID="hlImageLink" runat="server" />
</div>
In the code behind off productbox2.ascx
hlImageLink.ImageUrl = PictureManager.GetPictureUrl(picture, this.ProductImageSize, true);
and this:
public int ProductImageSize
{
get
{
if (ViewState["ProductImageSize"] == null)
return SettingManager.GetSettingValueInteger("Media.Product.ThumbnailImageSizL", 125);
else
return (int)ViewState["ProductImageSize"];
}
set
{
ViewState["ProductImageSize"] = value;
}
}
What am i doing wrong? I need the other (Media.Product.ThumbnailImageSize) for view in grid. And maybe an admin can move it to development. because this is not css.