I've installed the script sucessfully. Great work.
I have a few feature requests. These might be stupid requests, but I don't know how to code myself.
1. The teaser image should have a link to the node. This should be an option.
2. There should be more options regarding placement of the thumbnails. A global default option to align right/left and include some margins or borders would be nice. Maybe this is done in CSS, but again, I'm not an technical ekspert.
However, the default placement option should also be adjusted on a per node basis.
3. There should also be a possibility to turn the thumb off in each node, or choose a different thumbsize in a node.
4. I haven't figured out how to access the thumb in Views. Some documentation would be nice.
5. When I Installed the script, my old teaser images disappeared. Luckily it isn't a production site.
Thanks again, if I'm able to work out the position and link-issue, this will probably save the day.
Best regards,
- Martin
Comments
Comment #1
Fayna commentedI agree with #1! :) I think that functionality would be very useful.
For #2, you can do that with CSS. On the main project page, there is some code the maintainer posted. You put that code in your template.php file (if your theme has one, if not, you can create one.).
Where the code says at the very end array('align' => 'right')); you can change that to array('align' = > 'left')); or even to a CSS ID or class like so: array('class' => 'enter-class-name'));. Once you've created a CSS ID or class, you can add borders to the teaser thumbnails, margins, padding, etc. or whatever you would like to do in CSS. You simply reference the class or ID from this code in your CSS.
For Views, you probably can find the ImageCache preset in there somewhere...
Hope this helps! I love this module. It's just what I needed.
That also looks like a few more than two requests. ;-)
Comment #2
hunvreus commentedInteresting feedback: I'll go through it tomorrow and add some features, however I am not sure if getting the settings done on a node basis; I liked the simplicity of the concept and starting to propose people with the choice of the thumbnail source, alignment, etc, for each node may clutter a bit the workflow.
Comment #3
danbuntu commentedI'm also stuggling with point 4
I have a page of teasers created with views that is diplaying the small thumbnails perfectly
How ever I also have a side bar block displaying the same teasers with jcarousel and in this the images are showing full size.
It would be really nice is thumbnail_image was selectable as a field within views
Comment #4
hunvreus commentedSorry for that: it seems the view support was broken in my latest version. I'll commit a fixed version tomorrow when I have time to dig in the code.
Comment #5
hunvreus commentedFor the people that required the views support: I don't know how I managed to do so, but I had dropped the lines of the hook_init that included the views files into the module. I put it back; you should be able to test it from the development snapshot as soon as it is built by the cron. I'll roll this change out with the next version that will integrate some of the requests that were made.
Comment #6
danbuntu commentedSorry I might be missing something here but is this fix now int he Drupal 6 version of the module? Yuo mention a development snapshot - does this need to come from somewhere different?
Comment #7
idflorin commentedI will wait like a good boy.
Views integration it's like holly grail for me. I don't know how it will be (I didn't used this module until now) but I'm thinking to display the teaser thumbnail as a field in more than 1 views at different sizes controlled by image cache.
Comment #8
hunvreus commentedI just published new versions of the module (both for D5 and D6). On the list of new features:
With it you should be able to create a view of nodes with thumbnails and an imagecache preset depending on the view and its display. For example you could have a 15px by 15px thumbnail in the block, a 150px by 150 px picture on the page and a 40px by 40px picture in the RSS feed. Have fun, and let me know if something is broken (I hope not).
Comment #9
Krupp commentedI tried this module, and on the Drupal created front page it works perfectly. However, in Views I have a problem:
I have created a Views page that displays titles and teasers. In the Teasers the original images are now included. I can also include the thumbnail, but the original picture still gets displayed.
Any suggestions? Thanks a lot in advance!
Comment #10
hunvreus commentedI am writing a tutorial that uses Teaser Thumbnail and met the same problem: in the next version I will probably add the support for a Views field that combine the teaser content and the thumbnail. However, in the meantime, here is how you can get rid of the pictures in your teaser:
or the following code if you just want to strip the images/flash files:
Comment #11
danbuntu commentedhurrah! This module is perfect for my needs now. I'm loving the ability to select different imagecache settings in views, really useful
thanks for the work
Comment #12
Krupp commentedThanks for the assistance, works really well now.
Comment #13
hunvreus commentedI published a new version (6.x-1.4): I had forgotten a debugging message in the views handler that caused the preset name to be displayed as a message (drupal_set_message). Sorry for that...
Comment #14
firemountain commentedHey All.
much thanks for the development of this mod.
I am still struggling with how to add dome margins to the thumbnails. i am not using views with this right now,
can anyone tell me where i can put in the css.
thank you so much
FM
Comment #15
hunvreus commentedImages in the teaser have a "teaserthumbnail" class (
) that you can use to theme your thumbnails. Just add you code in the style.css spreadsheet of your theme, for example:
Comment #16
hunvreus commentedComment #17
firemountain commentedGee wizards!
thank you !