Author Topic: Text in image title and alt loses spaces  (Read 6352 times)

vmnoob

  • Beginner
  • *
  • Posts: 18
Text in image title and alt loses spaces
« on: May 13, 2008, 06:56:31 am »
As soon as I insert image into goods description, assign nice title like "Very good thing" and save it, I get "Verygoodthing" in both title and Alt. Text still ok before saving or apply. Strange enough, I didn't found anybody else complain about this problem.
I'm use translated into Russian version (UTF-8), but problem appear with English text too.
What could it be and how avoid it? I tried to write   instead, but save removed it as well as rest of text afterwards.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #1 on: May 14, 2008, 16:15:40 pm »
Have you tried using a different editor with Joomla?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33

vmnoob

  • Beginner
  • *
  • Posts: 18
Re: Text in image title and alt loses spaces
« Reply #2 on: May 17, 2008, 19:13:07 pm »
Yes, it happens even if I don't use any visual editor. It's all right at the stage of preview. Text have changes only at moment of save.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #3 on: May 17, 2008, 23:32:15 pm »
Never seen this before, and nobody else has reported it. I wonder if it is language/utf-8 related?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33

dstumpf

  • Beginner
  • *
  • Posts: 7
Re: Text in image title and alt loses spaces
« Reply #4 on: May 18, 2008, 03:12:07 am »
I'm also experiencing this issue..  Using the latest full installed of Joomla/VirtueMart with the JCE editor.

It's rather annoying as I really need to be able to put spaces in that title field so the description shows up properly in the lightbox windows.

dstumpf

  • Beginner
  • *
  • Posts: 7
Re: Text in image title and alt loses spaces
« Reply #5 on: May 18, 2008, 03:34:21 am »
I've tried in both IE and Firefox and have the same trouble.  I even tried switching to "no editor" and typing in the code by hand and it still removes the spaces.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #6 on: May 18, 2008, 11:12:57 am »
Can we confirm that you are using Joomla 1.5 with VirtueMart 1.1 ?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #7 on: May 18, 2008, 14:42:13 pm »
OK, I was able to duplicate this on Joomla 1.5.3 with VirtueMart 1.1 stable. Added to the bug tracker.
http://dev.virtuemart.net/cb/issue/2108?navigation=true
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33

vmnoob

  • Beginner
  • *
  • Posts: 18
Re: Text in image title and alt loses spaces
« Reply #8 on: May 18, 2008, 16:47:44 pm »
Thank you. But how it could happened no one noticed it before?  :o

dstumpf

  • Beginner
  • *
  • Posts: 7
Re: Text in image title and alt loses spaces
« Reply #9 on: May 18, 2008, 20:07:17 pm »
Yes sorry, forgot to say exactly..

I'm using the Joomla 1.5.3 eCommerce Edition.

Thanks for looking into it.  For now it seems you can get away with using &nbsp when saving.  So long as you don't edit the item again it works.

dstumpf

  • Beginner
  • *
  • Posts: 7
Re: Text in image title and alt loses spaces
« Reply #10 on: May 18, 2008, 20:11:56 pm »
Thank you. But how it could happened no one noticed it before?  :o

It does seem odd that nobody else noticed doesn't it..

I was adding pictures to the description area so I could show the products in use when I noticed it.  I kinda figured that was common practice.

Maybe it's only related to Joomla 1.5.3 or the 1.5.x series.  Many people still use the 1.0.x series.

vmnoob

  • Beginner
  • *
  • Posts: 18
Re: Text in image title and alt loses spaces
« Reply #11 on: May 18, 2008, 20:30:10 pm »
I tried to insert  . Result - anything after first one is cleared.
Joomla 1.5.3 with VirtueMart 1.1, of course.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #12 on: May 18, 2008, 23:43:06 pm »
Thank you. But how it could happened no one noticed it before?  :o

Not many people add extra images into the text of the description. Most who use more than one image just upload extra product images to sit beside the main image.

I tested this in one of the earlier beta versions of VM1.1 and it worked OK..... 

Just checked and the bug is also there in VM1.1 on Joomla 1.0.15
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33

dstumpf

  • Beginner
  • *
  • Posts: 7
Re: Text in image title and alt loses spaces
« Reply #13 on: May 19, 2008, 06:17:13 am »
I'm pretty new to VM but I don't see anywhere to add additional images.  If I upload an image it puts it on the product page.  If I go back to the "Product Images" page and browse for a new file and click save it replaces the original.

There's a good possibility I'm just blind and missing a step.

On a side note, I swear it's just not my week.  I spent a while earlier having troubles adding blank lines (in both VM and regular articles) for some reason using Firefox and JCE putting in a <p> </p> (or even <p>&nbsp;</p>) turns in to <p></p> after saving, but it stays put in IE.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27637
  • Always on vacation
    • Jenkin Hill Internet
Re: Text in image title and alt loses spaces
« Reply #14 on: May 19, 2008, 11:48:18 am »
I'm pretty new to VM but I don't see anywhere to add additional images. 

The manual shows how.
http://virtuemart.net/documentation/User_Manual/Product_Files_and_Images.html
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.11 10252 on Joomla 3.9.14 PHP 7.0.33