Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-06 13:37:00

snthr
Member
Registered: 2007-07-13
Posts: 42

image options question

hi…

the default arrangement for images in textpattern is to have large images and thumbnails. however, i’d like to be able to use an image in three different sizes: small (thumb), medium and large. it seems that lam_dynamic_image was able to do this before, but it is now an orphaned plugin and can’t be downloaded anymore.

is there another plugin with similar functionality? or another way to do this?

thanks.

Offline

#2 2010-11-06 13:48:44

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: image options question

If you have upgraded to Txp 4.3.0 you can try smd_thumbnail. It is still in “beta” stage but works pretty well otherwise I would suggest one of the many image-resizing scripts. I use this one which works very nicely with the new <txp:images /> tag if you want to add a “lightbox” effect.

Last edited by thebombsite (2010-11-06 13:55:06)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2010-11-06 14:31:41

snthr
Member
Registered: 2007-07-13
Posts: 42

Re: image options question

hi stuart, thanks for that. if possible, however, i’d like to avoid extra custom php, and also avoid beta plugins (and i haven’t even updated from 4.2.0 to 4.3.0 yet!) — i was hoping there might be a more straightforward way to do this.

anyone have any other ideas?

thanks again.

Offline

#4 2010-11-06 15:31:53

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: image options question

What is your idea? Three versions of a photo in the database? Or three versions of a photo on the website? How should be structured the accompanying HTML?

Offline

#5 2010-11-06 15:43:57

snthr
Member
Registered: 2007-07-13
Posts: 42

Re: image options question

ideally, three versions of a photo in the database, but three versions of a photo on the site (made from just two in the database) could work fine as well. the accompanying html will vary depending on which sections and categories i’m outputting the images into at the time.

Offline

#6 2010-11-06 16:13:17

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: image options question

For the record, smd_thumbnail is only in beta because I haven’t got round to releasing it officially due to my site not running TXP 4.3.0 until yesterday. The version that’s out now — and has been around for the past three months or so — is the final version. The Beta is just semantics now until I get half an hour spare to check the docs are up to date and put it on my site.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2010-11-06 17:22:39

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 596
Website

Re: image options question

The version that’s out now — and has been around for the past three months or so — is the final version.

(1 Person Likes This) [ Like ]

Yay!

Offline

#8 2010-11-06 19:26:39

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: image options question

@snthr: well as this is all about images I would totally recommend that you get yourself upgraded because image handling in 4.3.0 is way better than 4.2.0 due to the new <txp:images /> tag and all the things you can do with it.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#9 2010-11-06 20:29:11

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: image options question

@snthr:

As far as I know, with the same ID number only can be stored two photo sizes in the database. But in the website design you can define the sizes with CSS.

Offline

#10 2010-11-06 23:46:04

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: image options question

GugUser wrote:

But in the website design you can define the sizes with CSS.

That’s what I’ve been doing for years. Just scale images on the live site with CSS, no need for multiple versions in Textpattern.

Offline

#11 2010-11-07 19:20:37

snthr
Member
Registered: 2007-07-13
Posts: 42

Re: image options question

thanks all; will upgrade to 4.3.0 and do some experiments.

Offline

#12 2010-11-07 21:24:07

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: image options question

Coincidence in the forum: Maybe this smd_thumbnail plug-in can help you.

Offline

Board footer

Powered by FluxBB