Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Featured image not being cropped


  #1  
Old Oct 2, 2013, 04:52 PM
bignall
 
21 posts · Dec 2009
Featured image not being cropped

Hi -

I've made no recent changes to my theme, however for some reason the featured images on posts are no longer being cropped. I can see the bfa_thumb(620,180 ... in the code, but it does not seem to be cropping the image. Can anyone point me to where I should look to find out why it is not working?

Site URL: http://rosina.me/

Thanks,
Rosina
  #2  
Old Oct 2, 2013, 05:13 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
step 1 - disable all plugins to see if there is a conflict
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 2, 2013, 06:03 PM
bignall
 
21 posts · Dec 2009
I did disable all plugins, to no avail. I have reenabled them now but I did turn them all off and disabled all caching.
  #4  
Old Oct 2, 2013, 06:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Copy your theme export settings to a text file and attach them to a response
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 2, 2013, 06:57 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Quote:
Originally Posted by bignall
I can see the bfa_thumb(620,180 ... in the code,
What's the rest of the parameters? It's the third parameter that is critical, that parameter determines if the image is cropped or not. By default, the value of the third parameter is false (not cropped). It has to be set to true for the image to be cropped:
Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #6  
Old Oct 2, 2013, 09:40 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
As an aside your pictures should be optimized for web. The ones I looked at were 500Kb to almost 1 Mb.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Oct 3, 2013, 07:09 AM
bignall
 
21 posts · Dec 2009
Thanks so much for your help @Juggledad. Attached are the settings.

@CrouchingBruin Here's the rest of the parameters:

PHP Code:
<?php bfa_thumb620180true'<div class="thumb-shadow"><div class="post-thumb">''</div></div>' ); ?>
As you can see it is true (which does seem to be the default since I haven't changed it).

@lmilesw Yes good point, I should stop being lazy but it's a personal site for my friends and family to see what's going on, not expecting thousands of visitors... still, always a wise idea.

Last edited by bignall; Oct 3, 2013 at 07:12 AM.
  #8  
Old Oct 3, 2013, 07:14 AM
bignall
 
21 posts · Dec 2009
Helps if I actually attach the file.... /o\
Attached Files
File Type: txt montezuma-settings.txt (71.3 KB, 1698 views)
  #9  
Old Oct 3, 2013, 07:33 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
In one installation I did find the spaces between 620,180,true in the code were problematic. When I edited this
HTML Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
To This
HTML Code:
<?php bfa_thumb( 620,180,true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
All worked as intended so may be something to try.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Image Help JanineM1110 Montezuma Theme 1 Jun 6, 2013 02:01 AM
Featured image shows first image included in post [Update for version 1.1.8] Auteri Montezuma Theme 2 May 2, 2013 03:07 AM
Image in post half showing as if featured image mealies Montezuma Theme 1 Mar 20, 2013 09:31 AM
[SOLVED] Featured image shows the first image included in the post. Auteri Montezuma Theme 2 Oct 5, 2012 07:15 AM
Featured image won't resize Pierre Excerpts, Read more, Pagination 5 Jan 31, 2011 09:13 AM


All times are GMT -6. The time now is 07:39 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.