Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Location
    Saskatchewan, CDN
    Posts
    68
    Plugin Contributions
    0

    Default Where to place picture files?

    Hi everyone,

    I'm extremely new to zen cart, but I'm learning more and more each day. I've read the official zen cart manual and looked in the FAQs section and can't seem to figure something out.

    I've inserted a bunch of html code in includes\languages\english\html_includes\classic\define_main_page.php. My pictures are not showing up on the main page though. They appear as broken links.

    An example of some of the code in my define_main_page.php file is <img src="top.jpg">. Can I place top.jpg in a particular folder so that my picture shows up or do I have to change all image sources so that they look images/top.jpg for example?

    Thanks for the help!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Where to place picture files?

    To do that would mean you'd have to put your images in your main zen cart folder ... which means you'll end up cluttering that folder needlessly.
    It would be better to put them into the /images/ folder or your /includes/templates/YOUR_TEMPLATE_NAME/images folder, and update your IMG tags accordingly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2009
    Location
    Saskatchewan, CDN
    Posts
    68
    Plugin Contributions
    0

    Default Re: Where to place picture files?

    Awesome, thanks for the help! You're a god!!!

 

 

Similar Threads

  1. v152 Place from where I can download individual files
    By Sachin1008 in forum Customization from the Admin
    Replies: 2
    Last Post: 11 Apr 2014, 01:20 PM
  2. Where to place a Javascript?
    By evil turinp in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Aug 2010, 07:30 PM
  3. Where do I find proper files where constants are defined?
    By joshuwaj in forum General Questions
    Replies: 17
    Last Post: 18 Jan 2008, 05:28 AM
  4. Where should I place the admin template files?
    By yellow1912 in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 11 Jul 2007, 06:03 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR