WordPress.org

Ready to get started?Download WordPress

Forums

Image Wall
[resolved] Image Wall Sizes (4 posts)

  1. cjohnson26
    Member
    Posted 1 year ago #

    Hey There!

    Is there a way to get the size of the images between the medium and the large. On a mobile device, the medium is a tad too small, and the large is too big. Or can we change the coding to create a new size?

    Thanks,
    Corey

    http://wordpress.org/extend/plugins/image-wall/

  2. cjohnson26
    Member
    Posted 1 year ago #

    ...or an extension of my question would be, what size options are available?

  3. Parakoos
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    The short answer is this: Manually set the 'column_width' argument to the width you like and experiment with your preferred setting of 'column_proportion_restriction' to limit which images can span columns.

    The long answer is this:

    There are two arguments that control the sizes of the images.

    The 'image_sizes' argument controls which image sizes, as defined in WordPress and/or your WP theme (so a custom sized name will be accepted), that will be brought back and considered.

    The 'column_width' argument controls exactly that, the width of the columns. If this argument isn't give, the image wall will assume that the column width should be the smallest width of the given image_sizes.

    For an image to be allowed on the wall, at least one of the images must fit at least one column. If an image can span more than one column (and is allowed by the 'column_proportion_restriction' argument) then that takes precedence.

    If multiple images can fill for example 1 column, then the image wall will select the narrower image_size as that is assumed to be smaller and therefore download faster.

    So if you want to have the sizes to be larger than medium but smaller than large, set image_sizes to 'large' and manually set the column_width to wherever between medium and large that you want. Your users will have to download large images, but hey ho.

    Another way would be to (manually) add a custom size to your wordpress installation. However, you would have to regenerate the images for this size as WP doesn't do that automatically. There are plugins for that.

    Let me know if this answers your question!

  4. Parakoos
    Member
    Plugin Author

    Posted 1 year ago #

    I am setting this to resolved as there was no further responses.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.