On Wed, Sep 5, 2012 at 5:56 PM, Calloni, Rodrigo <[email protected]> wrote:
> I was hoping that these parameters would control the display of the images, 
> reducing the size in the UI:
>
> webui.browse.thumbnail.maxheight = 110
> webui.browse.thumbnail.maxwidth = 110

These are used only in JSPUI despite the fact that the name suggests
both interfaces. This should be either documented or XMLUI should be
changed to respect it. If you make a patch for XMLUI to take them into
account, be sure to submit it to our Jira.

> I also tried to set these parameters:
>
> webui.preview.maxwidth = 110
> webui.preview.maxheight = 110
>
> But they still show big everywhere.

This is the only place where these parameters are considered:

https://github.com/DSpace/DSpace/blob/dspace-1_6_x/dspace-api/src/main/java/org/dspace/app/mediafilter/BrandedPreviewJPEGFilter.java#L108

It's part of the mediafilter package, so it's not executed at display
time, but rather when you run filter-media.

> Does anyone know if these parameters work in XMLUI? Or should I change this 
> via setting a size for the image in the CSS?

CSS is a safe bet, but 800x600 sounds too large if you want to have
10+ such images on a page, scaled down in browser. It _will_ slow down
browsing.

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to