Site logo

[Support request] How to display a very high resolution image

Home Forums Support [Support request] How to display a very high resolution image

Home Forums Support How to display a very high resolution image

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1583639
    David

    I have a high resolution infographic I want to display (4000px x 3750px). My preference for how the image is displayed (in order of preference):

    1. Load the image to fit the browser width with a zoom option that resizes the image to its full resolution with scroll bars (just like this image: https://www.jpl.nasa.gov/spaceimages/images/largesize/PIA17172_hires.jpg)

    2. If I can’t do #1, then simply display the image in its full resolution with scroll bars.

    How can I achieve this?

    Thanks.

    #1583651
    Elvin
    Staff
    Customer Support

    Hi,

    1.) You’ll need a plugin with zoom functionality.

    2.) You’ll have to change the max upload size if the images you’re uploading is larger than your site’s upload limit. You can do this with a plugin or by editing your site’s php.ini file or by adding snippet like this on your functions.php.

    @ini_set( 'upload_max_size' , '64M' );
    @ini_set( 'post_max_size', '64M');
    @ini_set( 'max_execution_time', '300' );

    Note: Loading of large images isn’t recommended if you’re concerned with the page’s performance.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.