Possible to have a default image?

kclawes - September 16, 2008 - 03:28
Project:Taxonomy Image
Version:5.x-1.3
Component:User interface
Category:feature request
Priority:minor
Assigned:NancyDru
Status:closed
Description

I'm curious if there is any way to set a default image, so any terms that do not have an image have something to display without having to upload a new image every time.

#1

NancyDru - September 16, 2008 - 16:42

Well, if it is a hierarchical vocabulary, you could assign your default image to the parent term and use the "recursive" feature.

#2

kclawes - September 17, 2008 - 02:23

Sadly, it isn't a hierarchical vocabulary... In my instance, there is no reason for it to be.

#3

NancyDru - September 17, 2008 - 03:18
Component:Miscellaneous» User interface
Category:support request» feature request
Priority:normal» minor
Assigned to:Anonymous» NancyDru

Changing this to a feature request. I'll look at what might be done.

#4

kclawes - September 17, 2008 - 14:44

Fantastic news Nancy. I know that CCK imagefield allows for a default image on a per-content-type level, so that might be a good place for inspiration.

Anyhow, in case anyone cares, I came up with a work around and simply added a background image to my CSS. This of course is really only a valid approarch on my end since all the images are the same size, so I know the background image will be covered entirely.

#5

NancyDru - October 1, 2008 - 15:04
Status:active» fixed

Ha, I was doing some work for Taxonomy Super Select and it looked trashy when some terms had images and some didn't, so I needed this too.

Committed to both branches; it will be in the next -dev version. It introduces a new setting.

#6

kclawes - October 1, 2008 - 20:45

Fantastic news Nancy! Keep up the great work.

#7

Anonymous (not verified) - October 15, 2008 - 20:45
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.