Recent Changes - Search:

PmWiki

pmwiki.org

Images-Talk

Adjacent Images

hi
i'd like to have two different images sitting right next to each, touching, with no space in between,
but with the basic Attach: markup, i only seem to be able to get it to work if there's a single space.

for instance, this works:
Attach:{$Group}./img1.jpg Attach:{$Group}./img2.jpg

but this doesn't:
Attach:{$Group}./img1.jpgAttach:{$Group}./img2.jpg

nor this:

Attach:{$Group}./img1.jpg\
Attach:{$Group}./img2.jpg

is there some way to achieve this with the Attach: markup?
thanks!
overtones99 March 27, 2011, at 06:31 PM

One way is to set a "tooltip title" after the first picture. The other is to place them in a table with border, cellpadding and cellspacing set to 0. See Test.AdjacentImages --Petko March 27, 2011, at 07:29 PM

The following markup doesn't seem to work as advertised. Instead of displaying the image, it merely displays a link:

[[http://example.com|Attach:Groupname./image.jpeg]].

Attach:Groupname./image.jpeg.

I want to be able to use an attached image as a link to a larger version of the image. How can I do this? tamouse September 15, 2010, at 04:13 PM

Attachments are not enabled for the PmWiki group. Have a look at Test.ImageThumbLink or try the following in Main.Wiki sandbox which is enabled for attachments:

%thumb%[[Test/ImageThumbLink-Img1|Attach:Test./HaleyDog.jpg]]%% -- SchreyP September 15, 2010, at 05:04 PM

Why doesn't the pct specification work in conjunction with lfloat and rfloat?

%rfloat width=10pct% http://pmichaud.com/img/misc/bubble.jpg"rfloat width
10%" 
%width=10pct% http://pmichaud.com/img/misc/bubble.jpg"width 10%"
[[<<]]
%lfloat height=20pct% http://pmichaud.com/img/misc/bubble.jpg"lfloat
height 20%" 
%height=20pct% http://pmichaud.com/img/misc/bubble.jpg"height 20%"
[[<<]]
%width=10pct rfloat% http://pmichaud.com/img/misc/bubble.jpg"width 10%
rfloat" 
%height=20pct lfloat% http://pmichaud.com/img/misc/bubble.jpg"height 20%
lfloat" 
rfloat width 10%
width 10%
lfloat height 20%
height 20%
width 10% rfloat
height 20% lfloat

How can I put a table of captioned images within a numbered list? I cannot use a simple table, because images cannot (apparently) have captions within a simple table (Example 1). I cannot seem to use the table directives, because I cannot get them to work within a list without ending the list and causing subsequent numbering to restart (Example 2).

Table directives must start in column 1

Example 1

# First item
## First subitem
   || border=0 align=center
   ||
http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 1''' ||
%width=50pct%http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 2''' ||
## Second subitem
# Second item
  1. First item
    1. First subitem
      Paper clips | Figure 1Paper clips | Figure 2
    2. Second subitem
  2. Second item
Note caption (signified by bar) is not recognised, and an erroneous bar is displayed

Example 2

# First item
## First subitem
(:table border=0 align=center
margin-left:4em :)
(:cellnr:)
http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 1'''
(:cell:)
%width=50pct%http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 2'''
(:tableend:)
## Second subitem
(:table border=0 align=center
padding-left:4em :)
(:cellnr:)
http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 1'''
(:cell:)
%width=50pct%http://pmichaud.com/img/misc/pc.jpg"Paper
clips" | '''Figure 2'''
(:tableend:)
# Second item
  1. First item
    1. First subitem
Paper clips
Figure 1
Paper clips
Figure 2
  1. Second subitem
Paper clips
Figure 1
Paper clips
Figure 2
  1. Second item
Use styles for indentation, you will have to resume the numbering, see Wiki styles

Not good enough

# First item
## First subitem
   || border=0 align=center
   ||
http://pmichaud.com/img/misc/pc.jpg"Paper
clips"[[<<]]'''Figure 1''' ||
%width=50pct%http://pmichaud.com/img/misc/pc.jpg"Paper
clips"[[<<]]'''Figure 2''' ||
## Second subitem
# Second item
  1. First item
    1. First subitem
      Paper clips
      Figure 1
      Paper clips
      Figure 2
    2. Second subitem
  2. Second item

If I use border instead of text-decoration for defining my link styles in the CSS (e.g. let's say I want to use a dotted line or a different thickness to show the link), I find that my image links also get this decoration, even if I also define a corresponding "a img" style with that decoration disabled. What am I missing? I notice when I examine the resulting page that there is a gap between the image and the border, which does not seem to be part of the "a img" class but is only "a".

Make sure you add the "a img" style after the "a" definition.

Vertical Alignment (such as in tables, i.e. valign)
- Fill in details here...

Unable to upload images? If you get messages telling you that the upload was not able to complete for some reason, here's something to check. If your web host has your web site

http://www.website.com

with username

username

the system path (not http) to your website could be at

/home/users/~username/public_html

If you have your wiki installed at what you think is the system's root directory

/pmwiki

your system's path to the wiki uploads directory might actually be

/home/users/~username/public_html/pmwiki/uploads

instead of the simpler

/pmwiki/uploads

That's how I was able to get mine -> mailto:ispinn%20aatt%20gmail%20ddoott%20com working.

This is a talk page for improving PmWiki.Images.

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:08 AM