Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #19935

    Hello,

    I would like the images to be displayed in 1024px width straight from the image list attached to the post. (This one for example: http://www.alexandremarcphotography.com/portfolio-item/travel)

    Is it possible to do so? a bit of css to change somewhere?

    Thanks in advance

    Alex

    #105617

    For exemple the shortcode page is displayed on the whole width of the screen: http://www.kriesi.at/themes/flashlight/shortcodes

    I would like to do the same with the image list embedded to the post …

    #105618

    Hi,

    You can use this on your custom.css. .postid-1013 is the id of the page you provided.

    .postid-1013 .content .box {
    width: 1024px;
    }

    Then edit functions.php and find this code

    $avia_config['imgSize']['blog'] = array('width'=>430, 'height'=>9999, 'crop'=>false); // image for blog posts

    Replace it with

    $avia_config['imgSize']['blog'] = array('width'=>1000px, 'height'=>9999, 'crop'=>false); // image for blog posts

    Regenerate the thumbnails.

    Regards,

    Ismael

    #105619

    Hi Ismael,

    Thank you for your answer. It is awesome.

    However, I realised 1024px was a bit too large and wordpress does not make any intermediate in between 430 and 1024px when uploading the pictures… is there anyway to do some? around 840px?

    Regards

    Alex

    #105620

    Hi,

    Replace this code

    .postid-1013 .content .box {
    width: 1024px;
    }

    with

    .postid-1013 .content .box {
    width: 840px;
    }

    and probably this code

    $avia_config['imgSize']['blog'] = array('width'=>1000px, 'height'=>9999, 'crop'=>false); // image for blog posts

    with

    $avia_config['imgSize']['blog'] = array('width'=>790px, 'height'=>9999, 'crop'=>false); // image for blog posts

    Again, regenerate thumbnails.

    Regards,

    Ismael

    #105621

    Hi Ismael,

    OK thanks! It was a silly question! … It made me realise that the function.php was actually generating (however clearly mentioned in the php file) the thumbnails not choosing the size among the thumbnails.

    Could also give me a hint to style the tooltips so as they keep on the right of the image when I will turn all the galleries with their new width?

    Regards

    Alex

    #105622

    Hey Alex,

    Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top .avia_embed_image .exif_data_tooltip {
    width: 300px;
    position: absolute;
    padding: 0 0 0 8px;
    margin-left: 422px;
    }

    You can then adjust the margin-left if needed. It depends on what your final layout will be and if this is the tooltip behavior you were talking about.

    If not, can you link us to the specific page so we can inspect live?

    Regards,

    Devin

    #105623

    Thank you for your answer, that is the one!

    Regards

    Alex

    #105624

    Hey,

    Glad it is fixed.

    Regards,

    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Larger image width for the image list attached to post’ is closed to new replies.