Re: ZMSGraphics (in ZMSGallery) - SOLVED

Niels Dettenbach <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Organization Syndicat IT&Internet
Message-ID <[email protected]>
On Thursday 17 September 2009 18:15:04 Niels Dettenbach wrote:
> Dear all,
> 
> sorry for the noise again.
> 
> I try to add a ZMSGraphic object (to a ZMSGallery) by a public form input.
>  I let upload a superres image file and the code should generate the
>  previews byself.
sorry again, i have it now:

 <dtml-call "REQUEST.set('img',manage_addZMSGraphic(
 {'id_prefix':'galleryImages'
 ,'active':1
 ,'generate_preview_imghires':1
 ,'generate_preview_imgsuperres':1
 ,'img':imgob
 ,'imghires':imgob
 ,'imgsuperres':imgob
 },REQUEST))">
 </dtml-let>

Im not shure if the ",'generate_preview_...':1" options are required - but it 
seems to work for now.

so sorry for the noise...

Niels.

-- 

---

  Niels Dettenbach
  ---
  Syndicat IT&Internet
  http://www.syndicat.com
  T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
  ---
  Kryptoinfo: 
  PGP public key ID 651CA20D
  Fingerprint: 55E0 4DCD B04C 4A49 1586  88AE 54DC 4465 651C A20D
  https://syndicat.com/pub_key.asc
  ---
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iQIcBAABCAAGBQJKsm6rAAoJEM78prARigUnfzIP/A+BZMT7S/g2rNXIZYdZ1SCK
WBjfi/tpfcAe2mR+ZlVAusWhgGsJG3yfyhefRvF2EOeePlp0VpLOXCKtiPc5tmi3
yyOgsLyEWSenr07wZH6aJK0t4iALHNEpSXx6d0UtULnZxHkGSMUbuhRKIY62XCSp
DZNzhtM4WWIag4SzdErzbZ0d75BaSeeIgypdMIOLQgZ20EbY9JIC3Yhe6Ni7v+cm
HFyFlBJLxQA6aDwH/R/rRNNDE4LkKFBBNkwcRhE4Z1XQqcTP3QIMuTLW3NrZ7zU2
MzGnWZhjIzr+ru17S34KF1jBFHTkiX27jX5DSFVPnhux+cChM73tjg/1f+4ttQ1H
w/OO0c+JHvoVFpcn1L/gyFCUMGhaWhuHMORW+c/VWO6ZW/sdg45fGjITisTtOd5x
afQuUNyjKnN6rbxbXokGYhcQqTJUS2Jsk9SMq4+VE6c93JFwvwzJMQ7XmtD4o6io
gmEWZ8VyJlH5yhCrReBDkUgyXqTEReie+616SZlo9k2kQJo8z6+N6KGrdWhQXj82
j+kn4MV3xyl+ZN5t6aVbZWM4PqYtM+2h8oDmTC6pgq5zdpmfWMh6yX4McIctod3e
XFJHm2yyxQMAb5PuuZGRltaFtEWSxeUjpIcLlX3xa9cld1C+OOGwGJXHk4dAyaKq
mMYxhsBq1kdm4DVqUwR9
=VA3R
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.