You are not logged in.
If you’re bored of one thumbnail per image and don’t fancy using an auto-resizing script or relying on the browser to stretch your thumbs, smd_thumbnail could be the answer. It allows you to create profiles for as many thumbnail sizes as you like and will automatically create physical thumbnails at those dimensions for any/all of your images.
You can set one profile as a default to be the size you see on the Images tab. A couple of new public-side tags take care of displaying your thumbs.
Download it (Requires PHP 5+ and TXP 4.4.1+)
If anyone has any reports of weirdness or workflow improvements for this plugin, please let me know the details and I’ll see if I can figure it out.
All available versions and changes are listed here. Each entry indexes the relevant post(s) in the thread to learn about the features.
displayattribute ; added ‘create from’ preference (thanks the blue dragon / maniqui) ; fixed plugin for dashboard use ; fixed jQuery attr/prop in prefs ; fixed Txp menu interference (thanks maniqui)
Last edited by Bloke (2011-10-12 10:55:53)
Sounds good, tho haven’t tested it yet. But sound good.
I will test when I get some time (or willness) to install the latest dev. Too bad I don’t use SVNs (I only weekly read the changes).
Rah-plugins | What? I’m a little confused… again :-)
This is very cool… something I’ve wished for a couple of times. I don’t have the time to play with it yet, but I will as soon as I get a chance. Thanks, Stef.
The short answer Marcus is – yes it can. But I think you need to go and play with it then come back and ask any specific questions you have about such things as coding, using it with the new
<txp:image_list /> tag and using it with
article_images. It might be best though if you had a test site you could try it out on.
I am currently using it on Textgarden.
Last edited by thebombsite (2010-08-06 20:37:23)
Is this plugin capable to achieve something like this?
The long answer is also yes :-)
You don’t need to resize the existing thumbnails for your new layout: you can create a second profile that fits your new model (e.g. 200×180, no cropping, quality 80%, no sharpening). Then simply hit the Create all button and it’ll go away and make you a whole bunch of new, physical thumbnails at your desired size. You can create as many profiles as you like, add and delete images, quickly activate / deactivate profiles so only certain thumbs are created when you upload or replace images, and so on. You can even upload different thumbs (i.e. not derived from the image) if you wish, for each thumbnail profile.
On the public side you use the
<txp:smd_thumbnail /> tag to display them. Works exactly the same as the built in thumbnail tag but you can specify
type="profile_name" to display the thumbnail of the given size.
As Stuart says the best way to figure out the capabilities is to try it out. As long as your TXP and server meet the requirements there’s no special instructions. After you’ve played with it, feel free to let me know if you need it to do something else or the workflow could be tightened.
The long answer is also yes :-)
Sounds great! I’ll try it!
Another brilliant plugin, thanks Stef! All the features I can think of you’ve already covered.
One small problem I’ve had is when trying to change the capitalisation of a profile name i.e. ‘Medium’ to ‘medium’. It’s possible however to change to an interim name and then back to the correct name/case.
I’m looking forward to 4.3.0 now so that I can use this on one of my live sites.
Another brilliant plugin, thanks Stef!
trying to change the capitalisation of a profile name
Ooops thanks for the catch. I’ll see what I can do to fix it.
One bug fix for those using the beta version: capitalisation changes for profile names are now permitted (thanks hidalgo).