Tagged: thumbnail quality
-
AuthorPosts
-
January 11, 2015 at 23:02 #4126AnonymousInactive
I’ve got WordPress 4.1 and installed Gmedia 1.35 (latest version)
I’ve created a new album, added files to it (all jpg, quality 96) and then created a gallery from the album, using the Phantom module. I think that’s the proper order, or isn’t it?
I’ve tweaked the settings of the Phantom gallery (most notably set thumbnail size to 300×225, so they’re not too small), and so far it works fine for my purposes. There’s just one nasty thing I couldn’t figure out yet: the thumbnails have a horribly low quality and look very mushy and all, plain awful to look at. If I could get this fixed and have the thumbnails have a good quality (like the input images), I could have the gallery go live.
Sadly, I didn’t find anywhere an option to change the ridiculously low thumbnail quality, neither in the gallery settings nor anywhere else. So, how do I change the thumbnail quality? Do I have to use a different module, other than Phantom? Do have to tweak some settings before or during file upload? Something else entirely?January 22, 2015 at 21:05 #4198AnonymousInactiveI have the same problem. Please tell me how to solve this problem
January 22, 2015 at 22:46 #4199RattusKeymasterPost links to your gallery pages.
January 22, 2015 at 23:50 #4205AnonymousInactivehttp://ethereal-fantasy.com/portfolio/drawings_on_clothes/
Here you are. As you can see previews thumbnails of all except 5 (in the center – i manually greate this thumbnail in photoshop, just for example) is very poor quality, because they do not 350px width, so they just “zoomed”. How can make them to generates a width 350px? Thank you very much!
I think in core.php (thumbnail function) we can make somethink with “resize”, can we? Thanks.$editor->set_quality( $thumbimg['quality'] ); $resized = $editor->resize( $thumbimg['width'], $thumbimg['height'], $thumbimg['crop'] ); if ( is_wp_error( $resized ) ) { @unlink( $fileinfo['filepath'] ); @unlink( $fileinfo['filepath_original'] ); $return = array( "error" => array( "code" => $resized->get_error_code(), "message" => $resized->get_error_message() ), "id" => $fileinfo['basename'], "tip" => "editor->resize->thumb({$thumbimg['width']}, {$thumbimg['height']}, {$thumbimg['crop']})" ); return $return; }
January 23, 2015 at 00:12 #4207RattusKeymasterIf you need such a big sizes for thumbnails then better modify Phantom module:
Edit /module/phantom/init.php file on lines 35-36:,'image' => "/{$gmGallery->options['folder']['image']}/{$item->gmuid}" ,'thumb' => "/{$gmGallery->options['folder']['image_thumb']}/{$item->gmuid}"
modify to
,'image' => "/{$gmGallery->options['folder']['image']}/{$item->gmuid}" ,'thumb' => "/{$gmGallery->options['folder']['image']}/{$item->gmuid}"
so module will use web images (max 1600×1600) for thumbnails.
Better copy modified module to ‘/wp-content/grand-media/module/’ folder, so after plugin update you’ll not loose your changes. Also I recomend to rename folder to “phantom-mod” and edit index.php file to change name and title:
'name' => 'phantom-mod', 'title' => 'Phantom with Big Thumbnails',
January 23, 2015 at 00:26 #4208AnonymousInactiveDear Rattus. You are best of the best. Many thanks for your help. I am very grateful to you.
I wish all best to you from Ukraine. Thanks.January 23, 2015 at 13:51 #4211RattusKeymasterVery nice customization of Phantom module. The best thanks will be if you rate my plugin with 5 stars at wordpress repository: https://wordpress.org/plugins/grand-media/
Also I can suggest you 30% discount for premium modules license if you need it.January 23, 2015 at 21:21 #4217AnonymousInactiveI register in wordpress.org specifically to assess a maximum (5 stars) of your plugin. Thanks!
-
AuthorPosts
- The forum ‘Modules’ is closed to new topics and replies.