Zen Cart Logo
Forums / All Other Contributions/Addons / Having trouble adding images using ck editor

Having trouble adding images using ck editor

Views: 893

Results 1 to 3 of 3
23 Jan 2013, 8:56 PM
#1
mystic_jewels avatar

mystic_jewels

New Zenner

Join Date:
Apr 2010
Location:
North West England
Posts:
11
Plugin Contributions:
0

Having trouble adding images using ck editor

I would like to transfer the current text that I have into a different font.

I am aware if I installed the font the customer will not see it as they have not got that particular font that I have used.

So, I thought of saving the text to paint, editing the text using my desired font and saving it as a .jpg then just putting that file where the text is currently.

I have tried inserting an image but htf do you do it?? CK editor is asking for a url so i'm trying to write where I have put the file on my server. i.e. root blah blah ect... but it's not having it? :blink: Can someone tell me what the correct way of writing this is please.

Kind Regards
Mystic Jewels
www.mysticsspirit.com

23 Jan 2013, 9:42 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Having trouble adding images using ck editor

There are a few issues with what you are doing... Firstly, stop fretting over the font... This fixation will do you no favours in the SEO stakes, and may increase pageload time as well. It is also a very clunky way of getting information to render on a page.

If you want font styling, then you can embed Google's font API and use stylesheets to call in a desired font.

Secondly, there is no mechanism within CK editor (for ZC) to "upload" images. This is possible in wordpress, and is one reason why wordpress is very vulnerable to hacker activity. These "upload" facilities are in many respects an "open door" to hackers. With eCommerce - where so much is at stake (like fraud), not having these features freely active makes the system a little more secure.

So... the technique is to put the URL (should be a RELATIVE path (like /images/filename.jpg) - not an ABSOLUTE one (like http://site_name/images/filename.jpg) into the html, and then to FTP related images to the appropriate folder referenced in the path you stated.

It is quite straight-forward... just make sure the path in your url is matched by the physical location of the image file.

If you have sent the image to the server via FTP, and it is not showing on the page then you have either put in an incorrect URL, or you have put the image into the incorrect location.

23 Jan 2013, 9:45 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Having trouble adding images using ck editor

Practically all of what I say above is not a zencart issue. It is basic webmastering. If you are struggling with HTML protocols and folder hierarchy, relative URL composition, etc... then you need to go do some tutorials (W3 schools is a good start) on how to compose HTML and how to manage files and folders on a server.