Constance - Make tea, not war (camomiletea) wrote in suggestions,
Constance - Make tea, not war

Allow to specify any size of preview images in ScrapBook

Allow to specify any size of preview images in ScrapBook

Short, concise description of the idea
Instead of giving a couple of options, allow users to input their own sizes for preview images in ScrapBook.

Full description of the idea
Currently, the ScrapBook layouts provide only certain few options for preview images; those that use the Core property thumbnail_size, give these options: 100x100, 125x125, 150x150. Others like Ultima, define their own available sizes, such as: 100x80, 150x120, and 200x180.

Allow users to pick their own values, rather than having to depend on the sizes provided. As some may prefer the oblong previews, and some may wish to have squares.

If necessary put a limit on the thumbnail size. (See suggestions for implementation below.)

It seems that it used to be possible to set the properties for the thumbnail sizes in a custom user layer with values different from those that are provided in the layout or core. But now if you attempt to do so, either the preview images do not display or the gallery page times out. (This has even affected several system layouts and themes, as themes tried setting sizes that were not allowed for in the layout.)

An ordered list of benefits
  • More flexibility is always good
  • Improvement on a 'lost' feature; an alternative fix for broken layouts/themes
  • Easier interface, perhaps

An ordered list of problems/issues involved
  • No issues that I can think of, beside the fact that somone will need to update the Core, layouts and themes.

An organized list, or a few short paragraphs detailing suggestions for implementation
  • Perhaps, there could be two int type properties with some maximum value set; one for height and one for width of a preview image, like this:
  • property int thumbnail_height {
    des = "Thumbnail height";
    note = "Size values are measured in pixels";
    max = "300";
  • property int thumbnail_width {
    des = "Thumbnail width";
    note = "Size values are measured in pixels";
    max = "300";
  • These would need to be converted back to strings in order to set the $*thumbnails property later on, but having these properties "int" will ensure that numbers are entered, no letters, and will allow to set a maximum size to prevent really big thumbnails.
Tags: scrapbook, § historical
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded