Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:51:46+00:00 2026-06-15T14:51:46+00:00

I have an issue in that I am trying to simply display an image

  • 0

I have an issue in that I am trying to simply display an image within my images folder in a new window via an anchor link with target=blank.

I added the rewrite rule to the public folders .htaccess as explained in the post at : Zend keep front controller from blocking image requests but it is still giving me the error as below and cannot figure out why.

All other images used in the pages display fine, its only the images that are linked as:

<a href="/images/balloon.jpeg" target="_blank">Balloon</a> 

The exception message is

Exception information:

Message: Invalid controller specified (images)
Stack trace:

#0 /home/euphoria/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#1 /home/euphoria/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#2 /home/euphoria/public_html/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#3 /home/euphoria/public_html/public/index.php(25): Zend_Application->run()
#4 {main}  

Request Parameters:

array (
'controller' => 'images',
'action' => 'profile_uploads',
'module' => 'default',
)  

My public folder .htaccess is

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php
RewriteRule ^.*$ index.php [NC,L]

I have another .htaccess file within my images folder to stop php executions via the use of images files and its contents is

php_flag engine off

The above issue with Zend trying to redirect to an ‘images’ controller only started occuring when I added the above .htaccess to the images folder.

The problem disappears when I remove the .htaccess that has the “php_flag engine off” rule

The images and its folder are CHMOD 777 and the site is in its own domain on a shared hosting env. (As opposed to sub domain)

Many thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:51:46+00:00Added an answer on June 15, 2026 at 2:51 pm

    And you are sure that there is a folder “images” in your DOCUMENT_ROOT folder, and that it contains an image named “balloon.jpeg”?

    The second rewrite rule essentially is useless.

    1. It does not detect your “jpeg” image, it would only detect a “jpg” image.
    2. This rule will only ever be reached if the first rule and all the RewriteCond lines cannot detect that your requested resource is an actual existing file on the server.
    3. The third rule will ultimately take place nonetheless, because the second rule is not marked as the “last rule evaluated”.

    Throw it out. The standard rewriting for Zend framework works. If it does not in your case, you did something wrong, most likely you did not place your image where it belongs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The issue I am trying to solve is that I have a folder with
I'm trying to learn html and jquery. My issue is that I have box
I'm having an issue where I have a player object that I'm trying to
I am simply trying to display a google map within a jquery mobile page.
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
I have an issue that (I think) might have to do with scope, but
I have an issue that is driving me nuts and hoping someone can help.
I have an issue that seems like very flaky behavour, is this a problem
I have an issue that looks like a race condition with a webview callback
I have an issue that when I leave the android device idle for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.