Closed (fixed)
Project:
Asset
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Apr 2008 at 21:15 UTC
Updated:
25 Jun 2008 at 13:55 UTC
My formatter defaults for teasers are not working.
I've made formatters for imagecache that are working with imagefield e. g.
When I choose this formatters for asset (for all teasers) in the asset menue, the picture is not shown scaled in the nodes-teaser but in the original dimensions. Is there are known bug or did i something wrong? It seems to be very easy to choose the right formatters (asset--> formatter defaults --> local--> teaser) but ...
By the way ... Why you have not integrated multiple choice of formatter defaults for different content types in this very very useful module (like it is integrated with imagechache in ckk imagefields)?
Comments
Comment #1
wmostrey commentedHow did you add these images? Did you use CCK or in a textarea/TinyMCE? If you're using CCK and you have the defaults set, the asset should use the select imagecache. If you're using the textarea/TinyMCE however, you will need to specify in the next-to-last option if you want to display the image in full, as a link, or with one of the possible imagecache presets.
Be sure to set the presets on both the Full Page and the Teaser settings, and that the extention of your file matches one of those you configured.
Comment #2
miweb commentedI'm using ckk asset to show my pics. The large picture is shown in right dimensions for the full page view of the node, the picture in the teaser is not scaled down. I've chosen the right formatter (and the file extension fits the formatter) for the teaser. So I don't know why it is not shown scaled down in teaser view. (CKK-field is set to default for teaser, should be right?).
Comment #3
wmostrey commentedAre you using an imagecache preset for the full page views as well or not? Could you try that and see if it's working there?
Comment #4
miweb commentedI've uploaded a new large pic to figure this out.
The default formatters are set right (both). The chosen imagecache settings are working with imagefield correct (one setting for a lage pic, one for the small). Using the asset ckk-field the teaserview doesn't work correctly. I made sure both formatters are ok.
Full view: scaled picture with link to the original
Teaser view: scaled picture, however asset using the preset for full page here, not the one for the teaserthumb.
If this helps, my code from the node-template (teaser):
div va-teaserfoto uses no formatters for size
field hauptfoto is the asset field for the pic.
Comment #5
miweb commentedNews! The formatter settings are still not working in teaser view. So what's new?
It IS working if I load a pic into the fck editor with teasersettings. However this is not the thing I want to do nor is this pic shown at the right place in teaser. Any Ideas why the setting is not working?
Comment #6
Jeff Burnz commentedI have the same issue - it appears that only one preset is honoured.
I have two presets - medium & thumb
If I set Full view to Medium & Teaser view to thumb, the medium still gets printed on the teaser. If I set thumb for both, then thumb gets printed on both.
@miweb did you figure out a fix?
Comment #7
miweb commentedNo, I'm sorry.
I hope there will be a solution for this problem and a way to get both formatters working for the same node.
Comment #8
wmostrey commentedI'm on this.
Comment #9
wmostrey commentedComment #10
wmostrey commentedThe following two patches were made to dev in order to fix this problem. This gets us really close to rc1.
http://drupal.org/cvs?commit=120775
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.