Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Auto Thickbox


The Auto Thickbox plugin for WordPress automatically enables thickbox on thumbnail images (i.e. opens the images in a fancy pop-up), through the use of WordPress’ built-in thickbox library.

In the event you’d like to override this for an individual image, you can disable the behavior by adding the ’nothickbox’ class to its anchor tag.

Thickbox Galleries

By default, the auto thickbox plugin will bind all images within a post into a single thickbox gallery. That is, next image and previous image links will appear so you can navigate from an image to the next.

The behavior is particularly interesting when you create galleries using WordPress’ image uploader. Have the images link to the image file rather than the attachment’s post, and you’re done.

On occasion, you’ll want to split a subset of images into a separate gallery. Auto Thickbox lets you do this as well: add an identical rel attribute to each anchor you’d like to group, and you’re done.

(Note: To set the rel attribute using WordPress’ image uploader, start by inserting the image into your post. Then, edit that image, browse its advanced settings, and set ”Link Rel” in the Advanced Link Attributes.)

Thickbox Anything

Note that thickbox works on any link, not merely image links. To enable thickbox on an arbitrary link, set that link’s class to thickbox.

No thickbox

In the event you want to disable thickbox on some links to images, assign it a nothickbox class.

Keyboard support

Thickbox supports the following keys:
– Next Image: Greater Than (>) or Left Arrow
– Previous Image: Less Than (<) or Right Arrow
– First Image: Home
– Last Image: End
– Close Popup: Esc or Enter/Return

Hat Translators

  • German: hakre
  • Portuguese/Brazil: Henrique Schiavo

Help Me!

The Plugin’s Forum is the best place to report issues.


  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress

Vanliga frågor

Installation Instructions
  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress


3 september 2016
I consult, setup, secure and manage WordPress websites for a living. I discovered auto-thickbox many years ago and since it (more or less) accessed the existing thickbox scripts in WordPress it avoided unnecessary bloat! Flat out though.. it works! I'm still perplexed why WordPress doesn't integrate thickbox to make it automatically accessible for us. Till then there's auto-thickbox! THANKS!
Läs alla 6 betyg

Bidragsgivare och utvecklare

”Auto Thickbox” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Auto Thickbox” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”Auto Thickbox” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.



  • Incorporate WP core fix #30376 –
  • Further link parsing changes for performance sake. 3.4 version had a few issues on long content
  • WP 4.3 compat
  • Tested against PHP 5.6


  • Tweak to handle image paired with link classes better.


  • Additional tweak to benefit performance


  • Fix some performance issues in the link parsing. New algorithm used.
  • Incorporate WP core fix #29346 – Disable background page scrolling when modals are open.


  • Set default thickbox javascript parameters as fallback to avoid error
  • WP 4.0 compat


  • Remove html comments used for some troubleshooting
  • changed hook priorities


  • Additional tweak to global callback processing


  • Fix Thickbox pop failing to show with some caching plugins that concat javascript files.
  • Use own custom version of the anchor_utils class


  • Handle nested parenthesis in javascript event attributes on links and images


  • Fix handling of the #TB_Inline attribute used for popping up forms in iframes. (props to the Auto Thickbox Plus plugin)
  • Use more full proof WP version check to alter plugin behavior instead of relying on $wp_version constant.


  • Fix broken translations


  • Added new keyboard support: Left arrow, right arrow, home, end
  • Next and Prev don’t always advance correctly with Thickbox.js 3.1. Plugin now has own custom thickbox.js.
  • WP 3.9 eliminated some of the default thickbox styling. Plugin now has own custom thickbox styling
  • Changed ordering of Prev, Next and Image of
  • Photo title is now centered.
  • Now support .bmp image extensions
  • Custom thickbox.js uses a minified version for better performance.
  • WP 3.9 compat
  • Code refactoring


  • WP 3.8 compat


  • Further updates to the link attribute parsing code
  • Fixed bug where img was not processed if it was preceded by an empty text anchor link.


  • WP 3.7 compat
  • New link attribute parsing code to handle various image link configurations.


  • WP 3.6 compat
  • PHP 5.4 compat
  • Fixed issue with parsing of links with non-standard (class, href, rel, target) attributes included in the tag. This caused Twitter Widgets to break.
  • Fixed issue with images containing onLoad (or other javascript event) attributes with embedded javascript code possibly corrupting js code


  • Removed Auto Thickbox Plus fixes applied in previous version. Seemed to cause issue on some site upgrades


  • WP 3.5 compat
  • Backport bug fixes from Auto Thickbox Plus


  • Fix conflict with wp cron.
  • Use esc_url() / Require WP 2.8.


  • Actually load the text domain for i18n support…


  • Restore the nothickbox functionality
  • German and Brazilian Translation (requires WP 2.9 for the js part)
  • Force a higher pcre.backtrack_limit and pcre.recursion_limit to avoid blank screens on large posts


  • Full iFrame support
  • Code enhancements and optimizations
  • Localization support