Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #18950


    I am using short codes to build home page but when I insert an image in to it image got bad quality, where I am using a high quality image.

    For example

    <h2>Two columns</h2>

    [one_half first]

    Paragraph text here[/one_half]



    so you can see in this code I am using image in 2nd half of column but image is getting blur and low quality, can you tell me how can I get good quality image in that short code?

    I tried outside of the code and image was fine and good quality but in shortcode it is low. So kindly guide me as soon as possible



    you can check the preview at this image on right side i put 3 images http://www.logoneed.com/wp-content/uploads/image.png



    Can you provide a link to your website please? I’d like to investigate the css code. Probably we can fix this by adding a width/height attribute to the image.

    Best regards,



    also in portfolio all items are in descending order. Can you help me to make it ascending order?



    Add following code to functions.php (at the very bottom):

    function loop_portfolio_query( $location )
    if ( $location == 'loop-portfolio' )
    global $avia_config;
    if(isset($avia_config['new_query'])) {
    $avia_config['new_query']['orderby'] = "date";
    $avia_config['new_query']['order'] = "ASC";
    add_action( 'avia_action_query_check' , 'loop_portfolio_query', 10, 1 );

    You can replace “date” with “title” if you want to sort the portfolio items by the title.


    Thanks for help bro, I added but nothing changed :(


    Hi thearslan,

    Can you post a link to your site showing the image(low quality) inside the column shortcode? so we can check further.

    For your portfolio items sorting, the code Peter had given should work, here is another thread with the same topic and uses the same theme: https://kriesi.at/support/topic/portfolio-sorting-2

    Try disabling all other plugins, and check if the code works.



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

The topic ‘Images quality got low in between short codes’ is closed to new replies.