Re: Re: upload module for gallery album

Marten <[email protected]> Mon, 4 Aug 2003 20:29:20 +0200
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Message-ID <[email protected]>
Today I ran across one missing feature of upload-module working with 
gallery-pubtype. Today I got round about 100 JPEGS for upload. Well, 
doing that with the Upload-UI it will take me hours of not really 
variedly work ;-) What do you think about a function to scan a 
directory, clean up all non allowed files, approve allowed files and 
convert it to these crypted Upload-Files with respect for the security 
modell?

Upload Module ist really great stuff, but, well, this feature is badly 
missing.


Am Montag, 04.08.03 um 20:03 Uhr schrieb mikespub:

> In article <bgbdug$gm9$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, [email protected] 
> (carlo) wrote:
>> I want to use the upload module for the gallery pub-type.
>> But I want to have the #$bodyfile# content (that is the location of 
>> the
>> image uploaded) in the user-summary template too.
>> Since I don't find how to do it, I create a new DD field named photo 
>> with
>> "upload" in the property. This work since I can view my #$photo# 
>> variable
>> in the user-summary and in the user-display tmplate. But If I uncheck 
>> the
>> bodyfile field or if I change the property of that field (from upload 
>> to
>> something else) the content of my #$photo# variable is empty.
>> I don't need anymore that field (the DD field has replaced it).
>>
>>
>> What I'm missing? How can it be done in a smarter way?
>
> Well, if you don't intend to use thumbnails anyway, you can simply fill
> in the "summary" field with the same value (= uploaded image) as the
> "body" field.
>
> [or adapt the original user-summary-pictures.xd to use #$body# instead
> of #$summary#, which is what I use at 
> http://mikespub.net/xaraya/pictures/]
>
> Either way, you don't need to use a DD field for this...
>
> Mike.
> _______________________________________________
> Xaraya_knowledge-base mailing list
> [email protected]
> http://lists.xaraya.com/mailman/listinfo/xaraya_knowledge-base
>