Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Offline
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
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
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 :)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
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
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