Re: does dexterity image have a sane URL
Gil Forcada <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <1410391947.22710.5.camel@patam> |
El dj 11 de 09 de 2014 a les 00:58 +0200, en/na Espen Moe-Nilssen va escriure: > I am upgrading collective.js.supersize and want to add an option for using the original image (size) > > Is there a way to construct a «sane URL» to the «full scale image» ? > > I was hoping for something like: > self.context.absolute_url() + '/@@images/image/large’ If your image field is called "image" and you have a scale named "large" then yes it should work just as you say (works for me TM). Cheers, Gil > > > Espen > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users -- Gil Forcada [ca] guifi.net - una xarxa lliure que no para de créixer [en] guifi.net - a non-stopping free network bloc: http://gil.badall.net planet: http://planet.guifi.net ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJUEN+LAAoJEOkuw3EAluZaGbcP/j3p6EH/wgCERFr0R9y+LJUm im/SjQC/jXLDNBW5/GeDE6zVN8VBeOOAmzWrdP+nDIRaTUyIOSO8mkrBh6W4Se8B ZVRImmW8/ZoXy2iPwKytQ1y3xTIwsMdu0fIrgql4EjosJ/FHsYixPNtH6juhl1BR fEGasx/CyxsALxyvWtMwIgkmwoa5LLrAX0GHqT7g965rE99WJnf4FGCc1WHGOuRD X8w85T0h1RiOseQ+ttXiWwfA4TsOodIUc1U7hjdN8O/PCCzteSIPRM/zq+QfoeMh 1Revq5OPFwSof5cGDtAZ175O2boCilfBdt9PZtepBiAGar+jn2mQ+kg9IrJtgOT1 u2pwh/i80W7kI99EIjtIB/ndzCSC/N+zMcq20dvbVsrLuF8I7kU9qF+Uwk/dMX7K 6Q7FRgJqpBxe/et+2yUFhTFtWpbW2UhXGedaNppLZO63O8dW+FM35ZH43To9vz4L dwbMyO/41Be8qHF/k4J4g76aK4HNVK11BGfgRfIImks2l+R1gP5x80Sxeo+z9mOT js7H/9n0LntAjHJXBLwc+kYNEEaJ5XsBrQgux1czIHbXBTr3wlPlvb7iGX1ALfvt DvnPA/sd5jOF2B7NizR+p9/ho3LVtfVoI1ow+dQvKxUZHv3K3pqV5yomxq14c64v ol2bze8av+KE9e/t62Iw =lwAx -----END PGP SIGNATURE-----