Forum:Image titles in categories. Need CSS/JS fix to allow more than 20 characters

This is something that has bugged me a long time. Both on Wikia and Wikipedia.

See: http://cannabis.wikia.com/wiki/Category:Cannabis-related_event_graphics

It seems that only 20 characters (that includes spaces) are allowed to be shown. This prevents easy scanning of the image titles to see what the image is about.

Is there a JS and/or CSS fix for this? --Timeshifter 01:00, May 14, 2011 (UTC)


 * JS:

 $(function {$('.gallerytext a').each(function {this.innerHTML = this.title;});});
 * Much easier than I thought it would be. Luckily, the title of each link is the full name of the picture.


 * Monchoman to the rescue! I tested in Special:MyPage/wikia.js (on WoWWiki) and it works! Whats the easiest way to remove the "File:", though? -- Fandyllic (talk &middot; contr) 13 May 2011 6:29 PM Pacific


 * Change  to.