Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi, i´m having trouble with the file uploader, when i set an editable region for images when i click browse, select an image and then upload it, the uploaded image doesn't appear on the images window, i have to click browse again select the same image and click upload, the window displays this error message:
Code: Select all
A file with the same name is already available. The uploaded file has been renamed to "001-386x155-1.png"
and is in this point where the second uploaded image is visible (the first image without the "-1" at the end is never visible. Does anyone have this problem?

Recently I manage to change the "ckeditor" to the last update i was wondering if it is possible to change the file uploader too trying to avoid this problem and to match to the new responsive admin design.
Hi,

I think I can see what is happening and, as developers are notorious for saying - it is not a bug but a feature :)

Let us suppose we upload an image named 'my_image.jpg'. If the system is set up to create a thumbnail for it (of, say, size 300x100), a thumbnail image would be created and will be named 'my_image-300x100.jpg' However, this thumbnail will remain hidden and won't show up in the file explorer.

I suppose you can see what is happening in your case. The name of the main image that you are uploading is '001-386x155-1.png' and happens to match that normally associated with a thumbnail. This is making the file explorer hide the image.

Admittedly, it is a corner case. If you rename your image to anything slightly different (i.e anything not having a '-nnxnn' - where 'nn' is a number denoting width or height - appended to the name) you won't have this problem.

Hope this helps.
Great I try it and it works I only have to name my images properly thanks for the support I have to say i tried a lot of other cms and by far this is the best solution i have found to apply cms to my own designs without spending hours trying to turn them into a theme and without loose of functionality... (And the forum is great) Thanks a lot!
You are welcome, ar2ro.
I am glad you liked Couch :)
4 posts Page 1 of 1