Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-02 13:27:34

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Kind of a dumb question regarding images

OK, I have uploaded an image via the TXP interface and made a thumbnail of it.Now i want to use <code><txp:image /></code> style to insert it into my article, but i would like to display it’s thumbnail which is linked to the bigger image, and add a specific css class to that thumbnail. is it possible?

Offline

#2 2005-11-02 13:38:30

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Kind of a dumb question regarding images

Displaying just the image or thumbnail can be done with image, thumbnail. But since you want them linked, and so on, you probably want to use my plugin.

Offline

#3 2005-11-02 15:00:11

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: Kind of a dumb question regarding images

wow, cool thing, i think i’ll use it. it seems to work on Textpattern 4.0.1 r1058 as well

Offline

#4 2005-11-03 22:24:24

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: Kind of a dumb question regarding images

hey man, the plugin is really usable, but unfortunately I can’t figure out how can i make it output a thumbnail that is linked to the image :( (or is it possible only in the form of a popup?)

Offline

#5 2005-11-03 23:41:49

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Kind of a dumb question regarding images

Dragan,

Have you tried zem_article_image it works wonders for me at artiswork (keep in mind the site is under construction :)


Offline

#6 2005-11-04 01:16:22

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Kind of a dumb question regarding images

Dragan, if all you want is to place thumbnail images into your articles which link to a larger image version whenever required try using something like this:-

<code>
p=. <txp:thumbnail id=“658t” poplink=“1” alt=“txp reflection post” /></code>
<br />

That code will create a centred paragraph containing the thumbnail which will be linked to a “pop-up” of the larger image. If you want to style the thumbnail try something like p(imgRight) or p(imgLeft) and style the .imgRight and .imgLeft classes in your CSS with “float: left/right;”. Remember that this styles the paragraph not the thumbnail. For that you would need to style .imgRight img or .imgLeft img

Please note that no plug-ins were harmed in the creation of this code.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#7 2005-11-04 01:41:43

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Kind of a dumb question regarding images

Dragan wrote:
hey man, the plugin is really usable, but unfortunately I can’t figure out how can i make it output a thumbnail that is linked to the image :( (or is it possible only in the form of a popup?)

<txp:upm_image type="thumbnail" url="/path/to/full-size/image/" /> Or you could build a custom form to call a page that displays the full size image. <upm_image> is fantastic. It’s really what <txp:image /> should be like.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB