Re: ZMSMediaPlayer - Galerie
Niels Dettenbach <[email protected]> Fri, 09 Aug 2013 16:53:28 +0200
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Organization | Syndicat IT&Internet |
| Message-ID | <3488300.tYd26QtP1h@gongo> |
--nextPart1835997.NDkH9Md3IA Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Mittwoch, 7. August 2013, 06:36:02 schrieben Sie: > The ZMSMediaPlayer is really a great extension for ZMS. > > I'd love to use the "Galerie" also but there is just one thing I don't like > about it. It's that you *have to* crop the thumbnails yourself. I tried to > modify the code so that it does that automatically, just like the medium > one - but i failed greatly. Is there any hints you could give me? hmm, withour any coding afaik you can "prepare" a ZIP where all the variants of a gallery image (thumbnail / preview / full) are still in by filename convention - but this is not practical for typical end users. Automatical "cropping" (not as resoizing/scaling) makes no sense as it is nearly impossible to write some code which is able to recognize the right content focus on any image like or nearly like as a human. It makes much sense to crop any thumbnail in the gallery by hand as it does not seems nice if you have preview images with different length/side proportions and are not able to tell a program wheer and how some image has be be cropped automatically (except very specialized applications with images of a defined size and content placements). The only exception is if you just have images which has all the same length/ height proportion - i.e. quadratical - then you can use autoamtical resizing of the whole image content to get same proportioned images. Otherwise it could makes sense to use another Ajax gallery solution (whioch not optical relys on same proportioned images) and implement it as ZMS object which is more suitable for images with different length/height proportions. I've fiddeled different ones att, because my users / customers had very different requirements for their "galleries" regarding handling/usage and layout rules. hth cheers, Niels -- --- Niels Dettenbach Syndicat IT & Internet http://www.syndicat.com PGP: https://syndicat.com/pub_key.asc --- --nextPart1835997.NDkH9Md3IA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAABCAAGBQJSBQJsAAoJEM78prARigUnCroP/2yRj0vPNFS7anUEpzIFPqB6 gRolWrn3csr3HobJpX6/YjILs+ezl5Ue2gT6VHtPg1yXmSUnp6NNflsfkhRu5T6c 8jStdaGG0xJrKexqpGWGYq83HlLmbUIFism1LXVJNoQkHWOKmyvxdj+h/GWGpO9p sw7uytZ6D42aqlJItahVRNfsVXCfYnkVBUTJToXt4SW5edJ/QonpWO0H6uZNe0Wp uSHFyXItwn5XFe/V45mDWgByv8VaELPpvDNUcN1uZxjYz5aqS2i8lUaO4rQ6q1bD +JVulcjueidi7o4pDyWyCV09hmpFkK6dFsM2V0RGtIBU6qLfYSNmWByRptgB9U0F 0KRUAQv/rvKSMX4Xp6mGyX7Phj0+hzbhucTbWM0i/lY6OyChdlkWr2T9CZVzDQZH bPX+ApR7LZ2nMd3JamQIAaYLVny63h1y+dAxfnZ4AhijsjBDxlvn9Sj6v1wBXgYc XyO18cvPDyroLglNMhjxo3CDeXqec7D5fDZYYVPbv2bUlyy5Lsb0H3tW+0nZH/GG eRokYGtrB9MQekQFFFsReq/LYjKexGoBrsUbf3TpuHIFuBKPcKIaXsvYSVSiw64x w36Ay7vttgB1jUgrMNew6bvB3JLI78sy+lfhoSFGJdmL/zZVNpsgtc9ac+xVTLv2 OOCJoaCZba2+uRb3xNp8 =aUjQ -----END PGP SIGNATURE----- --nextPart1835997.NDkH9Md3IA--