ImageThumbLink


Automatic Thumbnail Link To an Image (and Back)

(See also Cookbook:ImageThumbLink.)

This a proposal for some easy way to quickly create a thumbnail link to a full-sized image, which in turn links back to the originating page.

The idea is to have some simple markup that automatically "thumbnails" the image and creates a link to the current page with e.g. ?action=viewimage&image=<image's_URL> .

When the thumbnail link is clicked, it goes to a page containing the full-sized image, linked back to the normal version of the page. (There should probably be a security check to prevent mischief.)

Proposed syntax:

(:thumb Attach:Test/SomePhoto.jpg:)

--Hagan 2006-01-28

Simple Example: An Image By Itself

Better Example: Images Mixed Among Text

Goldie

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

Nulla facilisi. Suspendisse eu orci vitae nisi porttitor volutpat. Fusce lacus dui, venenatis ut, dignissim in, tempus ac, diam. Quisque tellus. In ultrices tellus vel urna. Vestibulum venenatis, turpis ut congue sagittis, lacus elit dignissim odio, a congue nunc urna sit amet tellus.

Haley

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

Nulla facilisi. Suspendisse eu orci vitae nisi porttitor volutpat. Fusce lacus dui, venenatis ut, dignissim in, tempus ac, diam. Quisque tellus. In ultrices tellus vel urna. Vestibulum venenatis, turpis ut congue sagittis, lacus elit dignissim odio, a congue nunc urna sit amet tellus.

Another Example: A Table-basd Gallery

Goldie

Haley

Goldie

Haley

Goldie

Haley

Another Table-basd Gallery

Haley

Goldie

Goldie is a gold-
colored cat.

Goldie is a gold-
colored cat.

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.04 00.04 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 4: 00.04 00.04 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 5: 00.06 00.06 MarkupToHTML end
 6: 00.07 00.06 MarkupToHTML begin
 7: 00.08 00.07 MarkupToHTML end
 8: 00.08 00.07 MarkupToHTML begin
 9: 00.08 00.08 MarkupToHTML end
10: 00.09 00.08 now
Peak memory: 3,126,456 bytes