2011-11-27, 09:27 AM
support team does not help me, but I'll assist members
without plugin, image resizing It works until a plugin for 1.6.5
add this code to global.css of your theme
find this code at inc/class_parser.php
change into this
To thank you, just send rep
without plugin, image resizing It works until a plugin for 1.6.5
add this code to global.css of your theme
.imagespost{
max-width: 500px; /* Adjust this value according to your content area size*/
height: auto;
}
find this code at inc/class_parser.php
return "<img src=\"{$url}\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} />";
}
else
{
return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />;
change into this
return "<div id=\"imagespost\"><img src=\"{$url}\" class=\"imagespost\" width=\"{$dimensions[0]}\" height=\"{$dimensions[1]}\" border=\"0\" alt=\"{$alt}\"{$css_align} /></div>";
}
else
{
return "<div id=\"imagespost\"> <img src=\"{$url}\" class=\"imagespost\" border=\"0\" alt=\"{$alt}\"{$css_align} /></div>";
To thank you, just send rep