add a image within a plugin

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

add a image within a plugin

Post by Chris »

Dear all,

I'm currently making a plugin which displays some info from a database, this goes very well thanks to the easy integration of new plugins. When this is done, I'm thinking to make a page in the admin section to add / remove / change the info in this database. One of the field in the database is a realtive path to a image. Here comes the question: Can I use that fancy image include stuff which is normally used when making a content page ? Or is this impossible ?

Thanks in advance !

Best regards,

Chris
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: add a image within a plugin

Post by Ted »

There would be no way to do it without hacking the image plugin in TinyMCE.  In that case, you'd have to release a separate version that works with your custom module if you wanted others to use it as well.  I'm sure it wouldn't be THAT hard, but it would take a little bit of work.
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: add a image within a plugin

Post by Chris »

Thanks Wishy I'll take it in consideration....

Chris
Locked

Return to “CMSMS Core”