How to improve the quality of your preview images

Note: Newer PHP Melody versions do not require this change. You can change the thumbnail quality straight form the back-end interface.
Browse to your ‘Settings‘ page (under the ‘General Settings‘ tab) and look for ‘Use thumbnail size‘. For PHP Melody versions released in early 2015 read on.

low-quality-imageIf you’ve recently (April 2015) updated your PHP Melody website and noticed the preview images look pixelated, like the image on the right, please read on.

Let’s get started.

Step 1.

Make sure that you are using PHP Melody v2.3.1 or newer.
Note: This procedure not apply to older installations (i.e. before v2.3.1).

Step 2.

Open your PHP Melody’s /include/functions.php file and search for the following (Lines: 1078 to 1082):

// if ($video['source_id'] == $video_sources['youtube']['source_id'] && $video['yt_id'] != '')
// {
// 	$video['preview_image'] = 'https://i.ytimg.com/vi/'. $video['yt_id'] .'/hqdefault.jpg'; 
// }

Replace that with:

if ($video['source_id'] == $video_sources['youtube']['source_id'] && $video['yt_id'] != '')
{
	$video['preview_image'] = 'https://i.ytimg.com/vi/'. $video['yt_id'] .'/hqdefault.jpg'; 
}

Step 3.

Save functions.php and upload it to the /include/ folder.
Enjoy your new high quality preview images.

Notes.

#1 The issue is found only in installations which were upgraded to PHP Melody v2.3 (before April, 2015). Newer installations should not be affected by this issue.
#2 If there are still problems with your preview images, please contact customer support.

Comments

4 responses to “How to improve the quality of your preview images”

  1. Εγγραφ στο www.binance.com Avatar

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

  2. Binance Avatar

    Your article helped me a lot, is there any more related content? Thanks!

  3. Lumikha ng Binance Account Avatar

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/register?ref=P9L9FQKY

  4. für binance anmelden Avatar

    I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://www.binance.com/sv/join?ref=PORL8W0Z

Leave a Reply

Your email address will not be published. Required fields are marked *