问题描述:

I'm using the following helper to redirect to the index action of the bibliothek controller.

$urlOptions = array('controller'=>'bibliothek', 'action'=>'index');

$this->_helper->redirector->gotoRoute($urlOptions);

It works, but: My images in the form are lost, I use some icons for example:

<img src="Images/Icons/plus.jpg" ...

So how does it work with the relative paths? How can I solve it?

网友答案:

I found the solution and added the baseurl to my layout.phtml baseUrl().'/' ; ?>" /> –

相关阅读:
Top