Re: Including images within plugins?

2008-05-22 Thread Matt Huggins
Hmm, I created "main.css" within /app/plugins/myplugin/vendors/css. Within "index.ctp", which is located within the associated controller's view for the plugin, I call the css() method of the HTML helper as per the following: css('main', 'stylesheet', array('media'=>'all'), false); ? > Instead

Re: Including images within plugins?

2008-05-22 Thread b logica
If your forum images are displayed using only your CSS (ie. background-image) then you're good to go. Just put store them within an images dir inside the CSS dir and set all the URLs without any leading slash and they'll be fetched from there. In fact, you'd be half way toward making the forum mo

Re: Including images within plugins?

2008-05-22 Thread Dr. Tarique Sani
On Thu, May 22, 2008 at 12:41 PM, Matt Huggins <[EMAIL PROTECTED]> wrote: > > Is it possible to provide images (and other files, such as CSS > stylesheets) with a plugin, such that they are accessible via a URL in > HTML (such as an IMG tag)? I'm working on a forum plugin, and I'd > like it to be

Including images within plugins?

2008-05-22 Thread Matt Huggins
Is it possible to provide images (and other files, such as CSS stylesheets) with a plugin, such that they are accessible via a URL in HTML (such as an IMG tag)? I'm working on a forum plugin, and I'd like it to be as easy to distribute as possible. Since I use some forum-specific images and styl