locking image dimension through markdown.php