Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Image File Save Method

Quote Reply
Image File Save Method
When uploading images using the hashed save method the files are stored in numbered directories and the same number is added to the beginning of the file name.

Is there an easy way to give the directory and file a name (e.g loged in user) rather than a number???

Thank you.

Simon.
Quote Reply
Re: [jai] Image File Save Method In reply to
DBMan SQL does not support for that. You can use 'Simple' method instead of 'Hashed'

TheStone.

B.
Quote Reply
Re: [TheStone] Image File Save Method In reply to
Surely there must be some modification that can be done to achieve this. Where can I find the code that assigns the number? Can you give me the file directory, file name and subroutine to look at?

Thank you.

Simon.
Quote Reply
Re: [jai] Image File Save Method In reply to
I would say that is not quite easy to modify the code as the way you wanted. You can have a look at SQL/File.pm if you like.

TheStone.

B.