Creating Category With Api: No Image Created

Hi,



Using CS-cart 4.1.2



I’m trying to create a new category with an image with this data:


Array<br />
(<br />
	[category] => mycategory<br />
	[company_id] => 1<br />
	[status] => A<br />
	[description] => <h2 class="text-primary">  This a description. </h2><br />
	[main_pair] => Array<br />
		(<br />
			[detailed] => Array<br />
				(<br />
					[image_path] => http://img.eltipografo.cl/media/2013/09/chrome-google.png<br />
				)<br />
		)	[meta_description] => This is the Meta Description<br />
	[page_title] => This is the title<br />
	[parent_id] => 1<br />
)
```<br />
<br />
When I check the new category on the administration panel, everything it's ok but the image, wich has not been created <img src="upload://n4syhXZrRhsStKvmS4jT3Mp2S3k.png" class="bbc_emoticon" alt=":("><br />
<br />
I Also tried this solutions withput success:<br />
<br />
```php
[...]<br />
<br />
[main_pair] => Array<br />
		(<br />
			[detailed] => Array<br />
				(<br />
					[http_image_path] => http://img.eltipografo.cl/media/2013/09/chrome-google.png<br />
					[image_path] => http://img.eltipografo.cl/media/2013/09/chrome-google.png<br />
				)<br />
<br />
		)<br />
<br />
[...]
```<br />
<br />
And:<br />
<br />
<br />
```php
[...]<br />
<br />
[main_pair] => Array<br />
		(<br />
			[http_image_path] => http://img.eltipografo.cl/media/2013/09/chrome-google.png<br />
			[image_path] => http://img.eltipografo.cl/media/2013/09/chrome-google.png<br />
		)<br />
<br />
[...]
```<br />
<br />
<br />
I tried this solution but didn't work: http://forum.cs-cart.com/topic/31597-api-helper-class-for-cs-cart-4-free/page__view__findpost__p__166923<br />
<br />
Any ideas?<br />
<br />
Thnx,<br />
<br />
Gorka.

Hi,



After looking on Core code, I realize Categories doesn't have an implemented behaviour to manage images (main_pair) as Products have.



Are you guys planning to perform it or is there a known an “easy” way to hardcode it?



Thnx in advance for your answer,



Gorka.