Support ForumChange Image Quality to Full by overriding Portfolio Template – Support Forum https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/feed/ Fri, 03 May 2024 01:08:52 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13142 <![CDATA[Change Image Quality to Full by overriding Portfolio Template]]> https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13142 Wed, 01 Jun 2016 22:30:47 +0000 AmberRyanPhoto The image quality is being compressed regardless of the fact I’m changing the file size to 1500px x 1000px. I need to know how to make a change in the code so the compression doesn’t happen.

https://www.iamnorth.uk/portfolio/

Thanks! :)

]]>
https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13148 <![CDATA[Reply To: Change Image Quality to Full by overriding Portfolio Template]]> https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13148 Thu, 02 Jun 2016 07:28:02 +0000 IshYoBoy Hey,

Nice to finally see you here :) To change the behaviour of we will have to override the portfolio template (The file which handles how the portfolio is output).

Here is a guide how to do that. In your case it’s “ish_portfolio.php” that will be changed and overridden: https://support.ishyoboy.com/forums/topic/override-shortcode-template-in-a-child-theme/#post-3553

Once done edit the file in the Child Theme and find the line:

$img_full = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'theme-large' );

And replace it with:

$img_full = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), ‘full’ );

Once done make sure the Child Theme is uploaded and activated and this will make it display the images in full quality and size.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13155 <![CDATA[Reply To: Change Image Quality to Full by overriding Portfolio Template]]> https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13155 Fri, 03 Jun 2016 19:25:06 +0000 AmberRyanPhoto Hi there! Ok so we downloaded the main theme and searched it for “ish_portfolio.php” and the file doesn’t actually exist?

]]>
https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13160 <![CDATA[Reply To: Change Image Quality to Full by overriding Portfolio Template]]> https://support.ishyoboy.com/forums/topic/change-image-quality-to-full-by-overriding-portfolio-template/#post-13160 Mon, 06 Jun 2016 04:33:35 +0000 IshYoBoy Hey again,

if you checked the link mentioned in our previous answer (https://support.ishyoboy.com/forums/topic/override-shortcode-template-in-a-child-theme/#post-3553) you can see that the file “ish_portfolio.php” is located in the assets plugin (wp-content/plugins/ishyoboy-tayp-assets/ishyoboy-shortcodes/assets/backend/vc_extend/shortcodes_templates/ish_portfolio.php).

Please let us know if it works for you
Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>