
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Changing Image Upload directory?
"Ian Riddler" <ian@griffler.co.nz> writes:
> Hi
> Presently, all my Item images insist on uploading to the
> /sample/images/items directory.
>
> I'd like them to go elsewhere.
> I've changed the image path in directories and paths, restarted ic, and
> reconfigured the catalog, but they insist on uploading to the samlpe
> subdir.
>
> Can anyone shed some light ?
You need to modify mv_metadata.asc.
products::image imagehelper images/items Image __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A>
products::image_large imagehelper images/items Large Image __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A>
Replace images/items with the desired path. Preserve the tabs in
this file ! Than you need to reconfigure the catalog or
restart the Interchange server.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users