Results 1 to 10 of 31

Hybrid View

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

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

    After you enter this and get the 'ripped' image - mouse over it and right click > properties > and check that the address has not been altered by ZC....if so toggle to text mode and correct then toggle back to html mode
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

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

    Thank you for this information Kobra.
    Unfortunately it still didn't work

    When I right click I could check the code:

    <img src="file:///D:/Program%20Files/xampp/htdocs/Zen/images/MainPageCentre.jpg"><br>
    <img src="file:///D:/MainPageCentre.jpg"><br>


    The second line is where i put the image directly into D drive (no directory) just in case something was wrong with my path.

    Unfortunately even that didn't work.
    Both paths show "ripped images" in the editor and dont show up in the catalog.

    But apart from the path what could it be?

    I checked the Filename 10 times and it's correct.
    File size is only 34kB.
    The image size is within the width of the catalog width setting (in pixels) and i experimented with various size images but still no go.

    Hmmm!! Any ideas? Appreciate any light you can possibly shed. arigato.

    Arpeggio

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

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

    Since you are working on your local pc, the easiest way would probably be to just copy the image file from wherever it is to the ZC /images/ folder (using your pc's file manager window). Then you can enter the url of that location.
    Caution: if you use absolute filepaths that reference your local computer directly in any way, the paths will break when you move your site to a remote server.

  4. #4
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

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

    Thanks for this but that is what i did. I copied the image to 2 locations:
    1. zencart/ images location
    2. to my D drive root directory (no folders just in case there was even the slightest problem with the address)

    Both addresses are posted in previous message. Also both methods did not work and showed "ripped images" in the HTML editor and no images on the catalog page.

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

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

    Try this code:
    PHP Code:
    <?php echo '<img src="' HTTP_SERVER DIR_WS_CATALOG 'images/MainPageCentre.jpg" alt="">

  6. #6
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

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

    Thank you Glenn.

    Not knowing where i'm supposed to put this i tried:

    \includes\templates\My_Template\common\tpl_main_page.php

    please refer to attached.

    I just got a parse error. I tried adding a bracket and stuff but couldn't get rid of this error.

    some questions:
    1. do you know what is missing in the code
    2. is "tpl_main_page.php" the file you expect me to put it?
    3. I should just put this code in as is and do not need to substitute any words?

    Thank you so much, and many regards,

    arpeggio

  7. #7
    Join Date
    Dec 2006
    Location
    Tokyo, Melbourne, Shanghai
    Posts
    102
    Plugin Contributions
    0

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

    whoops!! forgot the attachment!!
    Attached Images Attached Images  

 

 

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