Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: <img> tag not working!? (COWOA installed)

    I had an idea of what might cause this last night. Tell me if I'm wrong... I'm just guessing.

    define_main_page.php is located in /includes/language/english/html_includes/ so to make an image show up on a page located there I would type
    <img src="../../../templates/customTemplate/images/image.gif>
    Because a PHP module (or whatever) calls the defines page would the defines page actually be considered in the directory of the PHP file that calls it?

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: <img> tag not working!? (COWOA installed)

    I am not sure which is which, but IE or FF does not show broken images, just the alt text (and if the alt text is missing it will show nothing).

    (And the file that is called by the browser is the "base file", not the included or required files by the script.)

  3. #3
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: <img> tag not working!? (COWOA installed)

    (And the file that is called by the browser is the "base file", not the included or required files by the script.)
    So technically the img tag should be working correctly if I type it in (like I did above) on the define page?

  4. #4
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: <img> tag not working!? (COWOA installed)

    I am becoming slow

    I decided to just use:
    ~/public_html/zenCartincludes/templates/customTemplate/images/image.gif

  5. #5
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: <img> tag not working!? (COWOA installed)

    Quote Originally Posted by flipjargendy View Post
    I decided to just use:
    ~/public_html/zenCartincludes/templates/customTemplate/images/image.gif


    If that works it indicates that it was just your path that was wrong. The above path is hardcoded and absolute. You really should try to avoid that, and use relative and defined paths (definded by the Zen Cart script).

  6. #6
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: <img> tag not working!? (COWOA installed)

    Try includes/templates/customTemplate/images/image.gif
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: <img> tag not working!? (COWOA installed)

    Quote Originally Posted by Kim View Post
    Try includes/templates/customTemplate/images/image.gif
    Woah, i thought i tried that (several times) to be sure it didn't work.... it works!! Man i'm getting burned out with this client.

    Thanks guy!

 

 

Similar Threads

  1. v139f Product Meta Tag Icon not working - blank page
    By jcash in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Aug 2012, 07:55 AM
  2. ezpages meta tag fields not working
    By davidnelband in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Aug 2011, 08:02 AM
  3. Text positioning inside TD tag not working in Firefox
    By ajhb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Sep 2008, 12:15 PM
  4. Meta Tag Descriptions NOT WORKING...
    By magneteye in forum General Questions
    Replies: 5
    Last Post: 5 Jun 2008, 09:22 PM
  5. img link not working in category description
    By inkuyo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Nov 2007, 01:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg