I don't about images, but to get the path to an action, you can use
Router::url(array('controller' => '...', 'action' => '...'))On Mon, Sep 28, 2009 at 8:49 PM, tcornett <[email protected]> wrote: > > I am curious how I would extract the path of a LINK or an IMAGE > without getting the whole HTML object. Instead of getting the '<a > href=.......' or '<img .....', I would simply get the URL or PATH to > use. > > For example, I want to use a URL to a view in my site in an IMAGE MAP > or I want use the path to an IMAGE in a rollover or background image. > > Is this possible? If so, can someone point me in the right direction? > > Thank you for any help > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
