[BNM] Plone problems

Alex Bridge alx at dashalx.co.uk
Mon Apr 9 16:29:44 BST 2007


Hi Toby,

Looking at the source of the page, it seems that the image dimensions 
are being forced to be 181x120px, regardless of the actual size of the 
image. You'll need to track down the page template or method which 
iterates over the 'Practice GPs' in the page, and alter it so that it 
outputs the actual dimensions of the image (or at least doesn't output 
the wrong ones).

If you don't fancy doing that, then you could always just redo the 
images to be 181x120px, with white padding so that they don't get 
distorted. Probably not a long-term solution though.

Hope that helps,

-alx


Toby wrote:
> Hi all,
>
> Had a question from someone about Plone.
>
> Can anyone help?
>
>  <http://www.dulvertonsurgery.co.uk/the-gps>
> "No matter what size the images go in the CMS, they come out stretched and
> wrong on this page, but it is the only page on the site that does it. Can't
> figure out why"
>  http://www.dulvertonsurgery.co.uk/the-gps
>
> Can anyone shed any light?
>
>
> Cheers
>
> Toby
>   




More information about the BNMlist mailing list. Powered by Wessex Networks