Hey.

I had the same problem a couple of days ago.   The cakephp book has
section explaining this... 
http://book.cakephp.org/view/742/Plugin-Images-CSS-and-Javascript

Basically rename your PluginName/webroot directory to PluginName/
vendors.  The in your css you can do background: url({PluginName}/img/
bg.gif);

Mike

On Apr 26, 5:21 pm, Ziki <zixw...@gmail.com> wrote:
> Hi,
>
> I have images in img folder in webroot of my plugin, but images aren't
> load when links from css file also in plugin. This is problem when
> making theme. I must put img in default img folder of site, not under
> plugin webroot folder.
>
> Is there solution?
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to