Koozali.org: home of the SME Server

Posting security pictures

CKConsulting

Posting security pictures
« on: November 03, 2005, 06:02:00 AM »
SME 6.0.1-01
Currently Running Postnuke
I'm using Dorgem to ftp daily pictures to SME.
The files end up in a users /files folder.
I would like these photos to be viewable from a web page.
I know I can write a script to move the files on the server but I'm looking for a way to have the pictures automaticaly show up on a web page.  Postnuke Photoshare makes you import the pictures.  I would like to just copy them to a folder, each picture is named with a dateandtime.jpg, then have them show up on a web page.

Any thoughts?
Rick

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Posting security pictures
« Reply #1 on: November 03, 2005, 08:51:32 AM »
CKConsulting

> I'm using Dorgem to ftp daily pictures to SME.
> The files end up in a users /files folder.

Why not ftp them directly to the required website ibay ?

See
http://mirror.contribs.org/smeserver/contribs/bobk/SME_Manual/chpt-14.02.html

It is possible to upload files using FTP, but to do so you must login to the server with a valid user name, not the i-bay name. That user account must be a member of the group that has been given write permission for the i-bay (configured on the i-bay screen). You would then change to the i-bay directory (using the ftp command "cd ../../ibays/ibayname"). You will now be able to upload files from your FTP client to the appropriate directories.



> I would like these photos to be viewable from a web page.

I'm not sure about that, it would depend on how your web site pages are coded.
...

Offline Boris

  • *
  • 783
  • +0/-0
Re: Posting security pictures
« Reply #2 on: November 03, 2005, 07:24:43 PM »
Quote from: "CKConsulting"
The files end up in a users /files folder.
I would like these photos to be viewable from a web page.

Did you try to link pictures from you website located in the same ibay to http://www.yousite.com/files/picturename.jpg ?
...