Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 284
Total: 284

Author Topic: [2.5] Rotating Image  (Read 7740 times)

0 Members and 1 Guest are viewing this topic.

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
[2.5] Rotating Image
« on: July 13, 2009, 01:57:56 am »
Hello,

Thanks for the update!

I found 2 other errors which are maybe a bug?

Rotate existing Image by xx degrees
When I try to rotate an existing image I get this error:
Code: [Select]
Fatal error: Call to undefined function imagerotate() in /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Sources/Gallery2.php on line 7794

Vincent
« Last Edit: July 23, 2009, 01:58:22 am by Vincent Volmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #1 on: July 13, 2009, 08:01:26 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #2 on: July 13, 2009, 08:22:39 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)

Hmmmm phpinfo says:

Code: [Select]
PHP Version 5.2.6-1+lenny3

gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

1) How can I check if imagerotate is enabled. I can't find it in phpinfo
2) Or how can I disable rotating in the Gallery because our users don't need it.

Thanks
Vincent

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #3 on: July 13, 2009, 11:55:05 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)

I asked my host. Just waiting for the answer from them now.

Vincent

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #4 on: July 13, 2009, 01:03:10 pm »
Yeah really strange. Searched on google. It seems some versions of php5 use a different gd libation that may ore may not have the function
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #5 on: July 20, 2009, 06:05:54 am »

Thanks for the RC1!!

The answer from my host:

Because of a security reason the imagerotate function isn't present in the Debian distribution. My host is using Debian.
So, can i disable the rotate function somehow in SMFGallery?

Thanks Vincent



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #6 on: July 20, 2009, 07:51:05 am »
Bah ok I can add a check on that page.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #7 on: July 20, 2009, 07:12:29 pm »
Fixed for final release to not appear if you do not have the imagerotate function.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #8 on: July 21, 2009, 01:40:13 am »
Fixed for final release to not appear if you do not have the imagerotate function.

Thank you!

Vincent

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: [2.5] Rotating Image
« Reply #9 on: July 23, 2009, 01:58:03 am »
Fixed for final release to not appear if you do not have the imagerotate function.

Great!
Only when a member adds an new image he still has the possibility to rotate. And when he tries to rotate.....:

Code: [Select]
Fatal error: Call to undefined function imagerotate() in /shared/usr/wzen123456/DOMAIN/www.digiscrap.nl/HTML/Sources/Gallery2.php on line 7905
When a member tries to edit the image the rotate option isn't present. This is correct.

Vincent
« Last Edit: July 23, 2009, 02:02:58 am by Vincent Volmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [2.5] Rotating Image
« Reply #10 on: July 23, 2009, 07:42:15 pm »
Fixed for 2.5.1
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
7405 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
0 Replies
3812 Views
Last post December 24, 2007, 02:51:54 pm
by dry3210
3 Replies
6124 Views
Last post February 19, 2008, 08:25:28 pm
by SMFHacks
2 Replies
3040 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
7 Replies
2673 Views
Last post August 05, 2019, 04:26:57 pm
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Powered by EzPortal