Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#289 2015-04-06 21:06:09

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: smd_thumbnail: manage multiple thumbnails of your images

ploinkr wrote #289789:

Which version should I use for a site running 4.3.0?

For severe security reasons you should NOT[!] run 4.3.0! Use at least 4.4.1, IIRC nothing will break, admin side. Most secure is using the current version, though (4.5.7, some manual puttying required should you have a customized back-end).

That said, compare these two lists wisely in order to find the correct versions:

TXP release dates smd_thumbnail release dates


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#290 2015-04-07 01:57:51

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: smd_thumbnail: manage multiple thumbnails of your images

Thank you @uli, I will look into that!!

Offline

#291 2015-04-17 08:41:33

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

Re: smd_thumbnail: manage multiple thumbnails of your images

This post has something to do with <txp:smd_thumbnail> … is it a known issue with this plugin?

Last edited by RedFox (2015-04-17 08:41:51)

Offline

#292 2015-04-17 09:12:03

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

Re: smd_thumbnail: manage multiple thumbnails of your images

RedFox wrote #290060:

This post has something to do with <txp:smd_thumbnail> … is it a known issue with this plugin?

Not a known issue, no. Might be an as-yet-unknown issue though ;-)

PHP’s safe mode plays havoc with all sorts of things, not least of which is file access permissions. Can you check the permissions on the directories that correspond to your thumbnail profiles names in the /images directory (large, etc)? Do they have the same permissions and owners as the images directory itself? If not, can you manually alter them to match? That’d be my first port of call.


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

#293 2015-04-17 10:29:34

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

Re: smd_thumbnail: manage multiple thumbnails of your images

Bloke wrote #290066:

If not, can you manually alter them to match? That’d be my first port of call.

Nope … all 777 … same results. I’ve mailed the host … no answer yet.

Last edited by RedFox (2015-04-17 10:29:49)

Offline

#294 2015-04-17 10:46:23

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

Re: smd_thumbnail: manage multiple thumbnails of your images

RedFox wrote #290068:

Nope … all 777 …

What about owner/group?


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

#295 2015-04-17 11:24:40

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

Re: smd_thumbnail: manage multiple thumbnails of your images

In the meantime another puzzle …

Is it posible to make <txp:smd_thumbnail> work with <txp:if_article_image>?

Form:

<article>
<txp:if_article_image><txp:smd_thumbnail type="small" id="2" /></txp:if_article_image>
<h1><txp:title /></h1>
<txp:excerpt />
</article>

With a specific ID it does. The question is of course: is there a way to insert a global (article_)image ID into the smd_thumbnail id?

Last edited by RedFox (2015-04-17 11:25:44)

Offline

#296 2015-04-17 11:43:01

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

Re: smd_thumbnail: manage multiple thumbnails of your images

Bloke wrote #290069:

What about owner/group?

I did check everything more thoroughly but I seems that I can’t change the permissions of the folders ‘large’ and ‘small’ … it looks like it can be done but when I ‘refresh’ Transmit the permissions are back to 755. And changing the root folder (images) to 755 will give Txp no access at all.

Last edited by RedFox (2015-04-17 11:43:57)

Offline

#297 2015-04-17 16:00:05

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

Re: smd_thumbnail: manage multiple thumbnails of your images

RedFox wrote #290071:

In the meantime another puzzle …

Is it posible to make <txp:smd_thumbnail> work with <txp:if_article_image>?

The <txp:custom_field name="article_image"/> trick could help.


My Plugins

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

Offline

#298 2015-04-17 18:50:35

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

Re: smd_thumbnail: manage multiple thumbnails of your images

Bloke wrote #290066:

PHP’s safe mode plays havoc with all sorts of things, not least of which is file access permissions.

Ruud helped me out to point me to the server admin where I could disable safe_mode … :)

Last edited by RedFox (2015-04-17 18:50:54)

Offline

#299 2015-04-17 18:58:41

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

Re: smd_thumbnail: manage multiple thumbnails of your images

MattD wrote #290081:

The <txp:custom_field name="article_image"/> trick could help.

It does … :)

<txp:if_article_image><txp:smd_thumbnail type="small" id='<txp:custom_field name="article_image"/>' /></txp:if_article_image>

I didn’t knew that article_image had anything to do with a custum_field … thanks MattD.

Last edited by RedFox (2015-04-17 19:00:57)

Offline

#300 2015-04-17 19:08:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: smd_thumbnail: manage multiple thumbnails of your images

RedFox wrote #290097:

I didn’t knew that article_image had anything to do with a custum_field … thanks MattD.

A hidden bug feature.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB