Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-01-18 06:12:49

code365
Member
From: California
Registered: 2009-08-16
Posts: 117

Smd Thumbnail

I installed fresh copied of TXP on (Windows) my computer. I uploaded my theme with no problem. I added two plugins 1st comm_connect and 2nd smd_thumbnail installed fine, no errors. Once, I load an image then create smd_thumbnail image it throws error message every time I press the button. Everything works fine on the Mac but not Windows. I do not know where to start.

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in D:\websites\txp_dev\txp-extreme\textpattern\lib\class.thumb.php:302 Stack trace: #0 D:\websites\txp_dev\txp-extreme\textpattern\plugins\smd_thumbnail\smd_thumbnail.php(414): wet_thumb->write('D:\\websites\\txp...', 'D:\\websites\\txp...') #1 D:\websites\txp_dev\txp-extreme\textpattern\plugins\smd_thumbnail\smd_thumbnail.php(466): smd_thumb->write_image() #2 D:\websites\txp_dev\txp-extreme\textpattern\plugins\smd_thumbnail\smd_thumbnail.php(654): smd_thumb_make(Array, Array, 1) #3 D:\websites\txp_dev\txp-extreme\textpattern\lib\txplib_misc.php(1589): smd_thumb_edit('image_ui', 'thumbnail_edit', '\n<form class="u...', Array) #4 D:\websites\txp_dev\txp-extreme\textpattern\lib\txplib_admin.php(788): callback_event('image_ui', 'thumbnail_edit', 0, '\n<form class="u...', Array) #5 D:\websites\txp_dev\txp-extreme\textpattern\include\txp_image.php(656): pluggable_ui('image_ui', 'thumbnail_edit', '\n<form class="u...', Array) #6 D:\websites\txp_dev\txp-extreme\textpattern\include\txp_image.php(64): image_edit() #7 D:\websites\txp_dev\txp-extreme\textpattern\index.php(228): include('D:\\websites\\txp...') #8 {main} thrown in D:\websites\txp_dev\txp-extreme\textpattern\lib\class.thumb.php on line 302

Offline

#2 2022-01-18 08:12:46

etc
Developer
Registered: 2010-11-11
Posts: 5,167
Website GitHub

Re: Smd Thumbnail

What the diagnostics says, is GD extension enabled?

Offline

#3 2022-01-18 12:51:34

code365
Member
From: California
Registered: 2009-08-16
Posts: 117

Re: Smd Thumbnail

It says Unavailable.

Offline

#4 2022-01-18 13:09:03

code365
Member
From: California
Registered: 2009-08-16
Posts: 117

Re: Smd Thumbnail

Thank you for your help.
I needed to enable the GD extension on the php.ini file.
Their was nothing wrong with the plugin.

Last edited by code365 (2022-01-18 15:41:40)

Offline

Board footer

Powered by FluxBB