Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2012-04-16 10:45:15

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Not sure if this is covered elsewhere but search doesn’t find anything…I am using v.2.2 happily on one site but after creating a new profile, chose “create / recreate thumbnails” for all images. The counter does its job (more than 1700 images) over a period of time and all looks ok, but the thumbnails don’t seem to be recreated.

There are three profiles in operation on this site. Not sure what the problem is. If I go into an individual image, then click “create” for all sizes, it works ok. Just not on a batch. ?! Wondering if I’m missing something obvious…!

Offline

#170 2012-04-16 11:17:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,448
Website GitHub

Re: smd_thumbnail: manage multiple thumbnails of your images

jstubbs wrote:

If I go into an individual image, then click “create” for all sizes, it works ok. Just not on a batch. ?! Wondering if I’m missing something obvious…!

Not that I can think of. Both actions ultimately run the same code. The only difference being that one runs a bunch of calls via AJAX and the other does the call directly, on a one-off basis.

Are you running 4.4.1? If it’s an SVN installation I could understand it because of the new AJAX plugin restrictions.

Erm, any javascript warnings thrown in the Firebug console? Everything look normal as it runs? *head scratch*


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

#171 2012-04-16 12:17:46

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Mmm. No obvious warnings. I’ve tried the usual suspects – clean the cache, try another browser etc etc. There are more than 1700 images with 18 pages of results. Between pages 9 and 18 all looks ok. Its before page 9 that things look wobbly.

Using 4.4.1.

Offline

#172 2012-04-17 04:45:59

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Is there any difference in the latest beta version of the plugin worth trying Stef?

Offline

#173 2012-04-17 05:21:45

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_thumbnail: manage multiple thumbnails of your images

On my Infomaniak hosting, it is impossible to generate more 50 sets of thumbnails at a time. It is a limitation which is due I think to the scripts execution time, on a shared hosting. Should you not see this side here ?

Offline

#174 2012-04-17 14:22:22

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Stef, it seems to work ok if creating thumbs one page at a time i.e 100 images. Working now! Thanks.

Offline

#175 2012-06-24 13:57:51

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: smd_thumbnail: manage multiple thumbnails of your images

hi,

anybody know what part of php.ini needs tweaking (and addressing by host) if I am getting

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15120 bytes) in \textpattern\lib\class.thumb.php on line 163

when uploading img / generating thumbs?

Thanks,
Mike

Offline

#176 2012-08-30 19:30:40

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

I’m using smd_thumbnail with Flexslider … see this page (under construction so be careful) under Impressie. The following block of code is put into the article:

<div class="flexslider">
  <ul class="slides">
    <li>
      <txp:smd_thumbnail id="17" type="main" />
    </li>
    <li>
      <txp:smd_thumbnail id="18" type="main" />
    </li>
    <li>
      <txp:smd_thumbnail id="19" type="main" />
    </li>
  </ul>
</div>

I can do that … I understand what will happen … but my clients will kill me if they has to code something similar. My question is: is it possible to make a string of code (not so intimidating as above) so my clients only have to submit id’s or a cat? I’m not good at this, so a little help is very appreciated.

[edit]

With some help (@jpdupont) … above impressive piece of code is now reduced to:

<txp:flexslider id="17, 18, 19" type="main" />

… thanks to smd_macros … and my clients will love it … :)

Last edited by RedFox (2012-09-02 20:27:20)

Offline

#177 2012-08-30 20:04:32

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_thumbnail: manage multiple thumbnails of your images

Joop,

I don’t know if it’s you need but I use smd_thumbnails with smd_macro like here

with for my clients a galery generated like this : <txp:fbox category="plage" /> or <txp:fbox id="12,25,56" /> or …

Offline

#178 2012-08-30 20:10:19

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

@jpdupont … sounds good … but I might still need some coding help … :)

Last edited by RedFox (2012-08-30 20:13:56)

Offline

#179 2012-08-30 20:15:57

lonelytraveller
Member
From: Firenze, Italy
Registered: 2008-04-04
Posts: 45

Re: smd_thumbnail: manage multiple thumbnails of your images

I use smd_featured so that my clients only have just to select a “featured” articles, while a few lines of code generate the slider markup. I use a code similar to the one I posted here

Offline

#180 2012-09-11 18:54:04

lithium002
Member
Registered: 2011-04-29
Posts: 25

Re: smd_thumbnail: manage multiple thumbnails of your images

Does this plugin work with the new txp version 4.5? I’m trying to sync my default txp thumbnails to the default profile setup through smd_thumbnail and it doesn’t work. The recreation of thumbnails for all active profiles doesn’t work either. Is there something I’m doing wrong or is this just not compatible anymore? sigh

Offline

Board footer

Powered by FluxBB