Re: does dexterity image have a sane URL
Philip Bauer <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
the original size is accessible by ${context/absolute_url}@@images/[field_name]
Am 11.09.2014 um 10:50 schrieb espen <[email protected]>:
>
> 11. sep. 2014 kl. 01:33 skrev Gil Forcada Codinachs [via Plone] <[hidden email]>:
>
>> 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).
>
> yes, but I am looking for the original (scale), so I was hoping for something similar to the above, like
>
> …../image/full or …/image/original
>
> or like archetype had it :
> path/tocontent/image_view_fullscreen
>
> or to put it another way:
> I have not found a way to write an url to show the full scale image,
>>
>> 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
>> > <a href="x-msg://75/user/SendEmail.jtp?type=node&node=7572433&i=0" target="_top" rel="nofollow" link="external">[hidden email]
>> > 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
>> <a href="x-msg://75/user/SendEmail.jtp?type=node&node=7572433&i=1" target="_top" rel="nofollow" link="external">[hidden email]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>>
>> signature.asc (836 bytes) Download Attachment
>>
>>
>> If you reply to this email, your message will be added to the discussion below:
>> http://plone.293351.n2.nabble.com/does-dexterity-image-have-a-sane-URL-tp7572432p7572433.html
>> To start a new topic under General Questions, email [hidden email]
>> To unsubscribe from Plone, click here.
>> NAML
>
>
> View this message in context: Re: does dexterity image have a sane URL
> Sent from the General Questions mailing list archive at Nabble.com.
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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, 496 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUEYnUAAoJEOeXgSbn9GtJowEH/3eUjqJoRPbClV8TCgZtmVER fSqt932suGGOhOG/xX90b2UNDkpMai9RvUFh6uRICbqeIKqYpRQYN5fJxSfMuXRm 4GPjRJJsnK3jjSY5kLr0FGvJ3EBAc/nKnqYSI4Y6f3q1B43kaCpUikYNROYuv6O+ w6DuQQ6LjDrvKfsQOlGDXF/jW/Bxc+1f5EmxxJ9uZVXCwRzvTwTVYLNN9PxyGlvq /0aJTL31juIKXQs8Q7XFtYMZ6QaktHRjxUuu/8O+KOqjj6YPZvRbmNGJKV0964aW X6ZYfIgYJ4jV2Lf+Xm5m4QAr3CJxwQbtYVqL/dNPMyu6AfvolrXaB7xDrx8qw3s= =nOyr -----END PGP SIGNATURE-----