osCmax v2.5 User Manual
Results 1 to 3 of 3

CKeditor calls to images

This is a discussion on CKeditor calls to images within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Sorry if this sounds like a rant.. well it sort of is.. Just upgraded to latest and greatest 2.0.25 oscmax ...

      
  1. #1
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default CKeditor calls to images

    Sorry if this sounds like a rant.. well it sort of is..

    Just upgraded to latest and greatest 2.0.25 oscmax (thanks for the help EJ !!)

    I really do like the new CKeditor for the most part but it is giving me 2 major headaches.

    Using CKeditor mainly right now fpr define_mainpage.php - products should all be OK because they were imported from the old exisiting catalog, so haven't ventured in there just yet, but I am sure the same issue will happen there..

    1. I set the image border to "0" and the image remains to have this big ugly 2px blue border. I have had to hand edit to be rid of the border

    2. I have many images on the main page of my site, almost everyone contained within the catalog/images/ somewhere

    After much messing around, trying all combinations.. one test the image could be seen in the admin side but not the customer side, another try the image could not be seen on the admin but could be customer side, yet another no images showed on either side..

    I eventually came to this relative link which allowed the image to be shown on both sides..
    src="../../catalog/images/xyz_side.jpg"
    src="../../catalog/images/thumbs/newprods.jpg"

    Now this long term is sort of OK, now that I know the right way to make that happen.. but I use MS Front page for the static pages in my site and other sites.. I like to lay out the main page in there and drop the code into the CKeditor.. but that src string will not work in MSFP no matter where I save the file, no matter which folder.. again, depending on which local web folder I save the code to, I can see one of the following:
    • no images at all
    • none of the images in /catalog/images
    • the images in OTHER folders within the web
    whats a girl to do???
    Debbie D
    NY & VA

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: CKeditor calls to images

    Hi wkdwich,

    Nobody like the ugly blue borders!! One wonders why they ever went in the first place ...

    Have you tried putting the following in your stylesheet?

    Code:
    img { border: 0; border-collapse: collapse; }
    On point 2 - I am not sure i understand the problem fully ... are the images the ones used in the CKEditor? Because all the links it builds are relative (I think!)

    Regards,
    Last edited by pgmarshall; 06-21-2010 at 12:56 PM.
    pgmarshall
    _______________________________

  3. #3
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default Re: CKeditor calls to images

    yea they are ugly huh?? OK will try that, thanks for the suggestion

    grr clicked the wrong thing when I tried to edit this..

    Point #2 is designing the main page, images - products, categories, text, both linked to various items.. I am having this problem when I edit the define_mainpage.php

    Quote Originally Posted by pgmarshall View Post
    Hi wkdwich,

    Nobody like the ugly blue borders!! One wonders why they ever went in the first place ...

    Have you tried putting the following in your stylesheet?

    Code:
    img { border: 0; border-collapse: collapse; }
    On point 2 - I am not sure i understand the problem fully ... are the images the ones used in the CKEditor? Because all the links it builds are relative (I think!)

    Regards,
    Last edited by wkdwich; 06-21-2010 at 01:16 PM.
    Debbie D
    NY & VA

Similar Threads

  1. CKEditor [wyswyg]
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-31-2010, 12:00 PM
  2. CKEditor [wyswyg]
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-29-2010, 09:00 AM
  3. CKEditor [wyswyg]
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-29-2010, 04:11 AM
  4. CKEditor [wyswyg]
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-29-2010, 03:00 AM
  5. CKEditor [wyswyg]
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-14-2009, 03:02 PM

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
  •