Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2010-09-12 17:24:55

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

Why are the dimensions of the thumbnail important/relevant enough to be saved to the dB?

Last edited by TheEric (2010-09-12 17:37:33)

Offline

#146 2010-09-12 20:14:06

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

TheEric wrote:

Why are the dimensions of the thumbnail important/relevant enough to be saved to the dB?

Because thumbnail dimensions could be used, for example, to ouput in html – it’s used by <txp:thumbnail /> and other methods (i use them via smd_gallery)

Here it code of thumbnail() function

P.S. This topic name is v.1 but your site’s version of plugin is v.2


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#147 2010-09-24 08:12:57

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

I got the following error when trying to resize an image of less than 1MB:

<br />
<b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 17152 bytes) in <b>/home/public_html/textpattern/lib/txplib_misc.php(594) : eval()’d code</b> on line <b>779</b><br />

Any ideas?


Regards,

Joey

Offline

#148 2010-09-24 08:31:34

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

What are image dimensions?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#149 2010-09-24 08:37:52

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

2000 width in this specific case, but anything larger gives me exactly the same.

Thanks


Regards,

Joey

Offline

#150 2010-09-24 13:37:32

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

What about smaller?

Offline

#151 2010-09-24 13:41:38

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

Small works, but I don’t know the exact size limit.


Regards,

Joey

Offline

#152 2011-02-01 20:11:59

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

Upon first uploading an image the image edit controls do not appear. You need to go back to the Images tab and click the image again to be able ot edit it.

I know this has been mentioned a few times.

Has anyone ever found a solution?

Offline

#153 2011-02-02 00:57:08

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

Hmm.. I suppose something could be done about that.

Offline

#154 2011-02-02 19:19:16

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

It’s nothing major, but it puzzles users.

Offline

#155 2011-02-03 15:18:29

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

Hi eric,

How about a maintennance update that includes:

  1. database dimensions for thumbs
  2. png and gif transparency for thumbs on resize
  3. a sandwich

Offline

#156 2011-02-03 15:40:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] ebl_image_edit v1.0

3a. A sandwich that integrates with smd_thumbnail

:)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB