Filemanager if user select a PDF file, then insert a link instead of img