aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/img.pm
Commit message (Collapse)AuthorAge
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* img: Support sizes like 200x. Closes: #475149Joey Hess2008-09-09
|
* add plugin safe/rebuild info (part 1 of 2)Joey Hess2008-08-03
| | | | too many plugins.. brain exploding..
* don't show an error if the image is missing, instead, a broken linkJoey Hess2008-07-21
|
* avoid internal error message when img uses just-deleted pageJoey Hess2008-07-21
| | | | | | | | | | | I think this used to be a fatal error, not just inline error, so I don't know why it was never noticed, but if a page that an img directive mentions gets deleted, bestlink() returns a file that no longer exists, and srcfile() throws an error. Note that bestlink's behavior of returning a deleted file could be considered buggy. But, if it's changed to not do that, the page with the img on it is not updated at all when the file is removed.
* switch preprocess hooks to use error functionJoey Hess2008-07-13
|
* convert fatal error to warningJoey Hess2008-07-12
| | | | | Since perlmagick is not a hard dep, and goodstuff is enabled by default, imgs should not crash builds
* Don't generate empty title attributes, etc, and allow setting defaults for ↵Joey Hess2008-06-08
| | | | class and id too.
* img: Support captions.Joey Hess2008-06-07
|
* img: Support a title attribute, will be passed through to html. Closes: #478718Joey Hess2008-04-30
|
* revert destpage part of f7bdc2385Joey Hess2008-03-23
| | | | | | | | destpage does not normally need to be worried about when creating other files as part of the process of rendering a page. Using destpage results in inlined pages creating two copies of such files. It works to not use destpage in this case because the inlining page depends on the source page, so if the source page is modified or deleted the inlining page will be updated.
* * Use forcebaseurl to make page previews be displayed with the html baseJoey Hess2008-03-12
| | | | | | set to the destination page. This avoids need for hacks to munge the urls in preview mode, which fixes several bugs. * Several destpage fixes in plugins.
* optimisation: detect scan mode and avoid generating imageJoey Hess2008-01-09
|
* * img: Allow the link parameter to point to an exterior url.Joey Hess2007-12-28
|
* * img: Avoid nesting images when linking to another image. Closes: #457780Joey Hess2007-12-26
|
* * img: Allow link=somepage to cause the image to link to a given page.joey2007-09-22
| | | | | Slight overriding of link, as link=no is still used to disable the linking entirely. Unless you have a page named "no"..
* * In img tag, allow link=no to disable link to full size image. Thanks,joey2007-07-15
| | | | Nis Martensen. Closes: #433188
* * Corrected a typo in an error handler in the image plugin.joey2007-06-19
|
* * Apply a patch from Carl Worth allowing a class attribute to be passedjoey2007-05-28
| | | | through the img plugin. Also allow the id attribute to be passed through.
* * Deal better with rebuilds that involve moving files; track and clean up thejoey2007-05-24
| | | | | | | | | | old files. * Change where the img plugin puts scaled images. It's better to make the scaled images subpages of the page that embeds them, rather than putting them alongside the original image, since if two pages scale the same image the same way, this prevents complications in dealing with two pages creating the same file. The move will be handled transparently, though you might want to rebuild your wiki to make it occur in one step.
* the 100% correct way is to add it to %links on scanjoey2007-05-23
|
* * Correct bug in the img plugin that caused dependencies on images to notjoey2007-05-23
| | | | always be tracked correctly.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
* * Fix a big in the img plugin that caused thumbnailed files to not bejoey2007-04-01
| | | | tracked properly.
* more i18n improvementsjoey2007-03-07
|
* * Add preview parameter to preprocesser calls, use this rather than thejoey2007-03-06
| | | | | | | | previous ugly hack used to avoid writing rss feeds in previews. * Fix the img plugin to avoid overwriting images in previews. Instead it does all the work to make sure the resizing works, and dummys up a resized image using width and height attributes. * Also fixes img preview display, the links were wrong in preview before.
* * Make img plugin not fail immediately if Image::Magick is not available.joey2007-02-20
| | | | This lets ikiwiki not build depend on perlmagic.
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* * Fix img plugin's handling of adding dependencies for images that do notjoey2006-11-09
| | | | yet exist.
* * Add an img plugin, based on Christian Mock's img plugin, but strippedjoey2006-10-21
down to the bare essentials. Useful for handling large images on websites.