Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

bfa_thumb() ignores existing thumbnail


  #1  
Old May 28, 2013, 07:07 AM
marklevine
 
41 posts · Jun 2010
I have an irritating problem, not a bug. I am trying out Montezuma, which by the way seems even more awesome than Atahualpa, and call bfa_thumb() from the loop with

Code:
<?php bfa_thumb( 620,180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
When I upload a media file named "ralph.jpg", I see that a thumbnail has been been created in the media library directory called "ralph-620x180.jpg" because I've added support for that thumbnail size into the theme.

So, I expect that thumbnail will be used by the theme because the overview of bfa_thumb says:

Quote:
Will create thumbnail on the fly if it does not exist.
However, when I choose "ralph.jpg" as a featured image on a post and view the post on the front page, the theme has created "ralph-620x180-1.jpg". Note the suffix which has been postpended to the name. It appears that bfa_thumb() always creates a new thumbnail even when one pre-exists.

The irritating part of this has to do with the steps necessary to fix a bady cropped thumbnail. I am training my client to use Post Thumbnail Editor which creates a new thumbnail without the suffix. Then my client must visit the server and rename files. (Yuck. If you knew this client, you'd be worrying too.)

I'll try to dive into your code to force bfa_thumb() to alway overwrite the thumbnail without postpending "-1" but best if you could correct me or correct the code.

The theme is live on a server but not active yet, Try http://artsmeme.com/?theme=artsmemeV2 to see the site. (Note I am replacing an Atahualpa child with a Montezuma child!)

Bookmarks

Tags
bfa_thumb montezuma

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RFE 013-06: have bfa_thumb return title and 'alt' text juggledad New Versions & Updates 0 Nov 27, 2012 09:31 AM
RFE 113-01: add option to bfa_thumb() to control if you want an automatic image built juggledad New Versions & Updates 0 Oct 5, 2012 05:39 AM
[SOLVED] menu position in IE: ignores container padding/margins epsymp Page & Category Menu Bars 11 Mar 5, 2011 02:49 PM
Ignores Images in Posts Styling karenika Atahualpa 3 Wordpress theme 2 Dec 18, 2009 04:11 AM


All times are GMT -6. The time now is 06:59 PM.


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