Jump to content

Why does CC add \" to the start and end my image path?


Guest Soul Reaver

Recommended Posts

Guest Soul Reaver

Ok, here's a funny one...

A lot of people seem to have problems uploading photos, but I don't seem to have that problem... All my photos are there, in the /image/uploads/ directory, just as I asked.

Basically, I'm wanting to add some pictures to the description area of a product. I've tried using the little 'Insert/Edit Image' which allows me to type the path in, and you even see the picture in the 'preview' box, press 'OK' and the image appears where it should on the page....

So 'what's the problem' I hear you ask?

Well, as soon as you click 'Edit Product' and go back into the same product, the image is missing. When you look at the path a couple of characters have been added at the beginning and at the end... For example...

If I used the path :

/images/uploads/side-7.jpg

It gets re-written as :

\"/images/uploads/side-7.jpg\"

Go back out and in again and it becomes :

\"\\"/images/uploads/side-7.jpg\\"\"/

So, just to clarify, Cubecart adds \" to the beginning and the end of my image path every time I try to add an image...

Anyone have any ideas why?

And how to change it?

Many thanks in advance to anyone who can shed light!

Jon (Soul Reaver)

Link to comment
Share on other sites

Guest Soul Reaver

Just to add to the above, it also happens when I've added a 'mailto' reference.

So basically, every time I add a path of any sort, relative or absolute, the admin console adds the \" to the beginning and end completely stuffing it up!

Thanks in advance for any help

Jon (Soul Reaver)

Link to comment
Share on other sites

Guest Soul Reaver

Which version of CC are you using? I believe this was fixed in 3.0.17.

Hi Stevie68

Err.... It's version 3.0.14...

If it was fixed in 3.0.17 then I'll try to upgrade and let you know how I get on....

By the way, one of your recent projects was in Alton, Hampshire... Are you a local designer?

Take Care

Jon

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