Editable Image on the Home page

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
nileshbhd5
New Member
New Member
Posts: 5
Joined: Sat Nov 01, 2008 10:07 am

Editable Image on the Home page

Post by nileshbhd5 »

I need to manage/upload/edit/delete a Homepage image from the admin section.

Is there a way to do so ?
NaN

Re: Editable Image on the Home page

Post by NaN »

Yes of course.
There are several ways to manage images with CMSms.
You can use the FileManager or the ImageManager to upload/download images.
With the ImageManager you can do some (minor) changes such as size, rotation etc. to the image.
Any more complex changes should be done with an image processing software such as e.g. Photoshop.

What exactly do you mean with "manage/upload/edit/delete a Homepage image from the admin section" ?
nileshbhd5
New Member
New Member
Posts: 5
Joined: Sat Nov 01, 2008 10:07 am

Re: Editable Image on the Home page

Post by nileshbhd5 »

Yes you are right.

But what i need is that client should be able to Upload only ONE image not mulitple image and should be able to delete/overwrite that image.

Is it possible ?
NaN

Re: Editable Image on the Home page

Post by NaN »

As I know there is no way to do that kind of restrictions to a backenduser.
If the client has permission to use the ImageManager or the FileManager he will have full access to at least your uploads folder.
He can upload as many files as he wish. There is no option to allow images only or especially only one image.

Maybe you can solve that with a .htaccess file in your uploads folder where only images are allowed?
(I'm really not sure if this will work for you)
faglork

Re: Editable Image on the Home page

Post by faglork »

Hi!

There are numerous upload scripts available which do exactly that.
Or write your own ...

Cheers,
Alex
NaN

Re: Editable Image on the Home page

Post by NaN »

faglork wrote:
There are numerous upload scripts available which do exactly that.
Can you give an example please?

faglork wrote:
Or write your own ...
Well, if nileshbhd5 knows how to create and integrate that by himself he would not have asked here, wouldn't he? ;)
Post Reply

Return to “Developers Discussion”