[dev] Ansel storeImage, numImages, getImageUrl,
getDefaultImage API calls
Chuck Hagenbuch
chuck at horde.org
Fri Oct 15 19:23:03 PDT 2004
Quoting Duck <duck at obala.net>:
> I don't know how to use only galleryId science we need the $app for
> shares/datathree separation like in Agora comments. So this galleries are not
> dispayed in the Ansel module itself.
Okay, yeah, I hadn't realized that it matched Agora already. That's alright
then.
> I removed the "path" code from getDefaultImage.
> The path is returned by getImageUrl that corresponds to Ansel::getImageUrl().
Cool.
> Personally I don't like to combine them. Since the gallery_data in practice
> will come mainly from $config['images'] (with image dimensions). But is only
> my opinion.
Well, if you feel strongly, I'd still like to see a cleaner way of
passing them.
Not sure what that would look like, entirely.
> I added removeImage too.
Okay. Btw, again, please read CODING_STANDARDS and try to match the style of
existing Horde code.
Thanks,
-chuck
--
"But she goes not abroad in search of monsters to destroy." - John
Quincy Adams
More information about the dev
mailing list