Page 1 of 1

Image upload restriction?

Posted: Mon Dec 10, 2007 10:42 am
by puuhapete80
Hello everybody!!!

Is there such a restriction (to put on) that the user or group does not have permission to add images to sites (and change headlines)? User could only add and modify content of text when logged to sites!!!

One possibility is to set a restriction which doesn't allow user to upload images from own computer, only images uploaded already by the admin or limiting the size of the image upload at least.

The reason for deny adding images is simple: too much stuff on the server.

Re: Image upload restriction?

Posted: Mon Dec 10, 2007 8:34 pm
by deejmer
You could always make the uploads/images directory unwritable.  They'd go throught the process of uploading, but would get an error message when they try to send the file to the server.

Although not recommended, I guess you could always dig throught the core code and pull any navigation to the image editor?

Anyone have a more eloquent way to do this?  I don't see this as an option in the Group Permissions dialog....

Re: Image upload restriction?

Posted: Mon Dec 10, 2007 8:39 pm
by calguy1000
Well, other than Tiny.... there are permissions to control things.  I even think there's a permission to access imagemanager and file manager.

Re: Image upload restriction?

Posted: Mon Dec 10, 2007 8:53 pm
by kermit
puuhapete80 wrote: The reason for deny adding images is simple: too much stuff on the server.
get a bigger plan? ;)

educate your editors?

max upload size of 1 byte? or
disable server write permissions on uploads or uploads/images? (either of which can be changed temporarily if YOU want to upload stuff)

hack the code?

by 'headlines' do you mean page titles?  just use something like {title} just before {content} and the page title as configured for the page will be inserted automagically, no need for a 'title' at the top of a page's content then.