Textpattern Forum

You are not logged in. Register | Login | Help

#101 2011-02-08 11:35:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,804
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

tye wrote:

“Create by selection” – I don’t see that using v0.14 – where is it?

D’oh! It’s in v0.20 which I thought I’d released but haven’t. Give me a few minutes…


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#102 2011-02-08 11:45:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,804
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Belatedly released v0.20. Features:

  • Tools / prefs separated from profile list
  • Permitted batch creation via 1) selected images 2) category 3) author (thanks jpdupont)
  • Added smd_thumb_auto_replace option and altered default behaviour (thanks maniqui)
  • Fixed TXP thumbnail creation on thumbnail replace and made prefs global — and only available to site admins (all thanks jstubbs). NOTE: your existing prefs will be lost on upgrade so please visit the tools/prefs to reset them. Sorry, but there’s no other way to be sure the settings are set to their true ‘global’ nature
  • Fixed New Profile button wrapping (thanks jpdupont)

Hope this version helps more people out. Let me know how you get on. jpdupont and others who have betas, please upgrade to this version as I may have fixed a few other niggly little things since you had your copies.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#103 2011-02-08 11:58:13

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 804
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Stef – have you got 4 pairs of hands?

Thanks mate – that totally solves my problem :)

This plugin just got even better :)

Offline

#104 2011-03-01 01:29:03

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,179
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Is there a way to output just the thumbnail url? For now I’m doing

<txp:site_url/>images/slide-show/<txp:image_info type="id"/><txp:image_info type="ext"/>

Where slide-show is the thumbnail profile.


My Plugins

Piwik Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#105 2011-03-02 11:41:43

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

thanks so much for this plugin! it’s excellent, excellent.

Offline

#106 2011-03-28 22:00:34

Pablo Apiolazza
Member
From: Trieste, Italy
Registered: 2011-03-03
Posts: 19
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Hi, I wanted to use this plugin to comply with the (untold) requirements of facebook metadata, but I don’t really know how can i get the full URL of the thumbnail created by the plugin. Can someone help me? I was using this markup so far:

@<txp:upm_article_image><txp:upm_img_full_url /></txp:upm_article_image>

How should it be with the new plugin?

Thanks in advance.

Offline

#107 2011-03-29 01:04:25

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,179
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Pablo, you need to use the new image tags recently added to TXP. If you look at this TXP Tip – specifically the _ portfolio_gallery_ code block you will see how to replace upm_image with native TXP tags.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#108 2011-04-01 21:51:30

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

I am not sure I understand how to integrate this with smd_gallery. For instance, this:

<txp:smd_gallery category="test"><txp:smd_thumbnail type="gallery" /></txp:smd_gallery>

Only produces these errors:

Tag error: <txp:smd_thumbnail type="gallery" /> ->  Textpattern Notice: Unknown image.  on line 1194

But if I do this, it works:

<txp:smd_gallery category="test"><li><img src="/images/gallery/{id}{ext}" alt="{alt}"></li></txp:smd_gallery>

Is this the most efficient way of getting these images? I am basically using the images created from the plugin, but not actually calling the plugin.

Offline

#109 2011-04-02 08:53:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,804
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

kevinpotts wrote:

Tag error: <txp:smd_thumbnail type=“gallery” /> -> Textpattern Notice: Unknown image. on line 1194

smd_gallery doesn’t set the image context like, say, <txp:images /> does, so you need to explicitly tell anything in its container which image to use. Giving smd_thumbnail an id="{id}" is normally the simplest route.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#110 2011-04-10 09:48:22

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 426

Re: smd_thumbnail: manage multiple thumbnails of your images

I don’t know if this is smd_thumbnail related, so I ask the same question on the multiple image upload thread … :

With the standard image upload, smd_thumbnail generate all the active thumbnails for the uploaded image.
Is it possible to do the same (automatic smd_thumbnail creation) with the multiple image upload plugin ?

Offline

Board footer

Powered by FluxBB