Repository - logo

35 views
Skip to first unread message

Borsy Dávid

unread,
Oct 14, 2020, 11:04:26 AM10/14/20
to AtoM Users
The uploaded image is literally cut to size, there is an option to resize the uploaded image to the specified size? or it just works poorly for me and only cuts the left corner of the uploaded image.

I don't get any error codes, so I'm asking if this works properly.

Dan Gillean

unread,
Oct 14, 2020, 6:31:48 PM10/14/20
to ICA-AtoM Users
Hi Dávid, 

The current implementation is pretty basic - if the logo provided is oversized, then yes, Imagemagick (the tool we use for image processing) will just arbitrarily crop the content. Please see: 
From the note on uploading logos found on that page: 

AtoM requires that the image uploaded as the institution logo be in PNG format. The image cannot exceed 256k in size. If the image selected for upload does not meet these requirements, you will receive an error message below the “Logo” field after clicking the “Save” button, and your upload will not be saved.

Ideally, the image size should be between 200x200 and 270x270 pixels square. If the image you upload does not meet these sizing specifications, it will be automatically cropped by ImageMagick to meet the requirements listed above.

Note that the in-page help in AtoM's user interface also says that the image will be cropped if too big:



This could certainly be improved in the future, but would likely require development sponsorship or community code contribution. For more information on how we maintain and develop AtoM, please see: 
In the meantime, you should make use of external tools to prepare the logo as you want it prior to uploading. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


On Wed, Oct 14, 2020 at 11:04 AM Borsy Dávid <borsy...@gmail.com> wrote:
The uploaded image is literally cut to size, there is an option to resize the uploaded image to the specified size? or it just works poorly for me and only cuts the left corner of the uploaded image.

I don't get any error codes, so I'm asking if this works properly.

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d7af38b0-8ea4-4190-b725-614fb3b20d00n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages