Images urls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Images urls

keith1y
Lukas,

I thought that pier generated image urls to could be served from the
/files directory via apache? Is there something I need to enable for this?

I just look and saw an image url being
/seaside/storeadmin?_s=uLBIB7O8x2QvtsQI


Keith


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Images urls

Lukas Renggli
> I thought that pier generated image urls to could be served from the
> /files directory via apache? Is there something I need to enable for this?
>
> I just look and saw an image url being
> /seaside/storeadmin?_s=uLBIB7O8x2QvtsQI

Yeah, you need to tell Pier where to find the files directory through Apache.

Either programmatically by evaluating an expression like:

     MAExternalFileModel baseUrl: 'http://www.foo.com/files'

Or by adding the widget 'File Settings' somewhere in the admin area of
your site and conveniently edit the path through a web interface.

Cheers,
Lukas




>
>
> Keith
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki