hello

may i ask you what's different with your module from using imagecache ?

thx

Comments

nimrodwebdesign’s picture

Hi,

I didn't know about the imagecache module. It isn't immediately obvious from the name that it offers resizing capabilities, so I didn't see it when i was looking for something to create my square thumbnails.

Having said that it doesn't look like they do exactly the same thing. My module creates the squares by cropping the minimum amount from the edges (to get the largest possible square, centered to keep the most important area), then scales it. Maybe imagecache can crop the edges and then scale it, but from the documentation it doesn't look like it.

Arguably, I should have extended the imagecache module with my functionality, rather than creating a new module, however as I said, I didn't know about it. I may now do that at some point in the future, but it's not going to be a priority.

Thanks for your question, and pointing out the similarity,
Colin =)

drew reece’s picture

Imagecache does exactly what you describe. The interface is a bit wacky, but you can set it to scale to x pixels and y pixels, then tell it to crop to another (or the same) size. You can position the location of the crops too. It also does non-proportional scaling too, eg squash to 100 x 1000 px ignoring aspect ratio.

Sorry it seems like you have replicated an existing module, it may be useful to point out imagecache on the module description page. To help other users find the existing module that does the same. Creating duplicate modules make it harder for people to figure out which one to use, and makes maintaining become a feature war.

Drew

Delta Bridges’s picture

Hello there,
I have used image cache for a long while now with CCK imagefield, but I don't know how to use it for image module... and I dont think it's that easy.
So I a quite happy to have found this module :)
Many thanks,
Expat9

Delta Bridges’s picture

Spoke too fast:
I can't get this module to work: old images, new images etc... none of them are being resized to squares.
I am using Image 5.1 (d5.7) Could that be the problem?

Many thanks.

dww’s picture

Status: Active » Fixed

Now fixed. See the project page for a recent note from the maintainer, and see also #343505: Image Square Thumbnails Should be Discontinued

dww’s picture

Status: Fixed » Closed (fixed)

(I'm just going to immediately mark this closed and disable the issue tracker on this project, too).