Quote:
Originally Posted by Veer
Hi, can you add different size options for blog page and forum post?
|
Replace this (in sevenskins_imageresizer template)
PHP Code:
NcodeImageResizer.MAXWIDTH = '{vb:raw vboptions.sevenskins_imageresizer_maxwidth}';
with:
PHP Code:
<vb:if condition="in_array(THIS_SCRIPT, array('blog', 'entry'))">
NcodeImageResizer.MAXWIDTH = '480';
<vb:else />
NcodeImageResizer.MAXWIDTH = '{vb:raw vboptions.sevenskins_imageresizer_maxwidth}';
</vb:if>
replace
480 with your blog image width.