Please specify which version of CakePHP you are using :) Also present the code that you are using to create the image tags. Thus we may be able to assist you! Enjoy, John
On Jun 2, 2:11 am, DbZeroOne <[email protected]> wrote: > Hello all, > > I've found myself thrust into a project that the previous developer > made using CakePHP. I'm a little familiar with PHP, but it's taken me > a couple days to figure out how Cake works. > > Anyway, I have what seems to be a very simple question, but it's > driving me crazy! My question is..."Where do the images go?!" > > The directory on my server ishttp://localhost/mydomain.com/testing/app/webroot > which is common, I think. > > My images folder is in webroot as is my index.php. > > I've wrapped the code in index.php with some design elements which > looks fine as long as I'm on index.php page. Once I click a link, the > PHP part generates itself a URL that doesn't really exist, but it > works fine. The problem is that the images in the wrapper no longer > work. EVERYTHING works fine, but the images ONLY work on webroot/ > index.php. > > I've tried putting them in every folder I could think of, I've looked > deeply into the files to see if there was some config somewhere and > I've searched all over the 'net to find an answer and nothing seems to > address this exact situation. > > By the way, mod_rewrite is on. > > Is there some way I can say "Always find images <here>, regardless of > what URL is generated"? > > I apologize for my ignorance.... one day I'll be an expert! :) Thank > you! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
