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

  • Home
  • SEARCH
  • 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 7892095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:47:01+00:00 2026-06-03T06:47:01+00:00

Anytime I use an <img> tag in my Zend Framework application, no image is

  • 0

Anytime I use an <img> tag in my Zend Framework application, no image is displayed. When I type the absolute path into the address bar, the front controller attempts to find an “images” controller.

There HAS to be a way I can use <img src="/public/images/logo.png"> in Zend Framework right?

I’ve tried it from within views, layouts, and helpers, and no luck. I’ve also used the $this->baseURL() technique, and the serverURL() technique by getting the info from the Front Controller, but it still won’t show the image… anywhere on the site. (I have the same problem with including css files unless I do an @import('/css/main.css')

  • 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-03T06:47:02+00:00Added an answer on June 3, 2026 at 6:47 am

    Sounds like an problem with your .htaccess file
    you have to exclude this files from the reWrite rule, otherwise those requests are routed to index.php.

    /public/.htaccess

    RewriteEngine on
    RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use properties pretty much anytime my classes need iVars. For retained properties, I
I want to use mod_rewrite to include a date in an image filename, so
I'm having documentation bloat on me, as anytime I encounter a complex duck-type, I
I'm willing to use thumbnails into my website which is mainly like websites directory.
I'm using the anytime.js framework for a plugin that was developed for displaying upcoming
Lately, I have been noticing that anytime I use Rectangle variable with With...do statement,
I am using ASP.NET Ajax control toolkit v3.5 TabContainer control. Anytime I use the
In order to check the client servers is alive at anytime, I use the
I want to create a windows utility application, which can be called anytime from
Any time I use the recipe at http://code.activestate.com/recipes/134892/ I can't seem to get it

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.