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 »

bfa_thumb() ignores existing thumbnail

Old May 28, 2013, 08:07 AM
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

<?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:

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!)


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 10: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 06:39 AM
[SOLVED] menu position in IE: ignores container padding/margins epsymp Page & Category Menu Bars 11 Mar 5, 2011 03:49 PM
Ignores Images in Posts Styling karenika Atahualpa 3 Wordpress theme 2 Dec 18, 2009 05:11 AM

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

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