[ic] Images and the Admin UI
Philip S. Hempel
pshempel at linuxhardcore.com
Fri Dec 12 10:14:44 EST 2003
On Fri, 2003-12-12 at 09:09, Ton Verhagen wrote:
> 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
But to do this in every store I work with or put up is a pain in the
rear. The point I wanted to make is that I believe I am not the only one
to have seen this happen and or try doing what I have done.
The present functionality of the product images upload is just that, an
upload function and does not allow you to modify without upload.
> 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
> interchange-users mailing list
> interchange-users at icdevgroup.org
Philip S. Hempel Network, Systems, Security
Cell (269) 208-2665 Administrator
Home (269) 461-3214 in UNIX, LINUX, Microsoft
http://linuxhardcore.com/ for more than 10 years
More information about the interchange-users