Page 1 of 1

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Sat Dec 25, 2004 6:10 pm
by reviewum
Okay, I've been using CMS and just love it. A few questions I still have after searching through the forums, wiki, etc.:

1) If I have a lot of users uploading images and want to put them in sub-folders, what is the best way to do this? Is it possible to move images into newly created subfolders and still have all the linking to those images work?

2) Upgrade process: What's the process for upgrading CMS once a new version comes out? What does upgrade.php do? Is the design of CMS and modules such that most modules will still work when there is an upgrade?

3) Is there a way to set the user preferences for new users to always have the htmlArea / wysiwyg editor as the default?

4) I used the image editor to resize an image but it didn't seem to work. I kept trying, but the file still didn't save after I resized it and hit "Save Image". A few hours later I logged in and went to image management and saw the original image and 5 resized images. Any ideas on what happened?

5) I noticed that a user can't modify other user's files unless they are delegated that right (which is very good). Unfortunately it looks like a user can delete / edit another user's image though. Is it suppose to work like this, or should it be the same... you can only edit / delete the images that you have uploaded or have been delegated rights to?

Thanks in advance for your help!

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Sun Dec 26, 2004 11:40 pm
by reviewum
A few other issues:

6) Images in sub folders show up as missing images after an upload. They still work, but the preview images are broken.

7) Multiple spaces in a row comes out as a question mark '?' after hitting submit.

I tried to search for these issues prior to posting, but couldn't find them mentioned. If you are already aware of them, and/or the fix is going to be in .80 then I apologize!

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Mon Dec 27, 2004 2:49 am
by Ted
Sorry, I meant to reply the other day...

1. I assume this has to do with HTMLArea? To be honest, I wasn't really involved with much of the WYSIWYG stuff, but I can probably take a look at it.

2. There is an upgrade script and we try to insure that the upgrade process is as smooth as possible. So far, we have a perfect record of being able to upgrade a 0.1 install to a 0.7.3 install. 0.8 does make a lot of changes, but we should be able to handle most of it.

3. Currently there is no way to do this. 0.8 will change in that they will now select a type of WYSIWYG (or none) to use. Setting preference defaults is a good idea, but not on tap for 0.8.

4. I wasn't really involved in this either, unfortunatly. I'm assuming that it's something to do with the page inside the iframe being cached, but I'm not really sure. Anyone else want to take a stab at this?

5. Actually, the images don't have ownership. It's just a basic file upload that everyone shares that has file permissions.

6. Very strange. I'll have to look into that.

7. Ditto on that.

Most of these issues are WYSIWYG related, and hopefully using a better (in my opinion) WYSIWYG will solve some problems. We'll see. Obviously, my answers aren't too informative, but a lot of these areas were stuff that I wasn't involved in.

Thanks!

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Tue Dec 28, 2004 12:51 am
by reviewum
Yes, you're right, most of those issues are WYSIWYG related. Hopefully newer versions / different apps will solve these issues in the next release.

Another thing that I just came across and is making me pull out my hair is this:

I wanted to resize an image that someone uploaded so I went into FTP, downloaded the image resized it and tried to upload it... but I can't. I tried via FTP, the Control panel, but nothing works. Is there a permissions / ownership issue that won't allow me to edit images / files?

Thanks again!

p.s. another issue with the WYSIWYG image editor is that when an image is resized and saved, it doesn't resize the original and then overwrite it, but creates a new file.

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Tue Dec 28, 2004 10:14 am
by Akrabat
reviewum wrote:I wanted to resize an image that someone uploaded so I went into FTP, downloaded the image resized it and tried to upload it... but I can't. I tried via FTP, the Control panel, but nothing works. Is there a permissions / ownership issue that won't allow me to edit images / files?
At a guess, I'd say that the webserver owns the uploaded file and so you don't have write permission.

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Tue Dec 28, 2004 4:55 pm
by reviewum
Hmmm... That was what I was afraid of!

So, two questions:

1) If it is owned by the server, how do I change the ownership? Shell? SSH? (Cpanel / red hat box)

2) If I change the ownership, will it stop the script from working with those files correctly?

Thanks!

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Tue Dec 28, 2004 9:01 pm
by Akrabat
reviewum wrote:Hmmm... That was what I was afraid of!

So, two questions:

1) If it is owned by the server, how do I change the ownership? Shell? SSH? (Cpanel / red hat box)

2) If I change the ownership, will it stop the script from working with those files correctly?

Thanks!
shell: chmod 666 {filename}

it won't affect the script.

Questions: Images in sub-folders, upgrade process, htmlArea

Posted: Tue Dec 28, 2004 9:28 pm
by reviewum
I logged into putty and ran the command and got "chmod: changing permissions of `reviewum_coop_run.jpg': Operation not permitted"

any suggestions?

NEVERMIND! I logged in as root user (for which I have access) and changed the permissions via ssh root user.

I wanted to do this because some images were WAY bigger than the user was needing, so I wanted to modify the size. If I modified the size using htmlarea it just creates another image and causes all kinds of problems.

Mabye a module for image manipulation or a better wysiwyg editor will do it?