Recent Topics

1 Apr 13, 2010 22:29    

My b2evolution Version: 3.3.3

Let me start by saying I am a complete n00b at .php so please forgive me if this seems like an elementary question. The boss man says he wants a blog so it's up to me to figure out how to make that happen. :)

I'm trying to add an additional thumbnail size in the drop-down menu of the Photo Index widget. I've gone to the _advanced.php file and added in the size I want (fit-240x240) so the code looks like this:

$thumbnail_sizes = array(
'fit-720x500' => array( 'fit', 720, 500, 90 ),
'fit-640x480' => array( 'fit', 640, 480, 90 ),
'fit-520x390' => array( 'fit', 520, 390, 90 ),
'fit-400x320' => array( 'fit', 400, 320, 85 ),
'fit-320x320' => array( 'fit', 320, 320, 85 ),
'fit-240x240' => array( 'fit', 240, 240, 80 ),
'fit-160x160' => array( 'fit', 160, 160, 80 ),
'fit-160x120' => array( 'fit', 160, 120, 80 ),
'fit-80x80' => array( 'fit', 80, 80, 80 ),
'crop-80x80' => array( 'crop', 80, 80, 85 ),
'crop-64x64' => array( 'crop', 64, 64, 85 ),
'crop-48x48' => array( 'crop', 48, 48, 85 ),
'crop-32x32' => array( 'crop', 32, 32, 85 ),
'crop-15x15' => array( 'crop', 15, 15, 85 ),
);

When I go back to the drop-down list 'fit-240x240' appears in the list and it does resize my thumbnails...to 160x160.

What am I missing?

Any help is greatly appreciated. Thanks. Suze.

2 Apr 14, 2010 03:17

hi SuzeSmith

I tried your procedure that on my end here and its working
check this

240x240

http://img33.imageshack.us/img33/6232/240u.jpg

and here is the 160x160

http://img412.imageshack.us/img412/7812/160t.jpg

BUT im using localhost or local webserver.

May I see your URL? maybe you are seeing an offline content. Sometimes this can fixed the problem by deleting your browsers offline content or temporary internet files

or by just adding and https:

example. http://www.blog.com --> try to add 's" https://www.blog.com

goodluck

3 Apr 14, 2010 19:53

Thanks for the response. Our company hosts the site in-house, but I'm working on an internal development server, not the actual web server, until I'm ready to publish to the world so unfortunately I don't have a public link for you to look at.

I've tried dumping cache, flushing DNS, going to a different machine within the network...everything that would affect how the page appears. I don't think that's it. When I switch to one of the standard choices offered the updates are immediate. It's like the custom size I added isn't registering properly. I'll keep digging.

Thanks!


Form is loading...