Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    Yahooooooo!!! Thanks Glenn it worked!!
    I put it in "tpl_main_page.php".

    Absolutely wonderful.
    Arigato.

    arpeggio

  2. #22
    Join Date
    Oct 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    This is how I did it. I uploaded the image to:
    includes/languages/english/images/your_image_filename.gif

    I went Tools>Define Pages Editor>define_main_page.php with Text Editor in HTMLarea mode.

    Positioned cursor where I want the image. Click insert image icon.

    In the URL window type in:http://www.your domain /includes/languages/english/images/your_image_filename.gif and "preview" the image.

    Now you can insert the image by clicking OK. I hope it works for you. God bless.

  3. #23
    Join Date
    Dec 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    Hi, I have followed this thread. I added the PHP code to the tpl_mainpage.php file. I opened Define pages editor. I don't see any Icon to insert an image, only save,reset & cancel. I am using Xampp locally. Zen Cart is v1.39h

    I get no image on my main page, only a square box with a red x.

    Am I missing something?
    Last edited by Sigp220; 1 Feb 2011 at 12:24 PM.

  4. #24
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can't Insert Image in Define Pages Editor

    If you add the code to tpl_main_page.php (or define_main_page.php), you have done the "inserting", and there is no more to do in the files. Next, you need to copy the image into the folder specified in the code. Do this just as you would for any other image you wanted to move around in your computer.

  5. #25
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    v1.39h

    Seems that I'm "Image Impaired" too.

    Try as I might, no pics for me either.

    I've moved four pictures into /public_html/images/Customerpics/
    Permissions are 755 for the folder and 644 for the .jpg's(if it even matters).

    I've tried the following (without the spaces of course):
    www. my website name .com/public_html/images/Customerpics/picturename.jpg

    http:// www. web site name.com/public_html/images/Customerpics/picturename.jpg

    http:\\ www. web site name.com\public_html\images\Customerpics\picturename.jpg

    ../public_html/images/Customerpics/picturname.jpg
    /public_html/images/Customerpics/picturname.jpg
    ../images/Customerpics/picturname.jpg
    /images/Customerpics/picturname.jpg

    All I get is the Forbidden message and 404 messages.

    FWIW, I'm editing /public_html/includes/languages/english/html_includes/darkness/define_page_4.php

    I've read this thread a dozen times but oviously I'm missing something.

  6. #26
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: Can't Insert Image in Define Pages Editor

    Quote Originally Posted by Serious View Post
    v1.39h

    Seems that I'm "Image Impaired" too.

    http:// www. web site name.com/public_html/images/Customerpics/picturename.jpg
    Try
    http:// www. web site name.com/images/Customerpics/picturename.jpg

    Your websitename dot com is under public_html.

  7. #27
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    Tried http://www. web site name.com/images/customerpics/picturename.jpg

    Got this for my trouble:
    Forbidden
    You don't have permission to access /images/customerpics/picturename.jpg on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  8. #28
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: Can't Insert Image in Define Pages Editor

    Quote Originally Posted by Serious View Post
    Tried http://www. web site name.com/images/customerpics/picturename.jpg
    Is that customerpics, or Customerpics

  9. #29
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    The folder has a C, but I've tried it both ways with the same result.

  10. #30
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Can't Insert Image in Define Pages Editor

    Renamed folder from Customerpics to customerpics...same result.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v139h TinyMCE, Can't browse for image in Define Pages editor
    By PGlad in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 May 2012, 05:21 PM
  2. why can I not edit any of the pages in Define Pages editor?
    By touchclothing in forum General Questions
    Replies: 5
    Last Post: 20 Aug 2009, 04:21 PM
  3. Can't upload an image through define pages editor
    By debtag in forum Customization from the Admin
    Replies: 5
    Last Post: 27 Jan 2008, 09:47 AM
  4. Can't Insert An Image Link on Define Pages Editor
    By neophyte2007 in forum Customization from the Admin
    Replies: 0
    Last Post: 4 Jun 2007, 08:04 PM
  5. Image in Define Pages Editor
    By arpeggio in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 May 2007, 11:07 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