Jump to content

Adding Images To Product Description


LaughingHorse

Recommended Posts

I know I can add images when adding/modifying a product from the "Images" tab in Dashboard|Product => Images

However, I wanted to add some images in specific parts of the text to make what the text is about more clear.

Using: <img src="/[cart]/images/source/[folder]l/[imagename]" alt="bla bla bla" longdesc="bla bla bla">  does not work.

I noticed CubeCart does a lot of modification to the html code I enter.

 

NOTE: I just saw i can do it if i do not code with html. Then looking at the html code... it's much easier to do it graphically rather than html (source)

But still, why does CubeCart change the html code adding all sorts of spaces and tabs in it?

Edited by LaughingHorse
Link to comment
Share on other sites

The CKEditor makes it all "pretty print". It is FCK's philosophy to make the code as readable as possible by the common human programmer -- the browser could care less.

I have the nagging feeling that you are coding your content as HTML in the WYSIWYG mode. If you really want to code in HTML source (and there's nothing wrong with that), click the Source button at the upper-left of the editor window.

Coding the tag as you described above will work -- in Source edit mode. In WYSIWYG mode, it is best if you use the "Insert Image" toolbutton.

Link to comment
Share on other sites

Yeah, I go to source and code in html. I don't really like to use WYSIWYG editors.

I will take our advice and add the images via WYSIWYG, and do the other html coding on my own.

In case you are interested, I found this and will try it seeing if I can get other graphics when doing lists.Check the bottom for:

"Some of the HTML character codes that are useful as bullets are:"

http://www.html-5.com/tags/ul-tag/index.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...