zdravko.balorda at siix
Feb 3, 2012, 12:25 AM
Post #12 of 12
Re: Thumbnails and find_or_create_alternate()
[In reply to]
Is there a bug ticket for this already?
I took find_or_create_alternate out of Image scope in to a global
scope trying to extend some of the functionality. Namely:
1. more than one thumbnail
Brilliantly, an alternate_image can also be of type Related Media,
so why not having a chain of thumbnails, one for cover page,
one for RSS, one for home page, possibly one for the very story itself, etc.
2, reprocess an image if the file is reloded, changed, or transformer
paramters have changed.
I haven't added any new fields, everything is done inside title and file name
of the media document.
People are quite happy, as they can load a "large enough" image into Bricolage
and scale to their liking inside editor. Even better, they can rescale it within
bricolage. No need to upload new images.
And I'm happy, too, when a designer chooses to change thumbnail size, the solution
is only one republish away.
All that has left are thumbnails left around on the current desk, instead being
shelved after publishing.
Best regards, Zdravko
Bret Dawson wrote:
> Hi Dawn,
> No, I haven't fixed it yet, but it looks like that
> leaving-the-generated-images-in-workflow thing is indeed a bug. I expect
> to submit a patch in the next week or so.
> Talk to you soon,
> On Mon, 2011-06-27 at 13:57 -0400, Dawn Buie wrote:
>> HI Bret
>> Did you get any further on this issue. I seem to be having a few strange issues with find_or_create_alternate() - putting a bunch of generated images on the publish desk - while also publishing the ones I request be created. I haven't looked deeply yet at it though - so it could be caused by (my) human error.
>> On 2011-06-21, at 1:24 PM, Bret Dawson wrote:
>>> On Tue, 2011-06-21 at 10:19 -0700, David E. Wheeler wrote:
>>>>> Does this suggest a change to publish_another(), or should the template
>>>>> itself take care of getting the asset out of workflow?
>>> You mean a patch is a good idea, or it's a good idea to get used to
>>> doing it in a template?
>>> Bret Dawson
>>> Pectopah Productions Inc.
>>> (416) 895-7635
>>> bret [at] pectopah
Jurčkova 229, Ljubljana
Tel.: +386 (0)1 520 50 50
Obiščite sistem zdravstvenih nasvetov Med.Over.Net