85 Posts
kromoadv
7 years ago
Topic

Hi Sebloders,

i have an upload image field in a field x.

I'm experiencing a strange behaviour with the description alt attribute.

When i upload an image and i insert the title and the description alt in administrator the form does't show any uploaded image after save.

If i fill only the title and put just one single word in the description alt the form upload the image.

Any help please?

Thanks in advance

Luca

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
0
Level 1

Hi,

this sound very weird. Only thing that comes to my mind is that if description is long or if you have a lot of images you might be hitting database column size limit set as alld ata is stored in the parent field X, try increasing this value (click alter next to storage settings), e.g. if it set to varchar(512) set it to varchar(2048) or text.. Note: this should only be done if you don't have introtext as storage field as this is core Joomla column, so I don't recommend changing it.

85 Posts
kromoadv
7 years ago
2
Level 1

Hi Klas, Thank you.

I think it's a storage problem.

Which is the right storage according to this forum post?


STORAGE 1

Upload image - Name: portfolio_img - Storage: None

Field x - Name: portfolio_img_fx - Storage: Custom | Article | portfolio_img_fx[portfolio_img]


STORAGE 2

Upload image - Name: portfolio_img - Storage: Custom | Article | portfolio_img_fx[portfolio_img]

Field x - Name: portfolio_img_fx - Storage: Custom | Article | portfolio_img_fx

I think i'll have to delete the fields previously created and make new ones. Right?

Thanks in advance

Luca

4229 Posts
Kadministrator
7 years ago
1
Level 2

Hi,

second option works better in my experience, but it should not be relevant to your problem, unless you used default introtext and you are hitting character limitation.

85 Posts
kromoadv
7 years ago
0
Level 3

Hi Klas,

i tried second storage and altered the db column to text and now it's working.

Thank you.

Get a Book for SEBLOD