Re: does dexterity image have a sane URL

espen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
11. sep. 2014 kl. 01:33 skrev Gil Forcada Codinachs [via Plone] <ml-node+s293351n7572433h76-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:

> 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 
> > [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 
> [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 ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/does-dexterity-image-have-a-sane-URL-tp7572432p7572437.html
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
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.