quadratische Thumbs? z.b. mit phpThumb()?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
aciddk
Regular
Posts: 15
Joined: Wed May 21, 2008 7:41 pm

quadratische Thumbs? z.b. mit phpThumb()?

Post by aciddk »

Hallo Leute :)

Ich möchte gerne bei mehreren Templates automatisch quadratische Thumbnails im Beitrag haben. Ich habe schon alles durchsucht, aber soweit hier im Forum keinen Lösungsvorschlag gefunden. Leider hab ich atm überhaupt keinen "Plan" wo ich anfangen soll. Ansätze wären phpThumb() oder generell per PHP? Wie umsetzen in S9Y?

Grüße DK
onli
Regular
Posts: 2850
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by onli »

Verständnisfrage: Du willst, dass wenn ein bestimmtes Template gewählt ist und dann ein Beitrag geschrieben wird, in diesem Beitrag automatisch bestimmte Thumbnails eingefügt werden?
Gruß
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by yellowled »

Guys, this (like all the other ones) is a non-German subforum. With respect to our non-German users, please move this over to the German subforum :)

YL
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by Don Chambers »

yellowled wrote:Guys, this (like all the other ones) is a non-German subforum. With respect to our non-German users, please move this over to the German subforum :)

YL
Or better yet, use English when posting outside of the German subforum so others can assist and benefit from the discussion. :wink:
=Don=
aciddk
Regular
Posts: 15
Joined: Wed May 21, 2008 7:41 pm

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by aciddk »

I´m sorry for that :) english is absolutely ok for me.
Back to the topic: when I make an entry and upload a image, then it would be nice to have automatic a square thumbnail, like in many thumbnail sites of modern gallerys. I would like to be able to automatically create a cropped from center, resized, square thumbnail. Thumbnail - 200px x 200px, full image -normal size.
Same thumbnail sizes for all entries.

thanks
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by Don Chambers »

s9y can resize, but it cannot arbitrarily crop the thumbnail. Beginning with s9y 1.4, you can specify a maximum dimension, AND specify whether this is maximum value is applied to the width, height, or whichever of those values is largest.

If the thumbnail is to be square, the original image must also be square.... unless someone is willing/able to change the thumbnail creation functionality.
=Don=
aciddk
Regular
Posts: 15
Joined: Wed May 21, 2008 7:41 pm

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by aciddk »

Ok...anyway, pity...thanks for your help :)
lordcoffee
Regular
Posts: 308
Joined: Tue Nov 29, 2005 10:22 pm
Location: Munich - Germany
Contact:

Re: quadratische Thumbs? z.b. mit phpThumb()?

Post by lordcoffee »

Is it possible to add "timthumb" to s9y?

http://code.google.com/p/timthumb/
Post Reply