Tagged: image quality
December 21, 2012 at 10:25 pm #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.
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
ThanksDecember 21, 2012 at 10:28 pm #101495
you can check the preview at this image on right side i put 3 images http://www.logoneed.com/wp-content/uploads/image.pngDecember 22, 2012 at 7:41 am #101496
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.
PeterDecember 22, 2012 at 8:14 pm #101497
also in portfolio all items are in descending order. Can you help me to make it ascending order?
ThanksDecember 23, 2012 at 9:17 am #101498
Add following code to functions.php (at the very bottom):
function loop_portfolio_query( $location )
if ( $location == 'loop-portfolio' )
$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.December 23, 2012 at 4:29 pm #101499December 24, 2012 at 4:18 am #101500
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.
The topic ‘Images quality got low in between short codes’ is closed to new replies.