[ic] Images and the Admin UI

Ton Verhagen tverhagen at alamerce.nl
Fri Dec 12 09:09:33 EST 2003

Quoting Philip S. Hempel" <pshempel at linuxhardcore.com>:
>I am using 5.0 pre cvs
>Non-threaded perl 5.8.1
>Here is my dilemma, we have a number of products that use the same
>Problem we have is in 4.9/5.0 the UI has changed in some way that allows
>an upload of zero bit file essentially overwriting the original file or
>zeroing out the file.
>What we do to cause this is to upload the image into one item, then edit
>additional items placing the same image name into the image of the other
>products that use it.
>Is there some way to remedy this? It really would be nice to tell the UI
>at least not to attempt an upload for the image and to use an existing
>The only way I have been able to keep this from happening for our store
>is to change the files ownership to root:root or something other than
>the stores user.
>I know that I can change the UI in some way to work like the UI did in
>the 4.6 era for our system alone, but I don't think I am the only one
>that would run into this same difficulty.
>The function something like selecting
>use existing image: yes no
>if yes offer image choices from the server or input filename, if not
>that at least allow entering a filename that would not place a post into
>the request.
>if no allow upload choices
>This would then help to get rid of that empty post that occurs when
>changing the image name, as long as the person who edits the product
>remembers to choose the correct option.
>Thanks and any suggestions are welcome.

Dear Philip,

As you probably know, one can do almost anything with Interchange.

You can achieve what you want by the following:

1. Click the meta link aof the image field
2. Go to tab 'Advanced'
3. Add /* to the path in the 'Directory' field (e.g. change images/items to 
4. Click OK

Now you will have a pull down box containing the existing
images show up on your form.

Good luck !

Best regards,


Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 

More information about the interchange-users mailing list