Page 1 of 2 12 LastLast
Results 1 to 10 of 31

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    25
    Plugin Contributions
    0

    Default Can't Insert Image in Define Pages Editor

    I've been trying to insert an image into my main page using define-main-page in the Define Pages Editor. To insert an image, it prompts you for a URL as the only option. The picture I want to insert resides on my local hard drive. How can I insert a .jpg, .gif, .png or other pictures? I tried to copy and paste directly into the editor pane, and that didn't work either. Please help. Thank you.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

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

    upload this to your images folder and use your site/path to this image as the url

  3. #3
    Join Date
    Apr 2007
    Posts
    25
    Plugin Contributions
    0

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

    I've tried inserting an image in the URL text box by typing ftp://blah-blahblahyadahyadahyadah/images/etc where the file resides. It didn't work. Should it be an http file path? Please help me. Thank you.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

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

    http://your_cart_domain/includes/tem...ges/your_image

    And insure that you upload the image to the same location

  5. #5
    Join Date
    Apr 2007
    Posts
    25
    Plugin Contributions
    0

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

    Thank you so much for your help.

  6. #6
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

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

    This is what I am trying to do. Please can you tell me how to upload said image to the right location?

    Many thanks.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

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

    aurelieandrose,

    When using the admin > tools > defines page editor > and selecting the html editor mode...
    You can select the insert "image" icon and browse to the image on your local PC and it will upload it

  8. #8
    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.

  9. #9
    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.

  10. #10
    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.

 

 
Page 1 of 2 12 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

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