Hi! Could you please further elaborate what your issues are? What’s amiss? What are you trying to fix?
My theme sets the default thumbnails files in theme functions.
add_image_size( ‘thumb-small’, 160, 160, true );
add_image_size( ‘thumb-standard’, 320, 320, true );
add_image_size( ‘thumb-medium’, 520, 245, true );
add_image_size( ‘thumb-large’, 720, 340, true );
My left side bar displays uploaded thumbnails as 80px*80px (even when using ‘thumb-small’ in the php getter. The CSS defined in my theme’s style sheet.
.alx-tab .tab-item-thumbnail {width: 80px; margin-left: -94px; float: left; }
But since the img tag has dimensions as 160*160, the images appear 80* in width and 160 in height. You can see the images in side bar at filmiana.com for better idea.
The story is same for thumb-medium appearing in grid based home page.
The images which I am retrieving from media directory are appearing just fine. The problem is with images pulled by this plugin.
Now I see. You may want to try the following CSS rules:
Sidebar
.sidebar.s1 img.nelioefi { max-height:80px; }
Grid
.home .main .post-list.group img { max-height: 250px; }
The second rule, however, might require some @media queries, but this will depend on you!
I hope this helps.
Hi! Thanks for your gracious help. The sidebar issue was resolved.
But the change does not seem to appear in post-list.
Sorry, the changes seem to apply only to nelioefi images with this:
.home .main .post-list.group img { max-height: 250px; }
Other images set from setfeatured image are coming in a different format. Not sure where they are coming from
Hello!
From the heart I pray for help! I’m theme My Passion. tell me where and what to write so I with Nelio External Featured Image, share in facebook post with image. Please you very much! I am a novice should my code without errors.
I write in external-featured-image / main.php
<? Php
/ *
* Plugin Name: Featured Image External Link from Custom Field in Page
* Plugin URI: http://www.prochetitova.sitefree.co
Description: adds an external link to the ‘featured image’ in a static page; link url has to be in custom field with the key ‘ExternalUrl’.
* Version: 1.2.0
* Author: Lyubomira Popova
* Author URI: http://wordpress.org/support/profile/alchymyth
* License: GPL2
* /
This program is free software; you can redistribute it and / or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
* /
add_filter (‘post_thumbnail_html’, ‘add_external_link_on_page_post_thumbnail’, 10);
function add_external_link_on_page_post_thumbnail ($ html) {
if (is_page ()) {
global $ post;
$ Name = get_post_meta ($ post-> ID, ‘ExternalUrl’, true);
if ($ name) {
$ Html = ”. $ Html. ”;
}
}
return $ html;
}
?>
and gives me – Parse error: syntax error, unexpected T_STRING in /home/u783847088/public_html/wp-content/plugins/external-featured-image/main.php on line 12
https://wordpress.org/plugins/external-featured-image/