|
|||
|
Hi,
I am trying to migrate my projects to Zend Framework (MVC). To display a picture I used to do like this echo '<img src="functions/funcRSI.php?image=/pictures/testPic.jpg&size=150">' and FuncRSI is PHP Code:
Any ideas ? |
|
|||
|
Place your code in a controller and then add
"$this->_helper->viewRenderer->setNoRender();" to stop the default view script from being rendered. Depending on what rewrite rules you are using you could also just put the file as it is somewhere in your webroot and not have ZF interfere with it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|