• Resolved taffy1947

    (@taffy1947)


    Hi,

    I am trying to increase the size of the overlay image gallery to 1024×768 instead of the current size which is 640×480 according to the browser inspector.

    Can it be altered via css or does the template need modification.
    I note that you gave advice to https://rtcars.cl/ on a different matter, looked at his site and the images are 1000×750

    Thankyou in anticipation
    Regards
    Roger

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    Can you please let us know if the images you have uploaded are large? Also, can you please share a screenshot of the “Settings > Media” menu in your WordPress admin?

    Thread Starter taffy1947

    (@taffy1947)

    Hi,

    The images are 640×480, link to screenshot below and thanks for the info reference Gutenberg

    http://take.ms/AIOYC

    Regards
    Roger

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Roger,

    One of the images you uploaded is smaller, e.g. http://jwswebdesign.co.uk/jadetest/wp-content/uploads/2018/11/black-g-edition-1.jpg.

    Are you uploading larger images?

    Thread Starter taffy1947

    (@taffy1947)

    Hi Harish,

    Thanks for your comments, the images are showing as 640×480 in the media gallery but am using way2enjoy image compression but this does not change the dimensions of the image.

    I have replaced the featured image with one that is 1024×768 in the following link
    http://jwswebdesign.co.uk/jadetest/vehicle/toyota-previa-2-4-vvti-aeras-g-edition/

    What do you reccommend I advise my client the resolution to take his photos in, 1024×768 looks ok, he is using a standard camera(don’t know age) not a mobile phone.

    the live site is http://jadeautos.com

    Regards
    Roger

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hi,

    Yes, I would advise the largest size possible. 1024*768 seems good enough. When you view the overlay of this listing where you set a large image, does the overlay open large images?

    Also, to change the thumbnail image size, please add the following code to the “functions.php” file located inside your active theme folder.

    add_action( 'init', function() {
      add_image_size( 'wpcm_my_custom_listing_image_size', 350, 150, true );
    } );
    
    add_filter( 'wpcm_listings_vehicle_thumbnail_size', function( $image_size ) {
      return 'wpcm_my_custom_listing_image_size';
    } );

    After this, you will need to regenerate the thumbnails using a plugin such as https://ww.wp.xz.cn/plugins/regenerate-thumbnails/.

    Thread Starter taffy1947

    (@taffy1947)

    Hi Harish,

    Thanks for your help will do as you suggest and yes the overlay does open the large images.

    Regards
    Roger

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Overlay Image Gallery’ is closed to new replies.