Tagged: 

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

    hi,

    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]

    [one_half]

    [/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

    Thanks

    #101495

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

    #101496

    Hi!

    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,

    Peter

    #101497

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

    Thanks

    #101498

    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";
    query_posts($avia_config['new_query']);
    }
    }
    }
    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.

    #101499

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

    #101500

    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: http://www.kriesi.at/support/topic/portfolio-sorting-2

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

    Regards,

    Ismael

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

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