[pmwiki-users] Images
Eemeli Aro
eemeli at gmail.com
Wed Dec 12 04:14:12 CST 2007
On Dec 12, 2007 11:42 AM, Mark Trumpold <mtrumpold at cacegypt.org> wrote:
> I have been trying to make an ...
> attach:/folder/img.jpg a small thumbnail image that you click on that takes
> you to a new page with a large image.
If you have a separate thumbnail image, do as Hans suggests. If you
want to resize the image in the browser, the following works:
%width=100px%[[Attach:Group/img.jpg|Attach:Group/img.jpg]]%%
Which assumes that you've got img.jpg in the uploads directory for
Group. If it's in a different folder on the server, use the following:
%width=100px%[[Path:/url/path/to/img.jpg|Path:/url/path/to/img.jpg]]%%
In both of these, img.jpg will be resized on the page to be 100px wide
& as the height isn't defined, it'll be scaled by the same amount, and
it'll act as a link to the full-size image.
eemeli
More information about the pmwiki-users
mailing list