The images in iframe option looks fine. In DIV option the images shows an X (file dont found) because the path is taking the full permalink of page or post.
I fix it adding a / before the resourcesFolderName variable. So in wordpress is ok, in hype shows an X now.
any best solution?