Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#157 2012-03-05 22:56:48
Re: smd_thumbnail: manage multiple thumbnails of your images
Hi, do you mean the HTML in the form?
Offline
#158 2012-03-05 23:02:55
Re: smd_thumbnail: manage multiple thumbnails of your images
Yes, witch is the Textpattern code where you put smd:thumbnail tag?
Offline
#159 2012-03-05 23:23:30
Re: smd_thumbnail: manage multiple thumbnails of your images
Here it goes:
<div class="body-news">
<div style="float: left; width: 600;"><h1><txp:title /></h1></div>
<div style="float: right" class="blog-right-heading"><p class="header">About</p></div>
<div class="body-news-main">
<div class="sub-title"><txp:category1 link="1" title="1" section="blog" /> <span class="color-lightgreen">|</span>
<span class="color-verylightgreen"><txp:posted format="%b %d, %Y" /></span> <span class="color-lightgreen">|
</span> <span class="color-verylightgreen"><txp:author link="0" /></span></div>
<div class="news-item">
<div class="holder">
<div id="pane2" class="scroll-pane">
<strong><txp:excerpt /></strong>
<txp:smd_thumbnail />
<txp:body />
</div>
</div>
</div>
</div>
<div class="blog-extra">
<txp:output_form form="v1.code.blog.about"/>
<br />
<div class="blog-right-heading"><p class="header">categories</p></div>
<txp:category_list break="" wraptag="" parent="blog" exclude="blog">
<p><txp:category title="1" link="1" /></p>
</txp:category_list>
<br />
</div>
Grazie :)
Offline
#160 2012-03-05 23:46:09
Re: smd_thumbnail: manage multiple thumbnails of your images
Same question! Answered here and next!
smd:thumbnail doesn’t accept article_image native. You’ve got to hard code it!
Offline
#161 2012-03-06 03:02:33
Re: smd_thumbnail: manage multiple thumbnails of your images
That worked – thanks!
I should have fgured it out as I’ve used the plugin before.
I’ve hardcoded the ID using smd_macro (another awesome ‘smd’ plugin) :)
Offline
#162 2012-03-07 21:29:36
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: smd_thumbnail: manage multiple thumbnails of your images
On a new site, I have this problem :
- Creating thumbnails from the image window work without problem
- Batch creating thumbnails from the tools/prefs tab don’t work. When I click on create, the counter give the max number of images to transform, and it’s all …
I don’t understand why the app give differents permissions for 3 types of thumbnails created at the same time :
- rwx—S—- (type = carre_100)
- rwxr-s-r-x (type = largeur_350 and largeur_570)
smd_thumbnail 0.22 and TXP 4.4.1 (r3673)
Offline
#163 2012-03-08 13:13:25
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: smd_thumbnail: manage multiple thumbnails of your images
It works if I go back to a revision before the AJAX changes.
It seems that some plugins will cause problems with the release of TXP 4.5
Offline
#164 2012-03-08 14:59:50
Re: smd_thumbnail: manage multiple thumbnails of your images
jpdupont wrote:
It works if I go back to a revision before the AJAX changes.
Yes, the plugin uses AJAX to do that bit, and Txp 4.5.0 will require the plugin’s type to change from 1 to type 5 to support that. Of course without the new version of Plugin Composer that I’m running, you won’t be able to do that from the Textpattern interface.
You will have to go into phpMyAdmin and change the plugin’s type column to 5 and it’ll work again.
It’s going to cause a bit of headache for plugins like this because the next version of the plugin won’t have any functional changes but will just have a different ‘type’ and people who expect the plugin to work in 4.4.1 and below may not be able to run the new version because 4.4.1 doesn’t know what a type 5 plugin is. Quite what it’ll do when it encounters a new plugin type is unclear. It might refuse to run at all or might just assume it’s type 0 (public only) which’ll probably break things for any admin side plugins.
Last edited by Bloke (2012-03-08 15:03:35)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#165 2012-03-08 15:05:07
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: smd_thumbnail: manage multiple thumbnails of your images
Thanks Stef, I will try this in phpMyAdmin.
Offline
#166 2012-03-08 16:11:38
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: smd_thumbnail: manage multiple thumbnails of your images
if I modify the type to 5 with the TXP revision before AJAX, the plugin disappears … Normal ?
Offline
#167 2012-03-08 17:18:15
Re: smd_thumbnail: manage multiple thumbnails of your images
jpdupont wrote:
if I modify the type to 5 with the TXP revision before AJAX, the plugin disappears … Normal ?
I guess Txp simply doesn’t know whether to load it because it doesn’t match 0, 1, 2, or 3, so it just doesn’t bother. At least we know what happens now, thanks for testing!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#168 2012-03-27 22:52:08
Re: smd_thumbnail: manage multiple thumbnails of your images
Using v0.23 beta,
1.
If I had set that I want to create the thumbs from the default-txp-thumbnail, then why is it still hiding the default-txp-thumbnail from view?
will this plugin someday be play as an extra thumbs instead of replacing the regular default-txp-thumbnail please?
2.
I just can’t see any website really using this plugin that hides the thumbnails from the main images-tab,
I mean who’s really using images-names?
And because I’m using ebl-image-edit
and jbx_multiple_image_upload
then I do have a thumbnail created by default when uploading a new image or editing with ebl-image-edit.
I have solved that by comment out line #100.
return gTxt('no');
Offline