Jump to content

Property Image->legend length must be between 0 and 128


Recommended Posts

Hi,

 

I've a problem when I want to upload an image of a product, I got this error message :

 

[Product name] Property Image->legend length (137) must be between 0 and 128

 

Do you know how to modify the maximum length for this in the ftp and the database ?

 

Thanks !

Link to comment
Share on other sites

in classes/Image.php increase the size accordingly

'legend' =>     array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 128),

then in the database, there is a table named ps_image_lang with a column named legend.  you would need to alter the size of the column to match

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...